about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorRyan Mulligan <ryan@ryantm.com>2019-03-03 13:10:19 -0800
committerGitHub <noreply@github.com>2019-03-03 13:10:19 -0800
commit2e5c30c3b6ce6cddd722900fb778c2b7bd5c545b (patch)
treea50dfc8078f742a1c99741d45af23e77faa6bfe7 /pkgs/tools
parente4feadc1bf3a8ebe776bb834e02c2cf4fa1ab8d7 (diff)
parent146408d4ef571e962bb9a1774f2df169b542d228 (diff)
Merge pull request #56726 from ryantm/catimg
catimg: init at 2.5.0
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/catimg/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/misc/catimg/default.nix b/pkgs/tools/misc/catimg/default.nix
new file mode 100644
index 0000000000000..1d85fdfd292ce
--- /dev/null
+++ b/pkgs/tools/misc/catimg/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, cmake } :
+
+with stdenv.lib;
+
+stdenv.mkDerivation rec {
+  pname = "catimg";
+  version = "2.5.0";
+
+  src = fetchFromGitHub {
+    owner = "posva";
+    repo = pname;
+    rev = version;
+    sha256 = "0n74iczzgxrcq3zpa7ndycb9rinm829yvf81c747q4ngv5q6pzcm";
+  };
+
+  nativeBuildInputs = [ cmake ];
+
+  meta = {
+    license = licenses.mit;
+    homepage = "https://github.com/posva/catimg";
+    description = "Insanely fast image printing in your terminal";
+    maintainers = with maintainers; [ ryantm ];
+    platforms = platforms.unix;
+  };
+
+}