summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorrnhmjoj <micheleguerinirocco@me.com>2017-05-31 22:57:42 +0200
committerrnhmjoj <micheleguerinirocco@me.com>2017-06-01 00:48:32 +0200
commitf93dfd52594bf53889456f7797dd199bca2292ad (patch)
treea3db7c9b9ce0155f25df4a20ea797b7246d8c9b5 /pkgs/development/python-modules
parente693d5f9863a6ebe29ebce3fea79433465f1256a (diff)
downloadnixlib-f93dfd52594bf53889456f7797dd199bca2292ad.tar
nixlib-f93dfd52594bf53889456f7797dd199bca2292ad.tar.gz
nixlib-f93dfd52594bf53889456f7797dd199bca2292ad.tar.bz2
nixlib-f93dfd52594bf53889456f7797dd199bca2292ad.tar.lz
nixlib-f93dfd52594bf53889456f7797dd199bca2292ad.tar.xz
nixlib-f93dfd52594bf53889456f7797dd199bca2292ad.tar.zst
nixlib-f93dfd52594bf53889456f7797dd199bca2292ad.zip
pythonPackages.semver: move to pkgs/development/python-modules
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/semver/default.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/semver/default.nix b/pkgs/development/python-modules/semver/default.nix
new file mode 100644
index 000000000000..285da5460717
--- /dev/null
+++ b/pkgs/development/python-modules/semver/default.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchPypi, buildPythonPackage }:
+
+buildPythonPackage rec {
+  name = "${pname}-${version}";
+  pname = "semver";
+  version = "2.2.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "161gvsfpw0l8lnf1v19rvqc8b9f8n70cc8ppya4l0n6rwc1c1n4m";
+  };
+
+  meta = with stdenv.lib; {
+    description = "Python package to work with Semantic Versioning (http://semver.org/)";
+    homepage = "https://github.com/k-bx/python-semver";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ np ];
+  };
+}