2018-02-25 17:19:10 +00:00
|
|
|
{ lib, buildPythonApplication, fetchFromGitHub, python, pyyaml, fonttools, fontforge }:
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
|
|
|
name = "scfbuild-${version}";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|