1 { lib, stdenvNoCC, fetchFromGitHub, makeWrapper, imagemagick }:
3 stdenvNoCC.mkDerivation (finalAttrs: {
7 src = fetchFromGitHub {
10 rev = finalAttrs.version;
11 sha256 = "sha256-msTG7otjzksg/2XyPDy31LEb7uGXSgB8fzfHvad9nPA=";
14 nativeBuildInputs = [ makeWrapper ];
19 install -Dm755 lsix -t $out/bin
25 wrapProgram $out/bin/lsix \
26 --prefix PATH : ${lib.makeBinPath [ (imagemagick.override { ghostscriptSupport = true;}) ]}
30 description = "Shows thumbnails in terminal using sixel graphics";
31 homepage = "https://github.com/hackerb9/lsix";
32 license = licenses.gpl3Only;
33 platforms = platforms.all;
34 maintainers = with maintainers; [ justinlime kidonng ];