git.iko.soy/typeable/nixpkgs
on master help sign in
starspace: build with gzip support
commit0516afb2675151bd020980826bba831c9f2fb064 authorMauricio Scheffer <mauricioscheffer@gmail.com> dateFri 11 Jun 2021, 14:38 (5 years ago) parent2c2b33c
1 file changed+6−2
pkgs/applications/science/machine-learning/starspace/default.nix+6−2
pkgs/applications/science/machine-learning/starspace/default.nix+6−2
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchFromGitHub, boost165 }:
1+{ lib, stdenv, fetchFromGitHub, boost165, zlib }:
22
33stdenv.mkDerivation rec {
44 pname = "starspace";
@@ -11,13 +11,17 @@ stdenv.mkDerivation rec {
1111 sha256 = "0sc7a37z1skb9377a1qs8ggwrkz0nmpybx7sms38xj05b702kbvj";
1212 };
1313
14− buildInputs = [ boost165 ];
14+ buildInputs = [ boost165 zlib ];
1515
1616 makeFlags = [
1717 "CXX=${stdenv.cc.targetPrefix}c++"
1818 "BOOST_DIR=${boost165.dev}/include"
1919 ];
2020
21+ preBuild = ''
22+ cp makefile_compress makefile
23+ '';
24+
2125 installPhase = ''
2226 mkdir -p $out/bin
2327 mv starspace $out/bin