nixpkgs/pkgs/development/python-modules/node-semver/2.nix
Timo Kaufmann 5fdfe61b35 conan: Fix build
conan has very strict requirements on the versions of its dependencies.
This patch adds downgraded versinos of node-semver and distro to
statisfy these requirements.
2018-03-13 11:36:45 +01:00

22 lines
509 B
Nix

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