Files
nixpkgs/pkgs/by-name/dn/dnglab/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
831 B
Nix

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "dnglab";
version = "0.7.1";
src = fetchFromGitHub {
owner = "dnglab";
repo = "dnglab";
rev = "v${version}";
# darwin/linux hash mismatch
postFetch = ''
rm -rf "$out"/rawler/data/testdata/cameras/Canon/{"EOS REBEL T7i","EOS Rebel T7i"}
'';
hash = "sha256-KBv7HhsGSPo1fa2QGXZi7zjh5Bu9wEtKwZ9X2TRkg2g=";
};
cargoHash = "sha256-0Fxhs6Igi5kf/I5wgQ6bM01ka3Favo4AhfIL2DSvLAw=";
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";
};
}