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