lol

python3Packages.manimpango: init at 0.3.1

+41
+37
pkgs/development/python-modules/manimpango/default.nix
··· 1 + { stdenv, lib, buildPythonPackage, fetchFromGitHub, python, pkg-config, pango, cython, AppKit, pytestCheckHook }: 2 + 3 + buildPythonPackage rec { 4 + pname = "manimpango"; 5 + version = "0.3.1"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "ManimCommunity"; 9 + repo = pname; 10 + rev = "v${version}"; 11 + sha256 = "ldZfvv5kloQ0uj0agxOP8cRh+Ix8f9Z0PT+pnhWYjiQ="; 12 + }; 13 + 14 + postPatch = '' 15 + substituteInPlace setup.cfg --replace "--cov --no-cov-on-fail" "" 16 + ''; 17 + 18 + nativeBuildInputs = [ pkg-config ]; 19 + buildInputs = [ pango ] ++ lib.optionals stdenv.isDarwin [ AppKit ]; 20 + propagatedBuildInputs = [ 21 + cython 22 + ]; 23 + 24 + preBuild = '' 25 + ${python.interpreter} setup.py build_ext --inplace 26 + ''; 27 + 28 + checkInputs = [ pytestCheckHook ]; 29 + pythonImportsCheck = [ "manimpango" ]; 30 + 31 + meta = with lib; { 32 + homepage = "https://github.com/ManimCommunity/ManimPango"; 33 + license = licenses.gpl3Plus; 34 + description = "Binding for Pango"; 35 + maintainers = [ maintainers.angustrau ]; 36 + }; 37 + }
+4
pkgs/top-level/python-packages.nix
··· 4581 4581 4582 4582 manhole = callPackage ../development/python-modules/manhole { }; 4583 4583 4584 + manimpango = callPackage ../development/python-modules/manimpango { 4585 + inherit (pkgs.darwin.apple_sdk.frameworks) AppKit; 4586 + }; 4587 + 4584 4588 manifestparser = callPackage ../development/python-modules/marionette-harness/manifestparser.nix { }; 4585 4589 4586 4590 manuel = callPackage ../development/python-modules/manuel { };