python3Packages.python-hostlist: init at 2.3.0

This commit is contained in:
Gaetan Lepage
2026-06-12 23:25:35 +00:00
parent 04b3bd8efc
commit 8b2f221d44
2 changed files with 41 additions and 0 deletions
@@ -0,0 +1,39 @@
{
lib,
buildPythonPackage,
fetchurl,
# build-system
setuptools,
# tests
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "python-hostlist";
version = "2.3.0";
pyproject = true;
__structuredAttrs = true;
src = fetchurl {
url = "https://www.nsc.liu.se/~kent/python-hostlist/python_hostlist-${finalAttrs.version}.tar.gz";
hash = "sha256-4aCxjlJaX8pXPLmGJ5nxGz8r07p67HDE7Ni5U0G7ceo=";
};
build-system = [
setuptools
];
pythonImportsCheck = [ "hostlist" ];
nativeCheckInputs = [
pytestCheckHook
];
meta = {
description = "Python module for hostlist handling";
homepage = "https://www.nsc.liu.se/~kent/python-hostlist/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ GaetanLepage ];
};
})
+2
View File
@@ -16029,6 +16029,8 @@ self: super: with self; {
python-homewizard-energy = callPackage ../development/python-modules/python-homewizard-energy { };
python-hostlist = callPackage ../development/python-modules/python-hostlist { };
python-hosts = callPackage ../development/python-modules/python-hosts { };
python-hpilo = callPackage ../development/python-modules/python-hpilo { };