Files
nixpkgs/pkgs/development/python-modules/hydrus-api/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
740 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
poetry-core,
requests,
}:
buildPythonPackage rec {
pname = "hydrus-api";
version = "5.1.1";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchPypi {
pname = "hydrus_api";
inherit version;
hash = "sha256-oA3DbdX+MRZiInCKXurBdKlUFQ4jeU+jHr9NxMEHQmI=";
};
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 ];
};
}