biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / misc / scfbuild / default.nix
blob6dfe9d0a0a634a9f5da00f88e090af14fe21e621
2   lib,
3   buildPythonApplication,
4   fetchFromGitHub,
5   python,
6   pyyaml,
7   fonttools,
8   fontforge,
9   setuptools,
12 buildPythonApplication {
13   pname = "scfbuild";
14   version = "2.0.0";
16   format = "other";
18   src = fetchFromGitHub {
19     owner = "13rac1";
20     repo = "scfbuild";
21     rev = "6d84339512a892972185d894704efa67dd82e87a";
22     sha256 = "0wkyzkhshlax9rvdmn441gv87n9abfr0qqmgs8bkg9kbcjb4bhad";
23   };
25   propagatedBuildInputs = [
26     pyyaml
27     fonttools
28     fontforge
29     setuptools
30   ];
32   installPhase = ''
33     runHook preInstall
35     mkdir -p $out/${python.sitePackages}
36     cp -r scfbuild $out/${python.sitePackages}
37     cp -r bin $out
39     runHook postInstall
40   '';
42   meta = with lib; {
43     description = "SVGinOT color font builder";
44     homepage = "https://github.com/13rac1/scfbuild";
45     license = licenses.gpl3;
46     maintainers = with maintainers; [ abbradar ];
47     mainProgram = "scfbuild";
48   };