Merge pull request #159557 from fabaff/bump-semantic-version

python3Packages.semantic-version: 2.8.5 -> 2.9.0
This commit is contained in:
Fabian Affolter 2022-02-15 12:54:13 +01:00 committed by GitHub
commit 463905991c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,35 @@
{ lib, fetchPypi, buildPythonPackage }:
{ lib
, fetchPypi
, buildPythonPackage
, pythonOlder
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "semantic_version";
version = "2.8.5";
pname = "semantic-version";
version = "2.9.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54";
pname = "semantic_version";
inherit version;
sha256 = "sha256-q/VIc1U+Xgem/U1fZTt4H1rkEpekk2ZrWdzyFABqErI=";
};
# ModuleNotFoundError: No module named 'tests'
doCheck = false;
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"semantic_version"
];
meta = with lib; {
description = "A library implementing the 'SemVer' scheme";
license = licenses.bsdOriginal;
homepage = "https://github.com/rbarrois/python-semanticversion/";
license = licenses.bsd2;
maintainers = with maintainers; [ layus makefu ];
};
}