bdf2psf: fix license, run pre/post hooks

wip/yesman
rnhmjoj 3 years ago
parent 2e73ee0c4f
commit 85b236e54a
No known key found for this signature in database
GPG Key ID: BFBAF4C975F76450
  1. 10
      pkgs/tools/misc/bdf2psf/default.nix

@ -14,10 +14,16 @@ stdenv.mkDerivation rec {
dontConfigure = true;
dontBuild = true;
unpackPhase = "dpkg-deb -x $src .";
unpackPhase = ''
runHook preUnpack
dpkg-deb -x $src .
runHook postUnpack
'';
installPhase = "
runHook preInstall
substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
mv usr $out
runHook postInstall
";
meta = with lib; {
@ -26,7 +32,7 @@ stdenv.mkDerivation rec {
longDescription = ''
Font converter to generate console fonts from BDF source fonts
'';
license = licenses.gpl2;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ rnhmjoj vrthra ];
platforms = platforms.unix;
};

Loading…
Cancel
Save