summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorArseniy Seroka <jagajaga@users.noreply.github.com>2015-06-29 19:08:38 +0300
committerArseniy Seroka <jagajaga@users.noreply.github.com>2015-06-29 19:08:38 +0300
commit3862fd57fecb710255f897be1b090d844adcffc7 (patch)
tree4a8e808573aa135e7540f83cb4c688ab2f10ab3c /pkgs
parent7e9cba3a2d6b3378309a9c82a104d06a971a297a (diff)
parent5344e4db4d1d47dc0c406d12e366afc7fdf3c325 (diff)
downloadnixlib-3862fd57fecb710255f897be1b090d844adcffc7.tar
nixlib-3862fd57fecb710255f897be1b090d844adcffc7.tar.gz
nixlib-3862fd57fecb710255f897be1b090d844adcffc7.tar.bz2
nixlib-3862fd57fecb710255f897be1b090d844adcffc7.tar.lz
nixlib-3862fd57fecb710255f897be1b090d844adcffc7.tar.xz
nixlib-3862fd57fecb710255f897be1b090d844adcffc7.tar.zst
nixlib-3862fd57fecb710255f897be1b090d844adcffc7.zip
Merge pull request #8526 from matthiasbeyer/add-klaus
Package: klaus + dependencies
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix63
1 files changed, 63 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index 24f39b3bc930..d89b40dfa9a3 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -3386,6 +3386,29 @@ let
     };
   };
 
+  humanize = buildPythonPackage rec {
+    version = "0.5.1";
+    name = "humanize-${version}";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/h/humanize/${name}.tar.gz";
+      md5 = "e8473d9dc1b220911cac2edd53b1d973";
+    };
+
+    buildInputs = with self; [ mock ];
+
+    doCheck = false;
+
+    meta = {
+      description = "python humanize utilities";
+      homepage = https://github.com/jmoiron/humanize;
+      license = licenses.mit;
+      maintainers = with maintainers; [ matthiasbeyer ];
+      platforms = platforms.linux; # can only test on linux
+    };
+
+  };
+
   hovercraft = buildPythonPackage rec {
     disabled = ! isPy3k;
     name = "hovercraft-${version}";
@@ -3410,6 +3433,25 @@ let
     };
   };
 
+  httpauth = buildPythonPackage rec {
+    version = "0.2";
+    name = "httpauth-${version}";
+
+    src = pkgs.fetchurl {
+      url = "https://pypi.python.org/packages/source/h/httpauth/${name}.tar.gz";
+      md5 = "78d1835a80955e68e98a3ca5ab7f7dbd";
+    };
+
+    doCheck = false;
+
+    meta = {
+      description = "WSGI HTTP Digest Authentication middleware";
+      homepage = https://github.com/jonashaag/httpauth;
+      license = licenses.bsd2;
+      maintainers = with maintainers; [ matthiasbeyer ];
+    };
+  };
+
   itsdangerous = buildPythonPackage rec {
     name = "itsdangerous-0.24";
 
@@ -6610,6 +6652,27 @@ let
     };
   };
 
+  klaus = buildPythonPackage rec {
+    version = "0.4.9";
+    name = "klaus-${version}";
+
+    src = pkgs.fetchurl {
+      url = "https://github.com/jonashaag/klaus/archive/${version}.tar.gz";
+      sha256 = "0qcbv3shz530mn53pdc68fx38ylz72033xsrz77ffi0cks32az2w";
+    };
+
+    propagatedBuildInputs = with self;
+      [ humanize httpauth dulwich pygments flask ];
+
+    meta = {
+      description = "The first Git web viewer that Just Works";
+      homepage    = "https://github.com/jonashaag/klaus";
+      #license     = licenses.mit; # I'm not sure about the license
+      maintainers = with maintainers; [ matthiasbeyer ];
+      platforms   = platforms.linux; # Can only test linux
+    };
+  };
+
   kombu = buildPythonPackage rec {
     name = "kombu-${version}";
     version = "3.0.24";