mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
python3Packages.hydrus-api: 4.0.0 -> 5.0.0
This commit is contained in:
parent
d2e41e92bc
commit
d2a7a7af3d
@ -2,21 +2,33 @@
|
|||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, poetry-core
|
||||||
, requests
|
, requests
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "hydrus-api";
|
pname = "hydrus-api";
|
||||||
version = "4.0.0";
|
version = "5.0.0";
|
||||||
format = "setuptools";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "sha256-4by2TlZJIKElGgaof1w555ik2hUNbg16YekSWwICGmg=";
|
|
||||||
};
|
|
||||||
|
|
||||||
disabled = pythonOlder "3.9";
|
disabled = pythonOlder "3.9";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "hydrus_api";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-s6gS1rVcbg7hcE63hGdPhJCcgS4N4d58MpSrECAfe0U=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace pyproject.toml --replace \
|
||||||
|
"poetry.masonry.api" \
|
||||||
|
"poetry.core.masonry.api"
|
||||||
|
'';
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
poetry-core
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
requests
|
requests
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user