base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / text / coloursum / default.nix
blob8e84a1de14bce2a4bef556490fa3e010f6b8115f
1 { lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
3 rustPlatform.buildRustPackage rec {
4   pname = "coloursum";
5   version = "0.3.0";
7   src = fetchFromGitHub {
8     owner = "ticky";
9     repo = "coloursum";
10     rev = "v${version}";
11     hash = "sha256-zA2JhSnlFccSY01WMGsgF4AmrF/3BRUCcSMfoEbEPgA=";
12   };
14   cargoHash = "sha256-dhcTpff4h37MHNbLoYUZiolSclSGcFrMJ3kKLCZAVAw=";
16   buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
18   meta = with lib; {
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 ];
24   };