2020-09-26 18:27:54 +02:00
|
|
|
{ stdenv, lib, fetchFromGitHub, cmake
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "reproc";
|
2021-08-17 20:45:16 +02:00
|
|
|
version = "14.2.3";
|
2020-09-26 18:27:54 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DaanDeMeyer";
|
|
|
|
repo = "reproc";
|
|
|
|
rev = "v${version}";
|
2021-08-17 20:45:16 +02:00
|
|
|
sha256 = "sha256-bdZ7czkeoSl5znGit0AYQ9D4K8qE2Co+F2Z4jLJuQok=";
|
2020-09-26 18:27:54 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|