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