Files
nixpkgs/pkgs/development/python-modules/hydrus-api/default.nix
2026-05-23 02:08:36 +00:00

36 lines
692 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
poetry-core,
requests,
}:
buildPythonPackage rec {
pname = "hydrus-api";
version = "5.3.0";
pyproject = true;
src = fetchPypi {
pname = "hydrus_api";
inherit version;
hash = "sha256-Xq27pMVj2JkcHLvFzVDKL9KNOjTxZ3yH5+RVcVMzKJc=";
};
build-system = [ poetry-core ];
dependencies = [ requests ];
pythonImportsCheck = [ "hydrus_api" ];
# There are no unit tests
doCheck = false;
meta = {
description = "Python module implementing the Hydrus API";
homepage = "https://gitlab.com/cryzed/hydrus-api";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ dandellion ];
};
}