Merge pull request #281392 from justinlime/lsix

lsix: Fix Font Issues
This commit is contained in:
Franz Pletz 2024-01-25 09:27:43 +01:00 committed by GitHub
commit 2bcbada7a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,13 +1,13 @@
{ lib, stdenvNoCC, fetchFromGitHub, makeWrapper, imagemagick }:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "lsix";
version = "1.8.2";
src = fetchFromGitHub {
owner = "hackerb9";
repo = pname;
rev = version;
repo = "lsix";
rev = finalAttrs.version;
sha256 = "sha256-xlOlAfZonSo/RERt5WxPqMvppVrY5/Yhh7SgCCsYDQE=";
};
@ -23,7 +23,7 @@ stdenvNoCC.mkDerivation rec {
postFixup = ''
wrapProgram $out/bin/lsix \
--prefix PATH : ${lib.makeBinPath [ imagemagick ]}
--prefix PATH : ${lib.makeBinPath [ (imagemagick.override { ghostscriptSupport = true;}) ]}
'';
meta = with lib; {
@ -31,7 +31,7 @@ stdenvNoCC.mkDerivation rec {
homepage = "https://github.com/hackerb9/lsix";
license = licenses.gpl3Only;
platforms = platforms.all;
maintainers = with maintainers; [ kidonng ];
maintainers = with maintainers; [ justinlime kidonng ];
mainProgram = "lsix";
};
}
})