mov-cli: unstable-2022-06-30 -> 1.5.4
Add mpv dependency, and more dependencies.
This commit is contained in:
@@ -1,24 +1,34 @@
|
||||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
, mpv
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonPackage rec {
|
||||
pname = "mov-cli";
|
||||
version = "unstable-2022-06-30";
|
||||
version = "1.5.4";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mov-cli";
|
||||
repo = "mov-cli";
|
||||
rev = "b89e807e8ffc830b0b18c8e98712441c03774b8e";
|
||||
sha256 = "sha256-D+OeXcLdkbG4ASbPQYIWf7J1CRZ9jH3UXxfTL4WleY0=";
|
||||
rev = version;
|
||||
sha256 = "sha256-WhoP4FcoO9+O9rfpC3oDQkVIpVOqxfdLRygHgf1O01g=";
|
||||
};
|
||||
makeWrapperArgs = [
|
||||
"--prefix" "PATH" ":" "${lib.getBin mpv}/bin"
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [ setuptools httpx click beautifulsoup4 colorama ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace "bs4" "beautifulsoup4"
|
||||
'';
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
krfzf-py
|
||||
pycrypto
|
||||
setuptools
|
||||
httpx
|
||||
click
|
||||
beautifulsoup4
|
||||
colorama
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/mov-cli/mov-cli";
|
||||
|
||||
Reference in New Issue
Block a user