nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 790 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "srisum"; 9 version = "5.0.0"; 10 11 src = fetchFromGitHub { 12 owner = "zkat"; 13 repo = "srisum-rs"; 14 rev = "v${version}"; 15 hash = "sha256-Nw3uTGOcz1ivAm9X+PnOdNA937wuK3vtJQ0iJHlHVdw="; 16 }; 17 18 cargoHash = "sha256-J++aj925krYvOTzcuVZSEk+eYupL0M7o407fd1dCjeA="; 19 20 doInstallCheck = true; 21 22 meta = { 23 description = "Command-line utility to compute and check subresource integrity hashes"; 24 homepage = "https://github.com/zkat/srisum-rs"; 25 changelog = "https://github.com/zkat/srisum-rs/raw/v${version}/CHANGELOG.md"; 26 license = with lib.licenses; [ asl20 ]; 27 maintainers = with lib.maintainers; [ pjjw ]; 28 platforms = lib.platforms.all; 29 mainProgram = "srisum"; 30 }; 31}