mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2025-10-15 05:09:32 +00:00
treewide: switch to npins
This commit is contained in:
parent
0eef5abf3f
commit
65f49835f6
7 changed files with 193 additions and 76 deletions
|
@ -1,53 +1,54 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
python3Packages,
|
||||
fetchFromGitHub,
|
||||
fetchPypi,
|
||||
}:
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "mov-cli";
|
||||
version = "1.5.1";
|
||||
format = "pyproject";
|
||||
pins,
|
||||
}: let
|
||||
pin = pins.mov-cli;
|
||||
in
|
||||
python3Packages.buildPythonPackage {
|
||||
format = "pyproject";
|
||||
pname = "mov-cli";
|
||||
inherit (pin) version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mov-cli";
|
||||
repo = "mov-cli";
|
||||
rev = "${version}";
|
||||
hash = "sha256-ixv9guHfXy1kQbpAWAVwPtpxX5IwAQ8CQ2hvhM7sewg=";
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
inherit (pin.repository) owner repo;
|
||||
sha256 = pin.hash;
|
||||
rev = pin.revision;
|
||||
};
|
||||
|
||||
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=";
|
||||
};
|
||||
}))
|
||||
(
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "krfzf_py";
|
||||
version = "0.0.4";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-W0wpR1/HRrtYC3vqEwh+Jwkgwnfa49LCFIArOXaSPCE=";
|
||||
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=";
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
}))
|
||||
(
|
||||
python3Packages.buildPythonPackage rec {
|
||||
pname = "krfzf_py";
|
||||
version = "0.0.4";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-W0wpR1/HRrtYC3vqEwh+Jwkgwnfa49LCFIArOXaSPCE=";
|
||||
};
|
||||
}
|
||||
)
|
||||
];
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
||||
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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue