nixpkgs/pkgs/development/python-modules/node-semver/default.nix

21 lines
480 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, pytest }:
buildPythonPackage rec {
2018-01-20 10:58:58 +00:00
version = "0.3.0";
pname = "node-semver";
checkInputs = [ pytest ];
src = fetchPypi {
inherit pname version;
2018-01-20 10:58:58 +00:00
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;
};
}