halfempty: fix build on darwin
This commit is contained in:
parent
fdd73b14e8
commit
1e923ee61f
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, glib, util-linux, scowl }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, pkg-config, glib, hexdump, scowl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "halfempty";
|
pname = "halfempty";
|
||||||
|
@ -11,9 +11,11 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-YGq6fneAMo2jCpLPrjzRJ0eeOsStKaK5L+lwQfqcfpY=";
|
sha256 = "sha256-YGq6fneAMo2jCpLPrjzRJ0eeOsStKaK5L+lwQfqcfpY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config util-linux ];
|
nativeBuildInputs = [ pkg-config hexdump ];
|
||||||
buildInputs = [ glib ];
|
buildInputs = [ glib ];
|
||||||
|
|
||||||
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -41,5 +43,6 @@ stdenv.mkDerivation rec {
|
||||||
homepage = "https://github.com/googleprojectzero/halfempty/";
|
homepage = "https://github.com/googleprojectzero/halfempty/";
|
||||||
maintainers = with lib.maintainers; [ fpletz ];
|
maintainers = with lib.maintainers; [ fpletz ];
|
||||||
license = with lib.licenses; [ asl20 ];
|
license = with lib.licenses; [ asl20 ];
|
||||||
|
platforms = lib.platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue