2023-10-09 19:29:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages }:
|
2020-12-25 13:55:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "librtprocess";
|
2022-03-30 09:31:56 +00:00
|
|
|
version = "0.12.0";
|
2020-12-25 13:55:36 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CarVac";
|
2023-10-09 19:29:22 +00:00
|
|
|
repo = "librtprocess";
|
2020-12-25 13:55:36 +00:00
|
|
|
rev = version;
|
2023-10-09 19:29:22 +00:00
|
|
|
hash = "sha256-/1o6SWUor+ZBQ6RsK2PoDRu03jcVRG58PNYFttriH2w=";
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ llvmPackages.openmp ];
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-12-25 13:55:36 +00:00
|
|
|
description = "Highly optimized library for processing RAW images";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/CarVac/librtprocess";
|
|
|
|
license = licenses.gpl3Plus;
|
2020-12-25 13:55:36 +00:00
|
|
|
maintainers = with maintainers; [ hjones2199 ];
|
2023-10-09 19:29:22 +00:00
|
|
|
platforms = platforms.unix;
|
2020-12-25 13:55:36 +00:00
|
|
|
};
|
|
|
|
}
|