From 3ce3ff64fddb8687c8e4877857802a6548d965ba Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sat, 11 Jun 2016 01:23:41 +0300 Subject: [PATCH] pythonPackages.scfbuild: init at 1.0.3 --- pkgs/top-level/python-packages.nix | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) 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 <