elkhound: add mainProgram and minor cleanups
This commit is contained in:
parent
2ee4d57cd6
commit
e3b522b54e
@ -10,13 +10,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "elkhound";
|
pname = "elkhound";
|
||||||
version = "unstable-2020-04-13";
|
version = "0-unstable-2020-04-13";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "WeiDUorg";
|
owner = "WeiDUorg";
|
||||||
repo = "elkhound";
|
repo = "elkhound";
|
||||||
rev = "a7eb4bb2151c00cc080613a770d37560f62a285c";
|
rev = "a7eb4bb2151c00cc080613a770d37560f62a285c";
|
||||||
sha256 = "sha256-Y96OFpBNrD3vrKoEZ4KdJuI1Q4RmYANsu7H3ZzfaA6g=";
|
hash = "sha256-Y96OFpBNrD3vrKoEZ4KdJuI1Q4RmYANsu7H3ZzfaA6g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -32,6 +32,8 @@ stdenv.mkDerivation rec {
|
|||||||
perl
|
perl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [ "-Wno-dev" ]; # it vomits warnings that only upstream cares about
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
|
|
||||||
@ -51,5 +53,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
maintainers = with maintainers; [ peterhoeg ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
|
mainProgram = "elkhound";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user