nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 34 lines 829 B view raw
1{ lib, buildPythonApplication, fetchFromGitHub, python, pyyaml, fonttools, fontforge }: 2 3buildPythonApplication { 4 pname = "scfbuild"; 5 version = "2.0.0"; 6 7 format = "other"; 8 9 src = fetchFromGitHub { 10 owner = "13rac1"; 11 repo = "scfbuild"; 12 rev = "6d84339512a892972185d894704efa67dd82e87a"; 13 sha256 = "0wkyzkhshlax9rvdmn441gv87n9abfr0qqmgs8bkg9kbcjb4bhad"; 14 }; 15 16 propagatedBuildInputs = [ pyyaml fonttools fontforge ]; 17 18 installPhase = '' 19 runHook preInstall 20 21 mkdir -p $out/${python.sitePackages} 22 cp -r scfbuild $out/${python.sitePackages} 23 cp -r bin $out 24 25 runHook postInstall 26 ''; 27 28 meta = with lib; { 29 description = "SVGinOT color font builder"; 30 homepage = "https://github.com/13rac1/scfbuild"; 31 license = licenses.gpl3; 32 maintainers = with maintainers; [ abbradar ]; 33 }; 34}