From 838f374448892f094ff69d9a00772a68a1643cc2 Mon Sep 17 00:00:00 2001 From: Mostly Void <7rat13@gmail.com> Date: Sun, 2 Oct 2022 20:16:22 +0530 Subject: dnglab: init at 0.5.0 --- pkgs/tools/graphics/dnglab/default.nix | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pkgs/tools/graphics/dnglab/default.nix (limited to 'pkgs/tools/graphics') diff --git a/pkgs/tools/graphics/dnglab/default.nix b/pkgs/tools/graphics/dnglab/default.nix new file mode 100644 index 0000000000000..eafed87ba1f86 --- /dev/null +++ b/pkgs/tools/graphics/dnglab/default.nix @@ -0,0 +1,28 @@ +{ lib +, rustPlatform +, fetchFromGitHub +}: +rustPlatform.buildRustPackage rec { + pname = "dnglab"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "dnglab"; + repo = pname; + rev = "v${version}"; + sha256 = "sha256-4uTpCBzBBkcpVBVZMOBD6f9ut71OuUNQ5+AkaQcU86M="; + }; + + cargoSha256 = "sha256-WvXQNDYvR6s4M2Hlpqwq1/wFQYW2QU/ngQimKOFkhOQ="; + + postInstall = '' + rm $out/bin/benchmark $out/bin/identify + ''; + + meta = with lib; { + description = "Camera RAW to DNG file format converter"; + homepage = "https://github.com/dnglab/dnglab"; + license = licenses.lgpl21Only; + maintainers = with maintainers; [ dit7ya ]; + }; +} -- cgit 1.4.1