summary refs log tree commit diff
path: root/pkgs/development/libraries/boost-process/default.nix
blob: 86cdd08db64c027aacb8ee9b75a89285f561bafa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ 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 = with licenses; boost;
    platforms = platforms.unix;
    maintainers = with maintainers; [ abbradar ];
  };
}