nixpkgs/pkgs/development/libraries/reproc/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
688 B
Nix
Raw Normal View History

2020-09-26 17:27:54 +01:00
{ stdenv, lib, fetchFromGitHub, cmake
}:
stdenv.mkDerivation rec {
pname = "reproc";
2022-01-02 15:31:54 +00:00
version = "14.2.4";
2020-09-26 17:27:54 +01:00
src = fetchFromGitHub {
owner = "DaanDeMeyer";
repo = "reproc";
rev = "v${version}";
2022-01-02 15:31:54 +00:00
sha256 = "sha256-LWzBeKhE7cSiZsK8xWzoTdrOcPiU/zEkmi40WiFytic=";
2020-09-26 17:27:54 +01: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;
};
}