2023-11-03 07:25:58 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
python3Packages,
|
|
|
|
fetchFromGitHub,
|
|
|
|
fetchPypi,
|
2023-11-03 09:27:04 +00:00
|
|
|
pins,
|
|
|
|
}: let
|
|
|
|
pin = pins.mov-cli;
|
|
|
|
in
|
|
|
|
python3Packages.buildPythonPackage {
|
|
|
|
format = "pyproject";
|
|
|
|
pname = "mov-cli";
|
|
|
|
inherit (pin) version;
|
2023-11-03 07:25:58 +00:00
|
|
|
|
2023-11-03 09:27:04 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit (pin.repository) owner repo;
|
|
|
|
sha256 = pin.hash;
|
|
|
|
rev = pin.revision;
|
|
|
|
};
|
2023-11-03 07:25:58 +00:00
|
|
|
|
2023-11-03 09:27:04 +00:00
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
poetry-core
|
|
|
|
pycryptodome
|
|
|
|
lxml
|
|
|
|
six
|
|
|
|
beautifulsoup4
|
|
|
|
tldextract
|
|
|
|
(python3Packages.httpx.overrideAttrs (_old: {
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "encode";
|
|
|
|
repo = "httpx";
|
|
|
|
rev = "refs/tags/0.24.0";
|
|
|
|
hash = "sha256-eLCqmYKfBZXCQvFFh5kGoO91rtsvjbydZhPNtjL3Zaw=";
|
2023-11-03 07:25:58 +00:00
|
|
|
};
|
2023-11-03 09:27:04 +00:00
|
|
|
}))
|
|
|
|
(
|
|
|
|
python3Packages.buildPythonPackage rec {
|
|
|
|
pname = "krfzf_py";
|
|
|
|
version = "0.0.4";
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "sha256-W0wpR1/HRrtYC3vqEwh+Jwkgwnfa49LCFIArOXaSPCE=";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
)
|
|
|
|
];
|
2023-11-03 07:25:58 +00:00
|
|
|
|
2023-11-03 09:27:04 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mov-cli/mov-cli";
|
|
|
|
description = "A cli tool to browse and watch movies";
|
|
|
|
license = licenses.gpl3Only;
|
|
|
|
mainProgram = "mov-cli";
|
|
|
|
};
|
|
|
|
}
|