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