From 0d1a3caeb6f093af81fd43d9b81ea1452e48fc73 Mon Sep 17 00:00:00 2001 From: Hunter Jones Date: Mon, 7 Dec 2020 14:26:25 -0600 Subject: [PATCH] librtprocess: init at 0.11.0 --- .../libraries/librtprocess/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/development/libraries/librtprocess/default.nix diff --git a/pkgs/development/libraries/librtprocess/default.nix b/pkgs/development/libraries/librtprocess/default.nix new file mode 100644 index 000000000000..adabbe11cb3e --- /dev/null +++ b/pkgs/development/libraries/librtprocess/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchFromGitHub, cmake }: + +stdenv.mkDerivation rec { + pname = "librtprocess"; + version = "0.11.0"; + + src = fetchFromGitHub { + owner = "CarVac"; + repo = pname; + rev = version; + sha256 = "1bivy3rymmmkdx5phbxq4qaq15hw633dgpks57z9ara15mh817xx"; + }; + + nativeBuildInputs = [ cmake ]; + + meta = with stdenv.lib; { + homepage = "https://github.com/CarVac/librtprocess"; + description = "Highly optimized library for processing RAW images"; + license = licenses.gpl3; + maintainers = with maintainers; [ hjones2199 ]; + platforms = [ "x86_64-linux" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eeb75cdf1f5d..dca91a3680cf 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14246,6 +14246,8 @@ in librime = callPackage ../development/libraries/librime {}; + librtprocess = callPackage ../development/libraries/librtprocess { }; + libsamplerate = callPackage ../development/libraries/libsamplerate { inherit (darwin.apple_sdk.frameworks) ApplicationServices Carbon CoreServices; };