504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
30 lines
671 B
Nix
30 lines
671 B
Nix
{ lib, stdenv
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "convfont";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "drdnar";
|
|
repo = pname;
|
|
rev = "v20190438";
|
|
sha256 = "1lj24yq5gj9hxhy1srk73521q95zyqzkws0q4v271hf5wmqaxa2f";
|
|
};
|
|
|
|
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 = licenses.wtfpl;
|
|
maintainers = with maintainers; [ luc65r ];
|
|
platforms = platforms.all;
|
|
mainProgram = "convfont";
|
|
};
|
|
}
|