diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 60f169a6af25..9f8ac5677cf7 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8174,6 +8174,49 @@ in modules // { }; }; + scfbuild = self.buildPythonPackage rec { + name = "scfbuild-${version}"; + version = "1.0.3"; + + disabled = isPy3k; + + src = pkgs.fetchFromGitHub { + owner = "eosrei"; + repo = "scfbuild"; + rev = "c179c8d279b7cc0a9a3536a713ac880ac6010318"; + sha256 = "1bsi7k4kkj914pycp1g92050hjxscyvc9qflqb3cv5yz3c93cs46"; + }; + + phases = [ "unpackPhase" "installPhase" "fixupPhase" ]; + + propagatedBuildInputs = with self; [ pyyaml fonttools fontforge ]; + + installPhase = '' + mkdir -p $out/${python.sitePackages} + cp -r scfbuild $out/${python.sitePackages} + # Workaround for #16133 + mkdir -p $out/bin + + cat >$out/bin/scfbuild <