Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 562 B view raw
1{ 2 mkDerivation, 3 python3, 4 qtbase, 5}: 6 7mkDerivation { 8 pname = "kapidox"; 9 nativeBuildInputs = [ 10 python3.pkgs.setuptools 11 qtbase 12 ]; 13 14 buildInputs = with python3.pkgs; [ 15 jinja2 16 pyyaml 17 requests 18 ]; 19 20 postPatch = '' 21 sed -i -e 's|"doxy\w\+", ||g' setup.py 22 ''; 23 24 buildPhase = '' 25 runHook preBuild 26 ${python3.interpreter} setup.py build 27 runHook postBuild 28 ''; 29 30 installPhase = '' 31 runHook preInstall 32 ${python3.interpreter} setup.py install --prefix="$out" 33 runHook postInstall 34 ''; 35 36 outputs = [ "out" ]; 37}