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/openwrt-luci-rpc/default.nix
Normal file
42
pkgs/development/python-modules/openwrt-luci-rpc/default.nix
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, click
|
||||
, fetchPypi
|
||||
, packaging
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openwrt-luci-rpc";
|
||||
version = "1.1.11";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-DkitN+mwCZ14QEn2fTOqUrQTtoncR1ifP3WDSQ6qkkk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
requests
|
||||
packaging
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "openwrt_luci_rpc" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python module for interacting with the OpenWrt Luci RPC interface";
|
||||
longDescription = ''
|
||||
This module allows you to use the Luci RPC interface to fetch connected devices
|
||||
on your OpenWrt based router. Supports 15.X & 17.X & 18.X or newer releases of
|
||||
OpenWrt.
|
||||
'';
|
||||
homepage = "https://github.com/fbradyirl/openwrt-luci-rpc";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ matt-snider ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue