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
42
pkgs/development/python-modules/digi-xbee/default.nix
Normal file
42
pkgs/development/python-modules/digi-xbee/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ buildPythonPackage, fetchPypi, isPy27, pyserial, srp, lib }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "digi-xbee";
|
||||
version = "1.4.1";
|
||||
disabled = isPy27;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "3b10e749431f406d80c189d872f4673b8d3cd510f7b411f817780a0e72499cd2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pyserial srp ];
|
||||
|
||||
# Upstream doesn't contain unit tests, only functional tests which require specific hardware
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"digi.xbee.models"
|
||||
"digi.xbee.packets"
|
||||
"digi.xbee.util"
|
||||
"digi.xbee.comm_interface"
|
||||
"digi.xbee.devices"
|
||||
"digi.xbee.exception"
|
||||
"digi.xbee.filesystem"
|
||||
"digi.xbee.firmware"
|
||||
"digi.xbee.io"
|
||||
"digi.xbee.profile"
|
||||
"digi.xbee.reader"
|
||||
"digi.xbee.recovery"
|
||||
"digi.xbee.sender"
|
||||
"digi.xbee.serial"
|
||||
"digi.xbee.xsocket"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to interact with Digi International's XBee radio frequency modules";
|
||||
homepage = "https://github.com/digidotcom/xbee-python";
|
||||
license = licenses.mpl20;
|
||||
maintainers = with maintainers; [ jefflabonte ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue