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
37
pkgs/development/python-modules/avion/default.nix
Normal file
37
pkgs/development/python-modules/avion/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, bluepy
|
||||
, buildPythonPackage
|
||||
, csrmesh
|
||||
, fetchPypi
|
||||
, pycryptodome
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "avion";
|
||||
version = "0.10";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0zgv45086b97ngyqxdp41wxb7hpn9g7alygc21j9y3dib700vzdz";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
bluepy
|
||||
csrmesh
|
||||
pycryptodome
|
||||
requests
|
||||
];
|
||||
|
||||
# Project has no test
|
||||
doCheck = false;
|
||||
# bluepy/uuids.json is not found
|
||||
# pythonImportsCheck = [ "avion" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python API for controlling Avi-on Bluetooth dimmers";
|
||||
homepage = "https://github.com/mjg59/python-avion";
|
||||
license = with licenses; [ gpl3Plus ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue