diff options
author | Doron Behar <doron.behar@gmail.com> | 2023-10-09 23:14:19 +0300 |
---|---|---|
committer | Doron Behar <doron.behar@gmail.com> | 2023-10-27 09:38:48 +0300 |
commit | a62003e729fa81ad3f9ff84d8929cb99d8b72f6e (patch) | |
tree | bcf4877ee88ecbc339a027c91844e7ae8450b6e8 /pkgs | |
parent | 292a1850725e3b8083fde4df14a08f3a542f3338 (diff) |
mov-cli: unstable-2022-06-30 -> 1.5.4
Add mpv dependency, and more dependencies.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/video/mov-cli/default.nix | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/pkgs/applications/video/mov-cli/default.nix b/pkgs/applications/video/mov-cli/default.nix index 35789cb395f38..23954a05c5aae 100644 --- a/pkgs/applications/video/mov-cli/default.nix +++ b/pkgs/applications/video/mov-cli/default.nix @@ -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"; |