python3Packages.semver: 2.10.2 -> 2.13.0
This commit is contained in:
parent
5173a4db4d
commit
92a955754d
1 changed files with 14 additions and 7 deletions
|
@ -1,27 +1,34 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytest-cov
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytestcov
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "semver";
|
pname = "semver";
|
||||||
version = "2.10.2";
|
version = "2.13.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "python-semver";
|
owner = "python-semver";
|
||||||
repo = "python-semver";
|
repo = "python-semver";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0yxjmcgk5iwp53l9z1cg0ajrj18i09ircs11ifpdrggzm8n1blf3";
|
sha256 = "sha256-IWTo/P9JRxBQlhtcH3JMJZZrwAA8EALF4dtHajWUc4w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
preCheck = "rm -rf dist"; # confuses source vs dist imports in pytest
|
checkInputs = [
|
||||||
checkInputs = [ pytestCheckHook pytestcov ];
|
pytest-cov
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
|
# Confuses source vs dist imports in pytest
|
||||||
|
preCheck = "rm -r dist";
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "semver" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python package to work with Semantic Versioning (http://semver.org/)";
|
description = "Python package to work with Semantic Versioning (http://semver.org/)";
|
||||||
homepage = "https://python-semver.readthedocs.io/en/latest/";
|
homepage = "https://python-semver.readthedocs.io/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ np ];
|
maintainers = with maintainers; [ np ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue