nixpkgs/pkgs/development/libraries/boost-process/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
751 B
Nix
Raw Normal View History

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