Unverified Commit 07c85201 authored by Luflosi's avatar Luflosi
Browse files

postprocessd: init at 0.3.0

parent 5d9936f6
Loading
Loading
Loading
Loading
+53 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromSourcehut,
  libexif,
  libraw,
  meson,
  ninja,
  opencv4,
  pkg-config,
  scdoc,
  stdenv,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "postprocessd";
  version = "0.3.0";

  src = fetchFromSourcehut {
    owner = "~martijnbraam";
    repo = "postprocessd";
    rev = finalAttrs.version;
    hash = "sha256-xqEjjAv27TUrEU/5j8Um7fTFjmIYZovyJCccbtHPuGo=";
  };

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
    scdoc
  ];

  depsBuildBuild = [
    pkg-config
  ];

  buildInputs = [
    libexif
    libraw
    opencv4
  ];

  strictDeps = true;

  meta = {
    description = "Queueing megapixels post-processor";
    homepage = "https://git.sr.ht/~martijnbraam/postprocessd";
    changelog = "https://git.sr.ht/~martijnbraam/postprocessd/refs/${finalAttrs.version}";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ Luflosi ];
    platforms = lib.platforms.linux;
    mainProgram = "postprocess-single";
  };
})