2019-05-04 01:35:55 +01:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "viu";
|
2019-05-09 18:33:59 +01:00
|
|
|
version = "0.2.1";
|
2019-05-04 01:35:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "atanunq";
|
|
|
|
repo = "viu";
|
|
|
|
rev = "v${version}";
|
2019-05-09 18:33:59 +01:00
|
|
|
sha256 = "0p4ibvv0qrflqdc2bi9rjn7yhn01ncxrpqpxmh8cbq67rbvm7jnx";
|
2019-05-04 01:35:55 +01:00
|
|
|
};
|
|
|
|
|
2019-05-09 18:33:59 +01:00
|
|
|
cargoSha256 = "1h9dm2hhld2079dnx4x5nzkn3ivk6g5ijhv49jxnc200mx4mr1s5";
|
2019-05-04 01:35:55 +01: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 ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|