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
31
pkgs/development/python-modules/ratelim/default.nix
Normal file
31
pkgs/development/python-modules/ratelim/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, decorator
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ratelim";
|
||||
version = "0.1.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "07dirdd8y23706110nb0lfz5pzbrcvd9y74h64la3y8igqbk4vc2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
decorator
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "ratelim" ];
|
||||
|
||||
# package has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/themiurgo/ratelim";
|
||||
description = "Simple Python library that limits the number of times a function can be called during a time interval";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ dgliwka ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue