mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
30 lines
678 B
Nix
30 lines
678 B
Nix
{ lib
|
|
, rustPlatform
|
|
, fetchFromGitHub
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "dnglab";
|
|
version = "0.5.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dnglab";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-jkOkkcMFK1RLY8Hn/bMMuMZtyGwnwGdm0os8QKhcWqo=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-qwhOJxFYRJC51dKB1pi/WVJs7H955jM6KmKbxsAScDI=";
|
|
|
|
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 ];
|
|
mainProgram = "dnglab";
|
|
};
|
|
}
|