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

25 lines
647 B
Nix
Raw Normal View History

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