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
43
pkgs/development/python-modules/ratelimiter/default.nix
Normal file
43
pkgs/development/python-modules/ratelimiter/default.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ratelimiter";
|
||||
version = "1.2.0.post0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-XDldyr273i5ReO8/ibVoowZkVKbdwiO3ZHPawi+JtPc=";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ratelimiter"
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
# Uses out-dated options
|
||||
rm tests/conftest.py
|
||||
'';
|
||||
|
||||
disabledTests = [
|
||||
# TypeError: object Lock can't be used in 'await' expression
|
||||
"test_alock"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple python rate limiting object";
|
||||
homepage = "https://github.com/RazerM/ratelimiter";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ helkafen ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue