eveeifyeve 620de8b78d skeditor: 2.8.1 -> 2.8.3; iconConvtools: expand to unix platforms
skeditor: renamed deps to fix updator

skeditor: fix script permission

skeditor: 2.8.1 -> 2.8.3

skeditor: removed nix file

skeditor: fix skeditor deps
2025-01-17 01:28:15 +11:00

37 lines
688 B
Nix

{
lib,
stdenv,
icoutils,
}:
stdenv.mkDerivation {
pname = "icon-conv-tools";
version = "0.0.0";
src = ./bin;
buildInputs = [ icoutils ];
patchPhase = ''
substituteInPlace extractWinRscIconsToStdFreeDesktopDir.sh \
--replace "icotool" "${icoutils}/bin/icotool" \
--replace "wrestool" "${icoutils}/bin/wrestool"
'';
buildPhase = ''
mkdir -p "$out/bin"
cp -p * "$out/bin"
'';
installPhase = "true";
dontPatchELF = true;
dontStrip = true;
meta = with lib; {
description = "Tools for icon conversion specific to nix package manager";
maintainers = with maintainers; [ jraygauthier ];
platforms = platforms.unix;
};
}