nixpkgs-suyu/pkgs/development/python-modules/pybindgen/default.nix

23 lines
644 B
Nix
Raw Normal View History

{ stdenv, fetchPypi, buildPythonPackage, isPy3k, setuptools_scm, pygccxml }:
buildPythonPackage rec {
pname = "PyBindGen";
2018-06-12 18:47:04 +02:00
version = "0.19.0";
src = fetchPypi {
inherit pname version;
2018-06-12 18:47:04 +02:00
sha256 = "23f2b760e352729208cd4fbadbc618bd00f95a0a24db21a4182833afcc3b5208";
};
buildInputs = [ setuptools_scm ];
checkInputs = [ pygccxml ];
doCheck = (!isPy3k); # Fails to import module 'cxxfilt' from pygccxml on Py3k
meta = with stdenv.lib; {
homepage = https://github.com/gjcarneiro/pybindgen;
description = "Python Bindings Generator";
license = licenses.lgpl2;
maintainers = with maintainers; [ teto ];
};
}