Merge pull request #297784 from fabaff/pylacus
python311Packages.pylacus: init at 1.8.2
This commit is contained in:
commit
a201f12243
2 changed files with 47 additions and 0 deletions
45
pkgs/development/python-modules/pylacus/default.nix
Normal file
45
pkgs/development/python-modules/pylacus/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue