2017-05-31 20:57:42 +00:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "semver";
|
2017-10-25 18:04:35 +00:00
|
|
|
version = "2.7.9";
|
2017-05-31 20:57:42 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 18:04:35 +00:00
|
|
|
sha256 = "1ffb55fb86a076cf7c161e6b5931f7da59f15abe217e0f24cea96cc8eec50f42";
|
2017-05-31 20:57:42 +00:00
|
|
|
};
|
|
|
|
|
2017-08-25 08:57:54 +00:00
|
|
|
# No tests in archive
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-05-31 20:57:42 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Python package to work with Semantic Versioning (http://semver.org/)";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/k-bx/python-semver;
|
2017-05-31 20:57:42 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ np ];
|
|
|
|
};
|
|
|
|
}
|