nixpkgs/pkgs/tools/misc/bdf2psf/default.nix
R. RyanTM 1cbbf3088e bdf2psf: 1.178 -> 1.184
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/bdf2psf/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/xd8wdqmq5583b39cl6bwv1n2mnfxlz2y-bdf2psf-1.184/bin/bdf2psf -h’ got 0 exit code
- ran ‘/nix/store/xd8wdqmq5583b39cl6bwv1n2mnfxlz2y-bdf2psf-1.184/bin/bdf2psf --help’ got 0 exit code
- found 1.184 with grep in /nix/store/xd8wdqmq5583b39cl6bwv1n2mnfxlz2y-bdf2psf-1.184
- directory tree listing: https://gist.github.com/8810c5939feee7c4840d8eae52e98832
2018-04-26 07:24:38 -07:00

34 lines
890 B
Nix

{ stdenv, fetchurl, perl, dpkg }:
stdenv.mkDerivation rec {
name = "bdf2psf-${version}";
version = "1.184";
src = fetchurl {
url = "mirror://debian/pool/main/c/console-setup/bdf2psf_${version}_all.deb";
sha256 = "0lyxiwm0586b8gyl13ks2rqqa6abkqaxc4i08hvwyza1k1cqm2jc";
};
buildInputs = [ dpkg ];
dontConfigure = true;
dontBuild = true;
unpackPhase = "dpkg-deb -x $src .";
installPhase = "
substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
mv usr/bin .
cp -r . $out
";
meta = with stdenv.lib; {
description = "BDF to PSF converter";
homepage = https://packages.debian.org/sid/bdf2psf;
longDescription = ''
Font converter to generate console fonts from BDF source fonts
'';
license = licenses.gpl2;
maintainers = with maintainers; [ rnhmjoj vrthra ];
platforms = platforms.unix;
};
}