nixpkgs-suyu/pkgs/tools/misc/convfont/default.nix

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

31 lines
671 B
Nix
Raw Normal View History

{ lib, stdenv
2020-10-28 12:04:04 +01:00
, 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" ];
2020-10-28 12:04:04 +01:00
installPhase = ''
install -Dm755 convfont $out/bin/convfont
'';
meta = with lib; {
2020-10-28 12:04:04 +01:00
description = "Converts font for use with FontLibC";
homepage = "https://github.com/drdnar/convfont";
license = licenses.wtfpl;
maintainers = with maintainers; [ luc65r ];
platforms = platforms.all;
2023-11-27 02:17:53 +01:00
mainProgram = "convfont";
2020-10-28 12:04:04 +01:00
};
}