Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 55 lines 1.0 kB view raw
1{ 2 lib, 3 fetchFromSourcehut, 4 libexif, 5 libraw, 6 libtiff, 7 meson, 8 ninja, 9 opencv4, 10 pkg-config, 11 scdoc, 12 stdenv, 13}: 14 15stdenv.mkDerivation (finalAttrs: { 16 pname = "postprocessd"; 17 version = "0.3.0"; 18 19 src = fetchFromSourcehut { 20 owner = "~martijnbraam"; 21 repo = "postprocessd"; 22 rev = finalAttrs.version; 23 hash = "sha256-xqEjjAv27TUrEU/5j8Um7fTFjmIYZovyJCccbtHPuGo="; 24 }; 25 26 nativeBuildInputs = [ 27 meson 28 ninja 29 pkg-config 30 scdoc 31 ]; 32 33 depsBuildBuild = [ 34 pkg-config 35 ]; 36 37 buildInputs = [ 38 libexif 39 libraw 40 libtiff 41 opencv4 42 ]; 43 44 strictDeps = true; 45 46 meta = { 47 description = "Queueing megapixels post-processor"; 48 homepage = "https://git.sr.ht/~martijnbraam/postprocessd"; 49 changelog = "https://git.sr.ht/~martijnbraam/postprocessd/refs/${finalAttrs.version}"; 50 license = lib.licenses.gpl3Only; 51 maintainers = with lib.maintainers; [ Luflosi ]; 52 platforms = lib.platforms.linux; 53 mainProgram = "postprocess-single"; 54 }; 55})