Files
2026-06-26 14:55:16 +00:00

32 lines
692 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "node-semver";
version = "0.9.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "podhmo";
repo = "python-node-semver";
tag = version;
hash = "sha256-akeFBF0za4DjcYfR4/M06D5M19o+4xqfyuG74FPSDBU=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "nodesemver" ];
meta = {
changelog = "https://github.com/podhmo/python-node-semver/blob/${version}/CHANGES.txt";
description = "Port of node-semver";
homepage = "https://github.com/podhmo/python-semver";
license = lib.licenses.mit;
maintainers = [ ];
};
}