mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
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;
|
||||
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…
Reference in New Issue
Block a user