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