Files
nixpkgs/pkgs/development/python-modules/configshell/default.nix
T
2025-03-09 05:00:16 +01:00

46 lines
801 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
pythonOlder,
hatchling,
hatch-vcs,
pyparsing,
}:
buildPythonPackage rec {
pname = "configshell";
version = "2.0.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "open-iscsi";
repo = "${pname}-fb";
tag = "v${version}";
hash = "sha256-lP3WT9ASEj6WiCrurSU/e9FhIaeoQW/n9hi1XZMnV4Q=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
pyparsing
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "configshell" ];
meta = with lib; {
description = "Python library for building configuration shells";
homepage = "https://github.com/open-iscsi/configshell-fb";
license = licenses.asl20;
maintainers = [ ];
};
}