Merge pull request #8526 from matthiasbeyer/add-klaus

Package: klaus + dependencies

+63
+63
pkgs/top-level/python-packages.nix
··· 3386 3386 }; 3387 3387 }; 3388 3388 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 + 3389 3412 hovercraft = buildPythonPackage rec { 3390 3413 disabled = ! isPy3k; 3391 3414 name = "hovercraft-${version}"; ··· 3407 3430 homepage = https://github.com/regebro/hovercraft; 3408 3431 license = licenses.mit; 3409 3432 maintainers = with maintainers; [ goibhniu ]; 3433 + }; 3434 + }; 3435 + 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 ]; 3410 3452 }; 3411 3453 }; 3412 3454 ··· 6607 6649 license = licenses.psfl; 6608 6650 maintainers = with maintainers; [ lovek323 ]; 6609 6651 platforms = platforms.unix; 6652 + }; 6653 + }; 6654 + 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 6610 6673 }; 6611 6674 }; 6612 6675