My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/reproc/default.nix

31 lines
688 B

{ stdenv, lib, fetchFromGitHub, cmake
}:
stdenv.mkDerivation rec {
pname = "reproc";
version = "14.2.4";
src = fetchFromGitHub {
owner = "DaanDeMeyer";
repo = "reproc";
rev = "v${version}";
sha256 = "sha256-LWzBeKhE7cSiZsK8xWzoTdrOcPiU/zEkmi40WiFytic=";
};
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;
};
}