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