3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/reproc/default.nix
2021-02-11 22:30:11 +00:00

32 lines
688 B
Nix

{ stdenv, lib, fetchFromGitHub, cmake
}:
stdenv.mkDerivation rec {
pname = "reproc";
version = "14.2.2";
src = fetchFromGitHub {
owner = "DaanDeMeyer";
repo = "reproc";
rev = "v${version}";
sha256 = "sha256-QOQcNDQkG929cEchIZ+XzjRncUUB10DpdB4zqgPqv4A=";
};
nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DBUILD_SHARED_LIBS=ON"
"-DREPROC++=ON"
"-DREPROC_TEST=ON"
];
meta = with lib; {
homepage = "https://github.com/DaanDeMeyer/reproc";
description = "A cross-platform (C99/C++11) process library";
license = licenses.mit;
platforms = platforms.all;
};
}