Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 29 lines 609 B view raw
1{ stdenv 2, buildPythonPackage 3, fetchPypi 4, isPyPy 5, six 6}: 7 8buildPythonPackage rec { 9 version = "0.12.0"; 10 pname = "pyfribidi"; 11 disabled = isPyPy; 12 13 src = fetchPypi { 14 inherit pname version; 15 extension = "zip"; 16 sha256 = "64726a4a56783acdc79c6b9b3a15f16e6071077c897a0b999f3b43f744bc621c"; 17 }; 18 19 patches = stdenv.lib.optional stdenv.cc.isClang ./pyfribidi-clang.patch; 20 21 propagatedBuildInputs = [ six ]; 22 23 meta = with stdenv.lib; { 24 description = "A simple wrapper around fribidi"; 25 homepage = "https://github.com/pediapress/pyfribidi"; 26 license = stdenv.lib.licenses.gpl2; 27 }; 28 29}