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