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
45
pkgs/development/python-modules/pybluez/default.nix
Normal file
45
pkgs/development/python-modules/pybluez/default.nix
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, bluez
|
||||
, gattlib
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pybluez";
|
||||
version = "unstable-2022-01-28";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "5096047f90a1f6a74ceb250aef6243e144170f92";
|
||||
hash = "sha256-GA58DfCFaVzZQA1HYpGQ68bznrt4SX1ojyOVn8hyCGo=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
bluez
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
gattlib
|
||||
];
|
||||
|
||||
# there are no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bluetooth"
|
||||
"bluetooth.ble"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Bluetooth Python extension module";
|
||||
homepage = "https://github.com/pybluez/pybluez";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ leenaars ];
|
||||
broken = stdenv.isDarwin; # requires pyobjc-core, pyobjc-framework-Cocoa
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue