Merge pull request #130526 from kidonng/lsix
This commit is contained in:
commit
c14c908a90
|
@ -5490,6 +5490,12 @@
|
||||||
githubId = 25607;
|
githubId = 25607;
|
||||||
name = "Raimon Grau";
|
name = "Raimon Grau";
|
||||||
};
|
};
|
||||||
|
kidonng = {
|
||||||
|
email = "hi@xuann.wang";
|
||||||
|
github = "kidonng";
|
||||||
|
githubId = 44045911;
|
||||||
|
name = "Kid";
|
||||||
|
};
|
||||||
kierdavis = {
|
kierdavis = {
|
||||||
email = "kierdavis@gmail.com";
|
email = "kierdavis@gmail.com";
|
||||||
github = "kierdavis";
|
github = "kierdavis";
|
||||||
|
|
36
pkgs/tools/graphics/lsix/default.nix
Normal file
36
pkgs/tools/graphics/lsix/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper, imagemagick }:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "lsix";
|
||||||
|
version = "1.7.4";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "hackerb9";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "sha256-mOueSNhf1ywG4k1kRODBaWRjy0L162BAO1HRPaMMbFM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -Dm755 lsix -t $out/bin
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
wrapProgram $out/bin/lsix \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ imagemagick ]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Shows thumbnails in terminal using sixel graphics";
|
||||||
|
homepage = "https://github.com/hackerb9/lsix";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
platforms = platforms.all;
|
||||||
|
maintainers = with maintainers; [ kidonng ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1646,6 +1646,8 @@ in
|
||||||
|
|
||||||
lesspass-cli = callPackage ../tools/security/lesspass-cli { };
|
lesspass-cli = callPackage ../tools/security/lesspass-cli { };
|
||||||
|
|
||||||
|
lsix = callPackage ../tools/graphics/lsix { };
|
||||||
|
|
||||||
mpdevil = callPackage ../applications/audio/mpdevil { };
|
mpdevil = callPackage ../applications/audio/mpdevil { };
|
||||||
|
|
||||||
pacparser = callPackage ../tools/networking/pacparser { };
|
pacparser = callPackage ../tools/networking/pacparser { };
|
||||||
|
|
Loading…
Reference in a new issue