1{ lib
2, stdenv
3, buildPythonPackage
4, fetchPypi
5, setuptools
6, wheel
7, packaging
8, ply
9, toml
10}:
11
12buildPythonPackage rec {
13 pname = "sip";
14 version = "6.7.7";
15
16 format = "pyproject";
17
18 src = fetchPypi {
19 inherit pname version;
20 hash = "sha256-3unAb6iubUQaQB+SKGf8YZbt2idO69n7/sVPB2nCqeI=";
21 };
22
23 nativeBuildInputs = [
24 setuptools
25 wheel
26 ];
27
28 propagatedBuildInputs = [ packaging ply toml ];
29
30 # There aren't tests
31 doCheck = false;
32
33 pythonImportsCheck = [ "sipbuild" ];
34
35 meta = with lib; {
36 description = "Creates C++ bindings for Python modules";
37 homepage = "https://riverbankcomputing.com/";
38 license = licenses.gpl3Only;
39 maintainers = with maintainers; [ nrdxp ];
40 };
41}