mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
starspace: build with gzip support
This commit is contained in:
parent
2c2b33c326
commit
0516afb267
@ -1,4 +1,4 @@
|
||||
{ lib, stdenv, fetchFromGitHub, boost165 }:
|
||||
{ lib, stdenv, fetchFromGitHub, boost165, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "starspace";
|
||||
@ -11,13 +11,17 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj";
|
||||
};
|
||||
|
||||
buildInputs = [ boost165 ];
|
||||
buildInputs = [ boost165 zlib ];
|
||||
|
||||
makeFlags = [
|
||||
"CXX=${stdenv.cc.targetPrefix}c++"
|
||||
"BOOST_DIR=${boost165.dev}/include"
|
||||
];
|
||||
|
||||
preBuild = ''
|
||||
cp makefile_compress makefile
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv starspace $out/bin
|
||||
|
Loading…
Reference in New Issue
Block a user