mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-07 13:33:12 +00:00
a8ef375d9c
Diff: https://github.com/ail-project/PyLacus/compare/refs/tags/v1.11.1...v1.12.0 Changelog: https://github.com/ail-project/PyLacus/releases/tag/v1.12.0
41 lines
874 B
Nix
41 lines
874 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
poetry-core,
|
|
pythonOlder,
|
|
requests,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pylacus";
|
|
version = "1.12.0";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ail-project";
|
|
repo = "PyLacus";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-M7xPJKM/8fY8RBU2ESzaYOfENICCRNexORJGkerD4FM=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|