nixpkgs/pkgs/tools/misc/backdown/default.nix
2024-09-23 10:04:07 +00:00

28 lines
668 B
Nix

{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "backdown";
version = "1.1.2";
src = fetchFromGitHub {
owner = "Canop";
repo = "backdown";
rev = "v${version}";
hash = "sha256-3+XmMRZz3SHF1sL+/CUvu4uQ2scE4ACpcC0r4nWhdkM=";
};
cargoHash = "sha256-+SxXOpSBuVVdX2HmJ4vF45uf5bvRtPdwaXUb9kq+lK0=";
meta = with lib; {
description = "File deduplicator";
homepage = "https://github.com/Canop/backdown";
changelog = "https://github.com/Canop/backdown/blob/${src.rev}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "backdown";
};
}