about summary refs log tree commit diff
path: root/pkgs/development/python-modules/node-semver
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2018-03-11 15:21:01 +0100
committerTimo Kaufmann <timokau@zoho.com>2018-03-13 11:36:45 +0100
commit5fdfe61b35945b287b084f22076fef34062f17d2 (patch)
treee4ad5b9f8c28736896e380210505a95545444c2b /pkgs/development/python-modules/node-semver
parent4443c5f740a9f5eae9a85ab29f2f8fa08933ce3b (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/node-semver')
-rw-r--r--pkgs/development/python-modules/node-semver/2.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/node-semver/2.nix b/pkgs/development/python-modules/node-semver/2.nix
new file mode 100644
index 0000000000000..0ca61bd13510c
--- /dev/null
+++ b/pkgs/development/python-modules/node-semver/2.nix
@@ -0,0 +1,21 @@
+{ 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;
+  };
+}