pythonPackages.scfbuild: init at 1.0.3

+43
+43
pkgs/top-level/python-packages.nix
··· 8174 8174 }; 8175 8175 }; 8176 8176 8177 + scfbuild = self.buildPythonPackage rec { 8178 + name = "scfbuild-${version}"; 8179 + version = "1.0.3"; 8180 + 8181 + disabled = isPy3k; 8182 + 8183 + src = pkgs.fetchFromGitHub { 8184 + owner = "eosrei"; 8185 + repo = "scfbuild"; 8186 + rev = "c179c8d279b7cc0a9a3536a713ac880ac6010318"; 8187 + sha256 = "1bsi7k4kkj914pycp1g92050hjxscyvc9qflqb3cv5yz3c93cs46"; 8188 + }; 8189 + 8190 + phases = [ "unpackPhase" "installPhase" "fixupPhase" ]; 8191 + 8192 + propagatedBuildInputs = with self; [ pyyaml fonttools fontforge ]; 8193 + 8194 + installPhase = '' 8195 + mkdir -p $out/${python.sitePackages} 8196 + cp -r scfbuild $out/${python.sitePackages} 8197 + # Workaround for #16133 8198 + mkdir -p $out/bin 8199 + 8200 + cat >$out/bin/scfbuild <<EOF 8201 + #!/usr/bin/env python2 8202 + 8203 + import sys 8204 + from scfbuild.main import main 8205 + 8206 + if __name__ == '__main__': 8207 + sys.exit(main()) 8208 + EOF 8209 + 8210 + chmod +x $out/bin/scfbuild 8211 + ''; 8212 + 8213 + meta = with stdenv.lib; { 8214 + description = "SVGinOT color font builder"; 8215 + homepage = "https://github.com/eosrei/scfbuild"; 8216 + license = licenses.gpl3; 8217 + maintainers = with maintainers; [ abbradar ]; 8218 + }; 8219 + }; 8177 8220 8178 8221 substanced = buildPythonPackage rec { 8179 8222 # no release yet