diff options
Diffstat (limited to 'pkgs/development/python-modules/manimpango/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/manimpango/default.nix | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/pkgs/development/python-modules/manimpango/default.nix b/pkgs/development/python-modules/manimpango/default.nix index 9fec1f0aa243..c0f8e475b365 100644 --- a/pkgs/development/python-modules/manimpango/default.nix +++ b/pkgs/development/python-modules/manimpango/default.nix @@ -1,14 +1,15 @@ -{ lib -, stdenv -, buildPythonPackage -, fetchFromGitHub -, python -, pkg-config -, pango -, cython -, AppKit -, pytestCheckHook -, pythonOlder +{ + lib, + stdenv, + buildPythonPackage, + fetchFromGitHub, + python, + pkg-config, + pango, + cython, + AppKit, + pytestCheckHook, + pythonOlder, }: buildPythonPackage rec { @@ -25,23 +26,13 @@ buildPythonPackage rec { hash = "sha256-EBSbvjQyQIXOzvQMbuTwOoV8xSAOYDlCBZ56NLneuQI="; }; - nativeBuildInputs = [ - pkg-config - ]; + nativeBuildInputs = [ pkg-config ]; - buildInputs = [ - pango - ] ++ lib.optionals stdenv.isDarwin [ - AppKit - ]; + buildInputs = [ pango ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; - propagatedBuildInputs = [ - cython - ]; + propagatedBuildInputs = [ cython ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; postPatch = '' substituteInPlace setup.cfg \ @@ -52,9 +43,7 @@ buildPythonPackage rec { ${python.pythonOnBuildForHost.interpreter} setup.py build_ext --inplace ''; - pythonImportsCheck = [ - "manimpango" - ]; + pythonImportsCheck = [ "manimpango" ]; meta = with lib; { description = "Binding for Pango"; |
