summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2019-08-04 21:03:55 +0200
committerFrancesco Gazzetta <fgaz@fgaz.me>2019-08-04 21:03:55 +0200
commit30817f9779ac1bfed088510b55689532706fce2b (patch)
treef48fccfbc2d193b55793cb925070f0ad406d2ada /pkgs/tools/text
parent386f516fba353a2e4a1df363ae6efa5f5b8d09b8 (diff)
coloursum: init at 0.1.0
Diffstat (limited to 'pkgs/tools/text')
-rw-r--r--pkgs/tools/text/coloursum/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/text/coloursum/default.nix b/pkgs/tools/text/coloursum/default.nix
new file mode 100644
index 000000000000..49db5e13d721
--- /dev/null
+++ b/pkgs/tools/text/coloursum/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchFromGitHub, rustPlatform }:
+
+rustPlatform.buildRustPackage rec {
+ name = "coloursum-${version}";
+ version = "0.1.0";
+
+ src = fetchFromGitHub {
+ owner = "ticky";
+ repo = "coloursum";
+ rev = "v${version}";
+ sha256 = "18ikwi0ihn0vadazrkh85jfz8a2f0dkfb3zns5jzh7p7mb0ylrr2";
+ };
+
+ cargoSha256 = "0f73vqa82w4ccr0cc95mxga3r8jgd92jnksshxzaffbpx4s334p3";
+
+ 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 ];
+ };
+}