0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 14:10:33 +03:00
nixpkgs/pkgs/development/python-modules/sip/default.nix
Nick Cao e074424336 python312Packages.sip: 6.9.0 -> 6.9.1
(cherry picked from commit 3f52371a7c)
2024-12-15 14:58:32 +00:00

53 lines
925 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
setuptools-scm,
packaging,
tomli,
# tests
poppler-qt5,
qgis,
qgis-ltr,
}:
buildPythonPackage rec {
pname = "sip";
version = "6.9.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-eQS+UZDXh5lSVjt4o68OWPon2VJa9/U/k+rHqDtDPns=";
};
build-system = [
setuptools
setuptools-scm
];
dependencies = [
packaging
setuptools
] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
# There aren't tests
doCheck = false;
pythonImportsCheck = [ "sipbuild" ];
passthru.tests = {
# test depending packages
inherit poppler-qt5 qgis qgis-ltr;
};
meta = with lib; {
description = "Creates C++ bindings for Python modules";
homepage = "https://riverbankcomputing.com/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ nrdxp ];
};
}