1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/tools/misc/scfbuild/default.nix

35 lines
829 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub, python, pyyaml, fonttools, fontforge }:
2019-08-13 22:52:01 +01:00
buildPythonApplication {
pname = "scfbuild";
2020-09-16 10:23:38 +01:00
version = "2.0.0";
format = "other";
src = fetchFromGitHub {
owner = "13rac1";
repo = "scfbuild";
2020-09-16 10:23:38 +01:00
rev = "6d84339512a892972185d894704efa67dd82e87a";
sha256 = "0wkyzkhshlax9rvdmn441gv87n9abfr0qqmgs8bkg9kbcjb4bhad";
};
propagatedBuildInputs = [ pyyaml fonttools fontforge ];
installPhase = ''
runHook preInstall
mkdir -p $out/${python.sitePackages}
cp -r scfbuild $out/${python.sitePackages}
cp -r bin $out
runHook postInstall
'';
meta = with lib; {
description = "SVGinOT color font builder";
homepage = "https://github.com/13rac1/scfbuild";
license = licenses.gpl3;
maintainers = with maintainers; [ abbradar ];
};
}