summary refs log tree commit diff
path: root/pkgs/development/python-modules
diff options
context:
space:
mode:
authorwisut hantanong <wizzup@gmail.com>2017-07-15 15:33:16 +0700
committerJörg Thalheim <joerg@thalheim.io>2017-07-15 17:40:55 +0100
commitcca503b3891dab1cc2cf0dbd4a8095f87d1fcff9 (patch)
tree8ba18cea551a8d5218d6a7fa3c801298370829c9 /pkgs/development/python-modules
parent9115f68bdea5b6202fd0b4b7ffc3bf2abcfee859 (diff)
downloadnixpkgs-cca503b3891dab1cc2cf0dbd4a8095f87d1fcff9.tar
nixpkgs-cca503b3891dab1cc2cf0dbd4a8095f87d1fcff9.tar.gz
nixpkgs-cca503b3891dab1cc2cf0dbd4a8095f87d1fcff9.tar.bz2
nixpkgs-cca503b3891dab1cc2cf0dbd4a8095f87d1fcff9.tar.lz
nixpkgs-cca503b3891dab1cc2cf0dbd4a8095f87d1fcff9.tar.xz
nixpkgs-cca503b3891dab1cc2cf0dbd4a8095f87d1fcff9.tar.zst
nixpkgs-cca503b3891dab1cc2cf0dbd4a8095f87d1fcff9.zip
python.pkgs.packaging: move to separate expression
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r--pkgs/development/python-modules/packaging/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/packaging/default.nix b/pkgs/development/python-modules/packaging/default.nix
new file mode 100644
index 00000000000..776ec7ffc4b
--- /dev/null
+++ b/pkgs/development/python-modules/packaging/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildPythonPackage, fetchPypi
+, pyparsing, six, pytest, pretend }:
+
+buildPythonPackage rec {
+  pname = "packaging";
+  version = "16.8";
+  name = "${pname}-${version}";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "5d50835fdf0a7edf0b55e311b7c887786504efea1177abd7e69329a8e5ea619e";
+  };
+
+  propagatedBuildInputs = [ pyparsing six ];
+
+  buildInputs = [ pytest pretend ];
+
+  meta = with stdenv.lib; {
+    description = "Core utilities for Python packages";
+    homepage = "https://github.com/pypa/packaging";
+    license = [ licenses.bsd2 licenses.asl20 ];
+    maintainers = with maintainers; [ bennofs ];
+  };
+}