1 { lib, stdenv, fetchFromGitHub, makeWrapper, git }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "01h3f0andv1p7pwir3k6n01v92hgr5zbjadfwl144yjw9x37fm2f";
14 nativeBuildInputs = [ makeWrapper ];
19 install -m755 -Dt $out/bin git-test
20 install -m444 -Dt $out/share/man/man1 git-test.1
22 wrapProgram $out/bin/git-test \
23 --prefix PATH : "${lib.makeBinPath [ git ]}"
27 description = "Test your commits";
28 homepage = "https://github.com/spotify/git-test";
29 license = licenses.asl20;
30 maintainers = [ maintainers.marsam ];
31 platforms = platforms.all;
32 mainProgram = "git-test";