1 { lib, stdenv, fetchFromGitHub, git, makeWrapper }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
8 owner = "digitallyinduced";
11 sha256 = "sha256-oQz7ZBrHe6WwYMwnxxUgnYM55CuH5Oxjz6mrLnYbB7U=";
15 sourceRoot = "${src.name}/ProjectGenerator";
17 nativeBuildInputs = [ makeWrapper ];
20 install -Dm755 bin/ihp-new -t $out/bin
21 wrapProgram $out/bin/ihp-new \
22 --suffix PATH ":" "${lib.makeBinPath [ git ]}";
26 description = "Project generator for the IHP (Integrated Haskell Platform) web framework";
27 mainProgram = "ihp-new";
28 homepage = "https://ihp.digitallyinduced.com";
29 license = licenses.mit;
30 maintainers = [ maintainers.mpscholten ];
31 platforms = platforms.unix;