2018-02-25 17:19:10 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, python, pyyaml, fonttools, fontforge }:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
buildPythonApplication {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "scfbuild";
|
2018-02-25 17:19:10 +00:00
|
|
|
version = "1.0.3";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "eosrei";
|
|
|
|
repo = "scfbuild";
|
2019-02-27 19:47:59 +00:00
|
|
|
rev = "9acc7fc5fedbf48683d8932dd5bd7583bf922bae";
|
|
|
|
sha256 = "1zlqsxkpg7zvmhdjgbqwwc9qgac2b8amzq8c5kwyh5cv95zcp6qn";
|
2018-02-25 17:19:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
phases = [ "unpackPhase" "installPhase" "fixupPhase" ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyyaml fonttools fontforge ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/${python.sitePackages}
|
|
|
|
cp -r scfbuild $out/${python.sitePackages}
|
|
|
|
cp -r bin $out
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "SVGinOT color font builder";
|
|
|
|
homepage = https://github.com/eosrei/scfbuild;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
};
|
|
|
|
}
|