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/asyncio_mqtt/default.nix
Normal file
37
pkgs/development/python-modules/asyncio_mqtt/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, async_generator
|
||||
, paho-mqtt
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "asyncio-mqtt";
|
||||
version = "0.12.1";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "asyncio_mqtt";
|
||||
inherit version;
|
||||
sha256 = "sha256-bb+FpF+U0m50ZUEWgK2jlHtQVG6YII1dUuegp+16fDg=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
paho-mqtt
|
||||
] ++ lib.optional (pythonOlder "3.7") [
|
||||
async_generator
|
||||
];
|
||||
|
||||
doCheck = false; # no tests
|
||||
|
||||
pythonImportsCheck = [ "asyncio_mqtt" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Idomatic asyncio wrapper around paho-mqtt";
|
||||
homepage = "https://github.com/sbtinstruments/asyncio-mqtt";
|
||||
license = licenses.bsd3;
|
||||
changelog = "https://github.com/sbtinstruments/asyncio-mqtt/blob/master/CHANGELOG.md";
|
||||
maintainers = with maintainers; [ hexa ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue