18 buildPythonPackage rec {
21 format = "setuptools";
23 src = fetchFromGitHub {
27 hash = "sha256-GflSDhBmMsQ34o3ApraEJ6GmlXXP2kK6WW3lsfr6b7g=";
31 substituteInPlace runtests.sh \
32 --replace "mkdir -p \$builddir" "mkdir -p \$builddir && pwd"
35 # TODO: remove in next version
38 name = "distutils.patch";
39 url = "https://github.com/jonashaag/klaus/commit/d50d2aab97fd86c11f3b5a4c1ecbcf1e085f395f.patch";
40 hash = "sha256-gJ/ksm96VRNgqIBp+PX/ljzdfQJYbwTBmZaF2Ctu7Fc=";
44 propagatedBuildInputs = [
56 ] ++ lib.optional (!isPy3k) mock;
62 # Needs to set up some git repos
66 description = "First Git web viewer that Just Works";
67 mainProgram = "klaus";
68 homepage = "https://github.com/jonashaag/klaus";
69 license = licenses.isc;
70 maintainers = with maintainers; [ pSub ];