13 stdenv.mkDerivation rec {
14 pname = "time-ghc-modules";
17 src = fetchFromGitHub {
19 repo = "time-ghc-modules";
21 sha256 = "sha256-/PhJAhP3KCWFyeSk8e5JV0cpBueH/eVDwQTMZSnnZCo=";
24 nativeBuildInputs = [ makeWrapper ];
30 cp ./time-ghc-modules $out/bin/time-ghc-modules
31 wrapProgram $out/bin/time-ghc-modules --prefix PATH : ${
40 --set PROCESS_SCRIPT $out/lib/process \
41 --set HTML_FILE $out/lib/index.html
50 install -m 444 ./dist/index.html $out/lib
51 install ./scripts/process $out/lib
57 description = "Analyze GHC .dump-timings files";
58 mainProgram = "time-ghc-modules";
59 homepage = "https://github.com/codedownio/time-ghc-modules";
60 license = licenses.mit;
61 maintainers = [ maintainers.thomasjm ];
62 platforms = platforms.all;