Merge pull request #126760 from mausch/starspace
starspace: build with gzip support
This commit is contained in:
commit
dab87a5bac
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue