7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
25 lines
690 B
Nix
25 lines
690 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "librtprocess";
|
|
version = "0.12.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CarVac";
|
|
repo = "librtprocess";
|
|
rev = version;
|
|
hash = "sha256-/1o6SWUor+ZBQ6RsK2PoDRu03jcVRG58PNYFttriH2w=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ llvmPackages.openmp ];
|
|
|
|
meta = with lib; {
|
|
description = "Highly optimized library for processing RAW images";
|
|
homepage = "https://github.com/CarVac/librtprocess";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = with maintainers; [ hjones2199 ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|