depot/third_party/nixpkgs/pkgs/development/python-modules/sip/default.nix

42 lines
721 B
Nix
Raw Normal View History

{ 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 ];
};
}