bdf2psf: fix license, run pre/post hooks
This commit is contained in:
parent
2e73ee0c4f
commit
85b236e54a
@ -14,10 +14,16 @@ stdenv.mkDerivation rec {
|
|||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
|
|
||||||
unpackPhase = "dpkg-deb -x $src .";
|
unpackPhase = ''
|
||||||
|
runHook preUnpack
|
||||||
|
dpkg-deb -x $src .
|
||||||
|
runHook postUnpack
|
||||||
|
'';
|
||||||
installPhase = "
|
installPhase = "
|
||||||
|
runHook preInstall
|
||||||
substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
|
substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
|
||||||
mv usr $out
|
mv usr $out
|
||||||
|
runHook postInstall
|
||||||
";
|
";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -26,7 +32,7 @@ stdenv.mkDerivation rec {
|
|||||||
longDescription = ''
|
longDescription = ''
|
||||||
Font converter to generate console fonts from BDF source fonts
|
Font converter to generate console fonts from BDF source fonts
|
||||||
'';
|
'';
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ rnhmjoj vrthra ];
|
maintainers = with maintainers; [ rnhmjoj vrthra ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user