git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8526 from matthiasbeyer/add-klaus

Package: klaus + dependencies

commit3862fd57fecb710255f897be1b090d844adcffc7 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateMon 29 Jun 2015, 19:08 (11 years ago) parent7e9cba35344e4d
1 file changed+63
pkgs/top-level/python-packages.nix+63
pkgs/top-level/python-packages.nix+63
@@ -3386,6 +3386,29 @@ let
33863386 };
33873387 };
33883388
3389+ humanize = buildPythonPackage rec {
3390+ version = "0.5.1";
3391+ name = "humanize-${version}";
3392+
3393+ src = pkgs.fetchurl {
3394+ url = "https://pypi.python.org/packages/source/h/humanize/${name}.tar.gz";
3395+ md5 = "e8473d9dc1b220911cac2edd53b1d973";
3396+ };
3397+
3398+ buildInputs = with self; [ mock ];
3399+
3400+ doCheck = false;
3401+
3402+ meta = {
3403+ description = "python humanize utilities";
3404+ homepage = https://github.com/jmoiron/humanize;
3405+ license = licenses.mit;
3406+ maintainers = with maintainers; [ matthiasbeyer ];
3407+ platforms = platforms.linux; # can only test on linux
3408+ };
3409+
3410+ };
3411+
33893412 hovercraft = buildPythonPackage rec {
33903413 disabled = ! isPy3k;
33913414 name = "hovercraft-${version}";
@@ -3410,6 +3433,25 @@ let
34103433 };
34113434 };
34123435
3436+ httpauth = buildPythonPackage rec {
3437+ version = "0.2";
3438+ name = "httpauth-${version}";
3439+
3440+ src = pkgs.fetchurl {
3441+ url = "https://pypi.python.org/packages/source/h/httpauth/${name}.tar.gz";
3442+ md5 = "78d1835a80955e68e98a3ca5ab7f7dbd";
3443+ };
3444+
3445+ doCheck = false;
3446+
3447+ meta = {
3448+ description = "WSGI HTTP Digest Authentication middleware";
3449+ homepage = https://github.com/jonashaag/httpauth;
3450+ license = licenses.bsd2;
3451+ maintainers = with maintainers; [ matthiasbeyer ];
3452+ };
3453+ };
3454+
34133455 itsdangerous = buildPythonPackage rec {
34143456 name = "itsdangerous-0.24";
34153457
@@ -6610,6 +6652,27 @@ let
66106652 };
66116653 };
66126654
6655+ klaus = buildPythonPackage rec {
6656+ version = "0.4.9";
6657+ name = "klaus-${version}";
6658+
6659+ src = pkgs.fetchurl {
6660+ url = "https://github.com/jonashaag/klaus/archive/${version}.tar.gz";
6661+ sha256 = "0qcbv3shz530mn53pdc68fx38ylz72033xsrz77ffi0cks32az2w";
6662+ };
6663+
6664+ propagatedBuildInputs = with self;
6665+ [ humanize httpauth dulwich pygments flask ];
6666+
6667+ meta = {
6668+ description = "The first Git web viewer that Just Works";
6669+ homepage = "https://github.com/jonashaag/klaus";
6670+ #license = licenses.mit; # I'm not sure about the license
6671+ maintainers = with maintainers; [ matthiasbeyer ];
6672+ platforms = platforms.linux; # Can only test linux
6673+ };
6674+ };
6675+
66136676 kombu = buildPythonPackage rec {
66146677 name = "kombu-${version}";
66156678 version = "3.0.24";