2019-11-09 20:52:54 +01:00
|
|
|
{ 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
|
|
|
};
|
|
|
|
|
2020-02-16 22:40:31 +01:00
|
|
|
cargoSha256 = "1w0q5w0bf1682jvzcml8cgmr9mrgi4if0p63wzchyjav330dp6pk";
|
2019-08-04 21:03:55 +02:00
|
|
|
|
2019-11-09 20:52:54 +01:00
|
|
|
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
|
|
|
|
2019-08-04 21:03:55 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Colourise your checksum output";
|
|
|
|
homepage = "https://github.com/ticky/coloursum";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ fgaz ];
|
|
|
|
};
|
|
|
|
}
|