diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2023-07-25 03:12:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 03:12:25 +0200 |
commit | 8c82245e294808064a1b5155ad56254dc1a91513 (patch) | |
tree | 35754600067c3c2b7cd91112c7dd350b68d82c7f /pkgs/tools/graphics | |
parent | 315799b55d43593a8c6222987b09140121cfa8db (diff) | |
parent | 838f374448892f094ff69d9a00772a68a1643cc2 (diff) |
Merge pull request #194082 from dit7ya/dnglab
dnglab: init at 0.5.0
Diffstat (limited to 'pkgs/tools/graphics')
-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 ]; + }; +} |