diff options
author | Mostly Void <7rat13@gmail.com> | 2022-10-02 20:16:22 +0530 |
---|---|---|
committer | Mostly Void <7rat13@gmail.com> | 2022-10-02 20:17:21 +0530 |
commit | 838f374448892f094ff69d9a00772a68a1643cc2 (patch) | |
tree | 68a412bf89b0f6ccf71e120d194d6955db4f2f0b /pkgs/tools/graphics/dnglab | |
parent | b881869205e82652b4c5ce7ebff3b3fea5a4817b (diff) |
dnglab: init at 0.5.0
Diffstat (limited to 'pkgs/tools/graphics/dnglab')
-rw-r--r-- | pkgs/tools/graphics/dnglab/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
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 ]; + }; +} |