diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-09-02 12:04:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 12:04:41 +0200 |
commit | 5eee52595c21a20aabe2f87862a13d8d4b2983d8 (patch) | |
tree | ac1bbd4af8f027079f3208bd96d53ab02ac8dd37 /pkgs/applications/video | |
parent | 7ec903a35a9fb02c21fe5d469bd6a82c27d551d9 (diff) | |
parent | 3ba8ce573af292229589a9f14f5e8bfb01c23146 (diff) |
Merge pull request #189195 from Baitinq/mov_cli
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/mov-cli/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/applications/video/mov-cli/default.nix b/pkgs/applications/video/mov-cli/default.nix new file mode 100644 index 0000000000000..35789cb395f38 --- /dev/null +++ b/pkgs/applications/video/mov-cli/default.nix @@ -0,0 +1,29 @@ +{ lib +, python3 +, fetchFromGitHub +}: + +python3.pkgs.buildPythonPackage rec { + pname = "mov-cli"; + version = "unstable-2022-06-30"; + + src = fetchFromGitHub { + owner = "mov-cli"; + repo = "mov-cli"; + rev = "b89e807e8ffc830b0b18c8e98712441c03774b8e"; + sha256 = "sha256-D+OeXcLdkbG4ASbPQYIWf7J1CRZ9jH3UXxfTL4WleY0="; + }; + + propagatedBuildInputs = with python3.pkgs; [ setuptools httpx click beautifulsoup4 colorama ]; + + postPatch = '' + substituteInPlace setup.py --replace "bs4" "beautifulsoup4" + ''; + + meta = with lib; { + homepage = "https://github.com/mov-cli/mov-cli"; + description = "A cli tool to browse and watch movies"; + license = licenses.gpl3Only; + maintainers = with maintainers; [ baitinq ]; + }; +} |