diff options
author | Aaron Andersen <aaron@fosslib.net> | 2019-05-04 20:19:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-04 20:19:50 -0400 |
commit | 0eaec72f4c60e126ea9b31eb747a4341e6adf3c7 (patch) | |
tree | 8683ef38b925a4cc0ee86eee11e5f2280f6ad00f /pkgs/tools/graphics | |
parent | d0c509fc31cc6a65675cb5db8687aa678278562a (diff) | |
parent | b67e9f3958c4c73b27a1864eea4f47eec733080a (diff) | |
download | nixpkgs-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.nix | 23 |
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; + }; +} |