mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
25 lines
716 B
Nix
25 lines
716 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "viu";
|
|
version = "1.2.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atanunq";
|
|
repo = "viu";
|
|
rev = "v${version}";
|
|
sha256 = "1q248jnbv64mkvg18465dpvjkw2v2hfqyvdvdixyrwyrnlv5cicv";
|
|
};
|
|
# tests are failing, reported at upstream: https://github.com/atanunq/viu/issues/40
|
|
doCheck = false;
|
|
|
|
cargoSha256 = "18rskn8fchlgk295yk8sc2g1x6h43rmhqif871hgzdx1i35sbajr";
|
|
|
|
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 ];
|
|
};
|
|
}
|