depot/third_party/nixpkgs/pkgs/development/python-modules/sip/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

41 lines
721 B
Nix

{ lib
, stdenv
, buildPythonPackage
, fetchPypi
, setuptools
, wheel
, packaging
, ply
, toml
}:
buildPythonPackage rec {
pname = "sip";
version = "6.7.7";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-3unAb6iubUQaQB+SKGf8YZbt2idO69n7/sVPB2nCqeI=";
};
nativeBuildInputs = [
setuptools
wheel
];
propagatedBuildInputs = [ packaging ply toml ];
# There aren't tests
doCheck = false;
pythonImportsCheck = [ "sipbuild" ];
meta = with lib; {
description = "Creates C++ bindings for Python modules";
homepage = "https://riverbankcomputing.com/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ nrdxp ];
};
}