21 lines
521 B
Nix
21 lines
521 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
version = "0.3.0";
|
|
pname = "node-semver";
|
|
|
|
buildInputs = [ pytest tox ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "d8a3906e7677f8ab05aeb3fc94c7a2fa163def5507271452ce6831282f23f1cb";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/podhmo/python-semver;
|
|
description = "A port of node-semver";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|