depot/third_party/nixpkgs/pkgs/tools/text/coloursum/default.nix
Default email ec92d4d331 Project import generated by Copybara.
GitOrigin-RevId: 540dccb2aeaffa9dc69bfdc41c55abd7ccc6baa3
2021-05-28 11:39:13 +02:00

24 lines
647 B
Nix

{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "coloursum";
version = "0.2.0";
src = fetchFromGitHub {
owner = "ticky";
repo = "coloursum";
rev = "v${version}";
sha256 = "1piz0l7qdcvjzfykm6rzqc8s1daxp3cj3923v9cmm41bc2v0p5q0";
};
cargoSha256 = "08l01ivmln9gwabwa1p0gk454qyxlcpnlxx840vys476f4pw7vvf";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Colourise your checksum output";
homepage = "https://github.com/ticky/coloursum";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
};
}