45 lines
856 B
Nix
45 lines
856 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
hatchling,
|
|
hatch-vcs,
|
|
pyparsing,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "configshell-fb";
|
|
version = "2.0.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "open-iscsi";
|
|
repo = "configshell-fb";
|
|
tag = "v${version}";
|
|
hash = "sha256-B5VEihg97r8BsKJdk1+LGyKb64QC+u/3ftumFXYTn6s=";
|
|
};
|
|
|
|
build-system = [
|
|
hatchling
|
|
hatch-vcs
|
|
];
|
|
|
|
dependencies = [
|
|
pyparsing
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "configshell" ];
|
|
|
|
meta = {
|
|
description = "Python library for building configuration shells";
|
|
homepage = "https://github.com/open-iscsi/configshell-fb";
|
|
changelog = "https://github.com/open-iscsi/configshell-fb/releases/tag/${src.tag}";
|
|
license = lib.licenses.asl20;
|
|
maintainers = [ ];
|
|
};
|
|
}
|