mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
commit
2bcbada7a1
@ -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";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user