aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/text
diff options
context:
space:
mode:
authorMarek Mahut <marek.mahut@gmail.com>2019-08-09 10:22:43 +0200
committerGitHub <noreply@github.com>2019-08-09 10:22:43 +0200
commit9ce3f577167f25e52f5b028d2a196a5ba0ebcc10 (patch)
tree04ebcc4ed97613be25569129fb0cb2bf1fa31aaf /pkgs/tools/text
parentfe9fe5ef5723ea6edb363ae0a3398baab77998d6 (diff)
parent30817f9779ac1bfed088510b55689532706fce2b (diff)
Merge pull request #65973 from fgaz/coloursum/init
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 00000000000..49db5e13d72
--- /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 ];
+ };
+}