Merge pull request #297784 from fabaff/pylacus

python311Packages.pylacus: init at 1.8.2
This commit is contained in:
Fabian Affolter 2024-03-22 08:18:49 +01:00 committed by GitHub
commit a201f12243
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "pylacus";
version = "1.8.2";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "ail-project";
repo = "PyLacus";
rev = "refs/tags/v${version}";
hash = "sha256-wXdQe/4Xw/D0MRFqNfSKimJ99aCE7M7k1neT/+t7ixY=";
};
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 ];
};
}

View File

@ -10966,6 +10966,8 @@ self: super: with self; {
pylacrosse = callPackage ../development/python-modules/pylacrosse { };
pylacus = callPackage ../development/python-modules/pylacus { };
pylama = callPackage ../development/python-modules/pylama { };
pylast = callPackage ../development/python-modules/pylast { };