mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 09:33:41 +00:00
5fdfe61b35
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.
22 lines
509 B
Nix
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;
|
|
};
|
|
}
|