mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
b2d7f4b1ba
Many (less easily automatically converted) old-style strings remain. Where there was any possible ambiguity about the exact version or variant intended, nothing was changed. IANAL, nor a search robot. Use `with stdenv.lib` wherever it makes sense.
32 lines
692 B
Nix
32 lines
692 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 = with licenses; boost;
|
|
platforms = platforms.unix;
|
|
maintainers = with maintainers; [ abbradar ];
|
|
};
|
|
}
|