summary refs log tree commit diff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2019-05-04 20:19:50 -0400
committerGitHub <noreply@github.com>2019-05-04 20:19:50 -0400
commit0eaec72f4c60e126ea9b31eb747a4341e6adf3c7 (patch)
tree8683ef38b925a4cc0ee86eee11e5f2280f6ad00f /pkgs/tools/graphics
parentd0c509fc31cc6a65675cb5db8687aa678278562a (diff)
parentb67e9f3958c4c73b27a1864eea4f47eec733080a (diff)
downloadnixpkgs-0eaec72f4c60e126ea9b31eb747a4341e6adf3c7.tar
nixpkgs-0eaec72f4c60e126ea9b31eb747a4341e6adf3c7.tar.gz
nixpkgs-0eaec72f4c60e126ea9b31eb747a4341e6adf3c7.tar.bz2
nixpkgs-0eaec72f4c60e126ea9b31eb747a4341e6adf3c7.tar.lz
nixpkgs-0eaec72f4c60e126ea9b31eb747a4341e6adf3c7.tar.xz
nixpkgs-0eaec72f4c60e126ea9b31eb747a4341e6adf3c7.tar.zst
nixpkgs-0eaec72f4c60e126ea9b31eb747a4341e6adf3c7.zip
Merge pull request #60901 from petabyteboy/feature/viu
viu: init at 0.1 (fixes #60831)
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/viu/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/viu/default.nix b/pkgs/tools/graphics/viu/default.nix
new file mode 100644
index 00000000000..1d554b1faf6
--- /dev/null
+++ b/pkgs/tools/graphics/viu/default.nix
@@ -0,0 +1,23 @@
+{ lib, rustPlatform, fetchFromGitHub }:
+
+rustPlatform.buildRustPackage rec {
+  pname = "viu";
+  version = "0.1";
+
+  src = fetchFromGitHub {
+    owner = "atanunq";
+    repo = "viu";
+    rev = "v${version}";
+    sha256 = "1j2sr8mhnbyzm168spzr4mk8gkjlfqh993b80sf2zv2sy83p8gfv";
+  };
+
+  cargoSha256 = "14pf2xvkk9qqq9qj5agxmfl3npgy6my961yfzv7p977712kdakh3";
+
+  meta = with lib; {
+    description = "A command-line application to view images from the terminal written in Rust";
+    homepage = "https://github.com/atanunq/viu";
+    license = licenses.mit;
+    maintainers = with maintainers; [ petabyteboy ];
+    platforms = platforms.all;
+  };
+}