nixpkgs/pkgs/by-name/sr/srisum/package.nix

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

31 lines
787 B
Nix
Raw Normal View History

{
lib,
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;
2023-11-27 01:17:53 +00:00
mainProgram = "srisum";
};
}