nixpkgs-suyu/pkgs/tools/graphics/viu/default.nix

25 lines
716 B
Nix
Raw Normal View History

2019-05-04 02:35:55 +02:00
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
pname = "viu";
2020-11-12 12:06:52 +01:00
version = "1.2.1";
2019-05-04 02:35:55 +02:00
src = fetchFromGitHub {
owner = "atanunq";
repo = "viu";
rev = "v${version}";
2020-11-12 12:06:52 +01:00
sha256 = "1q248jnbv64mkvg18465dpvjkw2v2hfqyvdvdixyrwyrnlv5cicv";
2019-05-04 02:35:55 +02:00
};
2020-04-08 23:24:57 +02:00
# tests are failing, reported at upstream: https://github.com/atanunq/viu/issues/40
doCheck = false;
2019-05-04 02:35:55 +02:00
2020-11-12 12:06:52 +01:00
cargoSha256 = "18rskn8fchlgk295yk8sc2g1x6h43rmhqif871hgzdx1i35sbajr";
2019-05-04 02:35:55 +02:00
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 ];
};
}