Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 25 lines 677 B view raw
1{ lib, stdenv, fetchFromGitHub, cmake, llvmPackages }: 2 3stdenv.mkDerivation rec { 4 pname = "librtprocess"; 5 version = "0.12.0"; 6 7 src = fetchFromGitHub { 8 owner = "CarVac"; 9 repo = "librtprocess"; 10 rev = version; 11 hash = "sha256-/1o6SWUor+ZBQ6RsK2PoDRu03jcVRG58PNYFttriH2w="; 12 }; 13 14 nativeBuildInputs = [ cmake ]; 15 16 buildInputs = lib.optionals stdenv.isDarwin [ llvmPackages.openmp ]; 17 18 meta = with lib; { 19 description = "Highly optimized library for processing RAW images"; 20 homepage = "https://github.com/CarVac/librtprocess"; 21 license = licenses.gpl3Plus; 22 maintainers = with maintainers; [ hjones2199 ]; 23 platforms = platforms.unix; 24 }; 25}