Merge pull request #159557 from fabaff/bump-semantic-version
python3Packages.semantic-version: 2.8.5 -> 2.9.0
This commit is contained in:
commit
463905991c
1 changed files with 23 additions and 8 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue