nixpkgs-suyu/pkgs/tools/text/coloursum/default.nix

25 lines
647 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
2019-08-04 21:03:55 +02:00
rustPlatform.buildRustPackage rec {
2019-08-31 13:41:23 +02:00
pname = "coloursum";
2019-11-06 17:05:29 +01:00
version = "0.2.0";
2019-08-04 21:03:55 +02:00
src = fetchFromGitHub {
owner = "ticky";
repo = "coloursum";
rev = "v${version}";
2019-11-06 17:05:29 +01:00
sha256 = "1piz0l7qdcvjzfykm6rzqc8s1daxp3cj3923v9cmm41bc2v0p5q0";
2019-08-04 21:03:55 +02:00
};
cargoSha256 = "1w0q5w0bf1682jvzcml8cgmr9mrgi4if0p63wzchyjav330dp6pk";
2019-08-04 21:03:55 +02:00
2021-01-15 10:19:50 +01:00
buildInputs = lib.optional stdenv.isDarwin Security;
2019-11-09 20:52:54 +01:00
meta = with lib; {
2019-08-04 21:03:55 +02:00
description = "Colourise your checksum output";
homepage = "https://github.com/ticky/coloursum";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
};
}