2495e3f88b
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
25 lines
668 B
Nix
25 lines
668 B
Nix
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "viu";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "atanunq";
|
|
repo = "viu";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-lAuIl25368Gv717a8p2So1o1VMDJJAOlDdqfItYizo4=";
|
|
};
|
|
|
|
# tests need an interactive terminal
|
|
doCheck = false;
|
|
|
|
cargoSha256 = "sha256-ildtjaYGbrQacJOdGDVwFv+kod+vZHqukWN6ARtJqI4=";
|
|
|
|
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 ];
|
|
};
|
|
}
|