nixpkgs/pkgs/by-name/ba/backdown/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
673 B
Nix
Raw Normal View History

{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "backdown";
2024-09-23 10:04:07 +00:00
version = "1.1.2";
src = fetchFromGitHub {
owner = "Canop";
repo = "backdown";
rev = "v${version}";
2024-09-23 10:04:07 +00:00
hash = "sha256-3+XmMRZz3SHF1sL+/CUvu4uQ2scE4ACpcC0r4nWhdkM=";
};
2024-09-23 10:04:07 +00:00
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";
};
}