nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 692 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "node-semver"; 10 version = "0.9.0"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "podhmo"; 15 repo = "python-node-semver"; 16 tag = version; 17 hash = "sha256-Ncl+RUvy9G9lF3EzLz2HfiDB02tEgAlZ34Wbn4mlF6Y="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "nodesemver" ]; 23 24 meta = { 25 changelog = "https://github.com/podhmo/python-node-semver/blob/${version}/CHANGES.txt"; 26 description = "Port of node-semver"; 27 homepage = "https://github.com/podhmo/python-semver"; 28 license = lib.licenses.mit; 29 maintainers = [ ]; 30 }; 31}