about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/boost-process
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/boost-process')
-rw-r--r--nixpkgs/pkgs/development/libraries/boost-process/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/boost-process/default.nix b/nixpkgs/pkgs/development/libraries/boost-process/default.nix
new file mode 100644
index 000000000000..551c1247949e
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/boost-process/default.nix
@@ -0,0 +1,32 @@
+{ lib, stdenv, fetchurl, unzip }:
+
+stdenv.mkDerivation rec {
+  pname = "boost-process";
+  version = "0.5";
+
+  src = fetchurl {
+    url = "http://www.highscore.de/boost/process${version}/process.zip";
+    sha256 = "1v9y9pffb2b7p642kp9ic4z6kg42ziizmyvbgrqd1ci0i4gn0831";
+  };
+
+  nativeBuildInputs = [ unzip ];
+
+  unpackPhase = ''
+    mkdir boost-process-$version
+    cd boost-process-$version
+    unzip $src
+  '';
+
+  installPhase = ''
+    mkdir -p $out/include
+    cp -r boost $out/include
+  '';
+
+  meta = with 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 ];
+  };
+}