mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
mov-cli: init at unstable-2022-06-30
This commit is contained in:
parent
034175e4be
commit
3ba8ce573a
2 changed files with 31 additions and 0 deletions
29
pkgs/applications/video/mov-cli/default.nix
Normal file
29
pkgs/applications/video/mov-cli/default.nix
Normal file
|
@ -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 ];
|
||||
};
|
||||
}
|
|
@ -230,6 +230,8 @@ with pkgs;
|
|||
python3 = python39;
|
||||
};
|
||||
|
||||
mov-cli = callPackage ../applications/video/mov-cli { };
|
||||
|
||||
ani-cli = callPackage ../applications/video/ani-cli { };
|
||||
|
||||
anime-downloader = callPackage ../applications/video/anime-downloader { };
|
||||
|
|
Loading…
Reference in a new issue