depot/third_party/nixpkgs/pkgs/development/python-modules/pylacus/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

40 lines
874 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pythonOlder,
requests,
}:
buildPythonPackage rec {
pname = "pylacus";
version = "1.10.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ail-project";
repo = "PyLacus";
rev = "refs/tags/v${version}";
hash = "sha256-HPd/kF79Xb5kyYdOpm6ny6/rRNeu8WkTv7rM1Kpb7YI=";
};
build-system = [ poetry-core ];
dependencies = [ requests ];
# Tests require network access
doCheck = false;
pythonImportsCheck = [ "pylacus" ];
meta = with lib; {
description = "Module to enqueue and query a remote Lacus instance";
homepage = "https://github.com/ail-project/PyLacus";
changelog = "https://github.com/ail-project/PyLacus/releases/tag/v${version}";
license = licenses.bsd3;
maintainers = with maintainers; [ fab ];
};
}