depot/third_party/nixpkgs/pkgs/development/python-modules/semantic-version/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
714 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
pythonOlder,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "semantic-version";
version = "2.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "semantic_version";
inherit version;
hash = "sha256-vau20zaZjLs3jUuds6S1ah4yNXAdwF6iaQ2amX7VBBw=";
};
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "semantic_version" ];
meta = with lib; {
description = "Library implementing the 'SemVer' scheme";
homepage = "https://github.com/rbarrois/python-semanticversion/";
license = licenses.bsd2;
maintainers = with maintainers; [
layus
makefu
];
};
}