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
30
pkgs/development/python-modules/pyxiaomigateway/default.nix
Normal file
30
pkgs/development/python-modules/pyxiaomigateway/default.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, cryptography
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyxiaomigateway";
|
||||
version = "0.13.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Danielhiversen";
|
||||
repo = "PyXiaomiGateway";
|
||||
rev = version;
|
||||
sha256 = "1xg89sdds04wgil88ihs84cjr3df6lajjbkyb1aymj638ibdyqns";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cryptography ];
|
||||
|
||||
# Tests are not mocking the gateway completely
|
||||
doCheck = false;
|
||||
pythonImportsCheck = [ "xiaomi_gateway" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python library to communicate with the Xiaomi Gateway";
|
||||
homepage = "https://github.com/Danielhiversen/PyXiaomiGateway/";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue