2021-01-11 08:54:33 +01:00
|
|
|
{ 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
|
|
|
};
|
|
|
|
|
2021-05-07 13:00:49 +02:00
|
|
|
cargoSha256 = "08l01ivmln9gwabwa1p0gk454qyxlcpnlxx840vys476f4pw7vvf";
|
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
|
|
|
|
2021-01-11 08:54:33 +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 ];
|
|
|
|
};
|
|
|
|
}
|