nixpkgs/pkgs/tools/misc/srisum/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

30 lines
791 B
Nix

{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "srisum";
version = "5.0.0";
src = fetchFromGitHub {
owner = "zkat";
repo = "srisum-rs";
rev = "v${version}";
hash = "sha256-Nw3uTGOcz1ivAm9X+PnOdNA937wuK3vtJQ0iJHlHVdw=";
};
cargoHash = "sha256-q6FGykY+HmU3/jMaGRO36OlYGVLG9mU8yZ8j/Shux3s=";
doInstallCheck = true;
meta = with lib; {
description = "Command-line utility to compute and check subresource integrity hashes";
homepage = "https://github.com/zkat/srisum-rs";
changelog = "https://github.com/zkat/srisum-rs/raw/v${version}/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ pjjw ];
platforms = platforms.all;
mainProgram = "srisum";
};
}