Unverified Commit 46cae6b1 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #189746 from chuangzhu/viu

parents 33eebe24 c6cae19d
Loading
Loading
Loading
Loading
+10 −2
Original line number Diff line number Diff line
{ lib, rustPlatform, fetchFromGitHub }:
{ lib
, rustPlatform
, fetchFromGitHub
, libsixel
, withSixel ? false
}:

rustPlatform.buildRustPackage rec {
  pname = "viu";
@@ -16,10 +21,13 @@ rustPlatform.buildRustPackage rec {

  cargoSha256 = "sha256-ildtjaYGbrQacJOdGDVwFv+kod+vZHqukWN6ARtJqI4=";

  buildFeatures = lib.optional withSixel "sixel";
  buildInputs = lib.optional withSixel libsixel;

  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; [ ];
    maintainers = with maintainers; [ chuangzhu ];
  };
}