2017-04-13 00:39:18 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
2017-10-25 19:04:35 +01:00
|
|
|
version = "0.2.0";
|
2017-04-13 00:39:18 +01:00
|
|
|
pname = "node-semver";
|
|
|
|
|
|
|
|
buildInputs = [ pytest tox ];
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-10-25 19:04:35 +01:00
|
|
|
sha256 = "c32bfc976fd9e003c4a15665e5fe9f337366ba6b60aeb34e4479da9d7bbb0081";
|
2017-04-13 00:39:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/podhmo/python-semver;
|
|
|
|
description = "A port of node-semver";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|