depot/third_party/nixpkgs/pkgs/development/python-modules/hydrus-api/default.nix
Default email 92b3d6365d Project import generated by Copybara.
GitOrigin-RevId: 412b9917cea092f3d39f9cd5dead4effd5bc4053
2022-10-30 16:09:59 +01:00

35 lines
687 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, requests
}:
buildPythonPackage rec {
pname = "hydrus-api";
version = "4.0.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4by2TlZJIKElGgaof1w555ik2hUNbg16YekSWwICGmg=";
};
disabled = pythonOlder "3.9";
propagatedBuildInputs = [
requests
];
pythonImportsCheck = [ "hydrus_api" ];
# There are no unit tests
doCheck = false;
meta = with lib; {
description = "Python module implementing the Hydrus API";
homepage = "https://gitlab.com/cryzed/hydrus-api";
license = licenses.agpl3Plus;
maintainers = with maintainers; [ dandellion ];
};
}