From 09aa4fc1cc71dbe7c843edaaf5c429c273fa8055 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 18 Nov 2025 09:52:19 -0800 Subject: [PATCH] libdng: init at 0.2.2 --- pkgs/by-name/li/libdng/package.nix | 51 ++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 pkgs/by-name/li/libdng/package.nix diff --git a/pkgs/by-name/li/libdng/package.nix b/pkgs/by-name/li/libdng/package.nix new file mode 100644 index 000000000000..84560352eb36 --- /dev/null +++ b/pkgs/by-name/li/libdng/package.nix @@ -0,0 +1,51 @@ +{ + fetchFromGitLab, + lib, + libpulseaudio, + libtiff, + meson, + ninja, + pkg-config, + scdoc, + stdenv, +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "libdng"; + version = "0.2.2"; + + outputs = [ + "out" + "dev" + ]; + + src = fetchFromGitLab { + owner = "megapixels-org"; + repo = "libdng"; + tag = finalAttrs.version; + hash = "sha256-2Kwz5K37I3HnnKePyY4nKYwnGHP09vr6IThiuKd3EfQ="; + }; + + nativeBuildInputs = [ + meson + ninja + pkg-config + scdoc + ]; + + buildInputs = [ + libpulseaudio + libtiff + ]; + + doCheck = true; + + meta = { + changelog = "https://gitlab.com/megapixels-org/libdng/-/tags/${finalAttrs.src.tag}"; + description = "Interface library between libtiff and the world to make sure the output is valid DNG"; + homepage = "https://gitlab.com/megapixels-org/libdng"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.dotlambda ]; + platforms = lib.platforms.linux; + }; +})