a4fd2de975
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
29 lines
618 B
Nix
29 lines
618 B
Nix
{ stdenv
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "convfont";
|
|
version = "1.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "drdnar";
|
|
repo = pname;
|
|
rev = "v20190438";
|
|
sha256 = "1lj24yq5gj9hxhy1srk73521q95zyqzkws0q4v271hf5wmqaxa2f";
|
|
};
|
|
|
|
makeFlags = [ "CC=cc" ];
|
|
|
|
installPhase = ''
|
|
install -Dm755 convfont $out/bin/convfont
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Converts font for use with FontLibC";
|
|
homepage = "https://github.com/drdnar/convfont";
|
|
license = licenses.wtfpl;
|
|
maintainers = with maintainers; [ luc65r ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|