3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/graphics/viu/default.nix
2019-05-04 14:07:24 +02:00

24 lines
640 B
Nix

{ 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;
};
}