uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
44
pkgs/development/python-modules/pybindgen/default.nix
Normal file
44
pkgs/development/python-modules/pybindgen/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, pygccxml
|
||||
, pythonOlder
|
||||
, setuptools-scm
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pybindgen";
|
||||
version = "0.22.1";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "PyBindGen";
|
||||
inherit version;
|
||||
hash = "sha256-jH8iORpJqEUY9aKtBuOlseg50Q402nYxUZyKKPy6N2Q=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pygccxml
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"pybindgen"
|
||||
];
|
||||
|
||||
# Fails to import module 'cxxfilt' from pygccxml on Py3k
|
||||
doCheck = (!isPy3k);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python Bindings Generator";
|
||||
homepage = "https://github.com/gjcarneiro/pybindgen";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ teto ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue