mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
21 lines
509 B
Nix
21 lines
509 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, pytest, tox }:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
version = "0.1.1";
|
|
pname = "node-semver";
|
|
|
|
buildInputs = [ pytest tox ];
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1b3xiqgl436q33grbkh4chpfchl8i2dmcpggbb2q4vgv3vjy97p2";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/podhmo/python-semver;
|
|
description = "A port of node-semver";
|
|
license = licenses.mit;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|