1{ stdenv, fetchurl, unzip }:
2
3stdenv.mkDerivation {
4 name = "boost-process-0.5";
5
6 src = fetchurl {
7 url = "http://www.highscore.de/boost/process0.5/process.zip";
8 sha256 = "1v9y9pffb2b7p642kp9ic4z6kg42ziizmyvbgrqd1ci0i4gn0831";
9 };
10
11 buildInputs = [ unzip ];
12
13 unpackPhase = ''
14 mkdir $name
15 cd $name
16 unzip $src
17 '';
18
19 installPhase = ''
20 mkdir -p $out/include
21 cp -r boost $out/include
22 '';
23
24 meta = with stdenv.lib; {
25 homepage = "http://www.highscore.de/boost/process0.5/";
26 description = "Library to manage system processes";
27 license = licenses.boost;
28 platforms = platforms.unix;
29 maintainers = with maintainers; [ abbradar ];
30 };
31}