summary refs log tree commit diff
path: root/pkgs/development/python-modules/klein
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-20 12:55:22 +0100
committerRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-03-20 17:32:48 +0100
commit86e007bd31391c4bddf6c1610aa3fb2538896861 (patch)
tree0d0771e449659b996494747eeb5ac819594777f8 /pkgs/development/python-modules/klein
parent86f21360acb0319509536164046da918d0002dff (diff)
downloadnixpkgs-86e007bd31391c4bddf6c1610aa3fb2538896861.tar
nixpkgs-86e007bd31391c4bddf6c1610aa3fb2538896861.tar.gz
nixpkgs-86e007bd31391c4bddf6c1610aa3fb2538896861.tar.bz2
nixpkgs-86e007bd31391c4bddf6c1610aa3fb2538896861.tar.lz
nixpkgs-86e007bd31391c4bddf6c1610aa3fb2538896861.tar.xz
nixpkgs-86e007bd31391c4bddf6c1610aa3fb2538896861.tar.zst
nixpkgs-86e007bd31391c4bddf6c1610aa3fb2538896861.zip
pythonPackages.klein: move expression
Diffstat (limited to 'pkgs/development/python-modules/klein')
-rw-r--r--pkgs/development/python-modules/klein/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/klein/default.nix b/pkgs/development/python-modules/klein/default.nix
new file mode 100644
index 00000000000..f4748a93277
--- /dev/null
+++ b/pkgs/development/python-modules/klein/default.nix
@@ -0,0 +1,21 @@
+{ lib, buildPythonPackage, fetchPypi, isPy3k, werkzeug, twisted }:
+
+buildPythonPackage rec {
+  pname = "klein";
+  version = "15.3.1";
+
+  src = fetchPypi {
+    inherit pname version;
+    sha256 = "1hl2psnn1chm698rimyn9dgcpl1mxgc8dj11b3ipp8z37yfjs3z9";
+  };
+
+  disabled = isPy3k;
+
+  propagatedBuildInputs = [ werkzeug twisted ];
+
+  meta = with lib; {
+    description = "Klein Web Micro-Framework";
+    homepage    = "https://github.com/twisted/klein";
+    license     = licenses.mit;
+  };
+}