1 { lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
3 rustPlatform.buildRustPackage rec {
7 src = fetchFromGitHub {
11 hash = "sha256-zA2JhSnlFccSY01WMGsgF4AmrF/3BRUCcSMfoEbEPgA=";
14 cargoHash = "sha256-dhcTpff4h37MHNbLoYUZiolSclSGcFrMJ3kKLCZAVAw=";
16 buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
19 description = "Colourise your checksum output";
20 mainProgram = "coloursum";
21 homepage = "https://github.com/ticky/coloursum";
22 license = licenses.mit;
23 maintainers = with maintainers; [ fgaz ];