Merge pull request #113883 from r-ryantm/auto-update/bdf2psf

bdf2psf: 1.200 -> 1.201
This commit is contained in:
Michele Guerini Rocco 2021-02-21 11:15:11 +01:00 committed by GitHub
commit 8dfaad76ff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "bdf2psf";
version = "1.200";
version = "1.201";
src = fetchurl {
url = "mirror://debian/pool/main/c/console-setup/bdf2psf_${version}_all.deb";
sha256 = "07z686h2fv9b3446fcym0sfzxwgkm9cc4bd3zhpv6j8bdfadnjxw";
sha256 = "sha256-XVaROIxyNBBFoXf+K1mv4mW8wWozqMcs1cgaWj8L8Q0=";
};
nativeBuildInputs = [ dpkg ];
@ -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;
};