nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 32 lines 664 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 pytestCheckHook, 6}: 7 8buildPythonPackage rec { 9 pname = "semantic-version"; 10 version = "2.10.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 pname = "semantic_version"; 15 inherit version; 16 hash = "sha256-vau20zaZjLs3jUuds6S1ah4yNXAdwF6iaQ2amX7VBBw="; 17 }; 18 19 nativeCheckInputs = [ pytestCheckHook ]; 20 21 pythonImportsCheck = [ "semantic_version" ]; 22 23 meta = { 24 description = "Library implementing the 'SemVer' scheme"; 25 homepage = "https://github.com/rbarrois/python-semanticversion/"; 26 license = lib.licenses.bsd2; 27 maintainers = with lib.maintainers; [ 28 layus 29 makefu 30 ]; 31 }; 32}