depot/third_party/nixpkgs/pkgs/development/libraries/boost-process/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
686 B
Nix

{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation {
name = "boost-process-0.5";
src = fetchurl {
url = "http://www.highscore.de/boost/process0.5/process.zip";
sha256 = "1v9y9pffb2b7p642kp9ic4z6kg42ziizmyvbgrqd1ci0i4gn0831";
};
buildInputs = [ unzip ];
unpackPhase = ''
mkdir $name
cd $name
unzip $src
'';
installPhase = ''
mkdir -p $out/include
cp -r boost $out/include
'';
meta = with stdenv.lib; {
homepage = "http://www.highscore.de/boost/process0.5/";
description = "Library to manage system processes";
license = licenses.boost;
platforms = platforms.unix;
maintainers = with maintainers; [ abbradar ];
};
}