about summary refs log tree commit diff
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2023-01-06 23:53:10 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2023-01-06 23:53:10 +0100
commitd0178489812e5d8edcc8d82bc1440ddbc0a745a2 (patch)
treed48d43036884395ba8a21e6680abf0e2e33d6e3e
parent0a0861c9a815819c8264845f36994e5d616d9f2e (diff)
bdf2psf: 1.211 -> 1.215
-rw-r--r--pkgs/tools/misc/bdf2psf/default.nix16
1 files changed, 9 insertions, 7 deletions
diff --git a/pkgs/tools/misc/bdf2psf/default.nix b/pkgs/tools/misc/bdf2psf/default.nix
index daf0b943af6d3..4f0905b5cf714 100644
--- a/pkgs/tools/misc/bdf2psf/default.nix
+++ b/pkgs/tools/misc/bdf2psf/default.nix
@@ -2,11 +2,11 @@
 
 stdenv.mkDerivation rec {
   pname = "bdf2psf";
-  version = "1.211";
+  version = "1.215";
 
   src = fetchurl {
     url = "mirror://debian/pool/main/c/console-setup/bdf2psf_${version}_all.deb";
-    sha256 = "sha256-Kzmqnctc2RUMbU3hVGmcfXFWiZhf5epaaj2eW4nVajU=";
+    sha256 = "+xqxI4qaIJc6z7BcVDcKg4dhc+xH56ZEspWf7UPdHnY=";
   };
 
   nativeBuildInputs = [ dpkg ];
@@ -19,12 +19,14 @@ stdenv.mkDerivation rec {
     dpkg-deb -x $src .
     runHook postUnpack
   '';
-  installPhase = "
+
+  installPhase = ''
     runHook preInstall
-    substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
-    mv usr $out
+    substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl "${perl}/bin/perl"
+    rm usr/share/doc/bdf2psf/changelog.gz
+    mv usr "$out"
     runHook postInstall
-  ";
+  '';
 
   meta = with lib; {
     description = "BDF to PSF converter";
@@ -34,6 +36,6 @@ stdenv.mkDerivation rec {
     '';
     license = licenses.gpl2Plus;
     maintainers = with maintainers; [ rnhmjoj vrthra ];
-    platforms = platforms.unix;
+    platforms = platforms.all;
   };
 }