Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
688 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "convfont";
version = "1.2";
src = fetchFromGitHub {
owner = "drdnar";
repo = "convfont";
rev = "a4f90539165ef15e391ad8cf26a14d4876072dc8";
sha256 = "sha256-xDn29/HETeao0cwvt2LohA37sGQQ20gtBdYr20vA04A=";
};
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installPhase = ''
install -Dm755 convfont $out/bin/convfont
'';
meta = with lib; {
description = "Converts font for use with FontLibC";
homepage = "https://github.com/drdnar/convfont";
license = lib.licenses.unfree;
maintainers = [ ];
platforms = platforms.all;
mainProgram = "convfont";
};
}