11 buildPythonPackage rec {
12 pname = "freetype-py";
13 version = "2.1.0.post1";
14 format = "setuptools";
17 inherit pname version;
18 sha256 = "1k62fx53qrv9nb73mpqi2r11wzbx41qfv5qppvh6rylywnrknf3n";
23 src = ./library-paths.patch;
24 freetype = "${freetype.out}/lib/libfreetype${stdenv.hostPlatform.extensions.sharedLibrary}";
28 nativeBuildInputs = [ setuptools-scm ];
30 propagatedBuildInputs = [ freetype ];
40 pythonImportsCheck = [ "freetype" ];
43 homepage = "https://github.com/rougier/freetype-py";
44 description = "FreeType (high-level Python API)";
45 license = licenses.bsd3;
46 maintainers = with maintainers; [ goertzenator ];