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
29
pkgs/development/python-modules/func-timeout/default.nix
Normal file
29
pkgs/development/python-modules/func-timeout/default.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "func-timeout";
|
||||
version = "4.3.5";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "func_timeout";
|
||||
inherit version;
|
||||
sha256 = "74cd3c428ec94f4edfba81f9b2f14904846d5ffccc27c92433b8b5939b5575dd";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "func_timeout" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Allows you to specify timeouts when calling any existing function. Also provides support for stoppable-threads";
|
||||
homepage = "https://github.com/kata198/func_timeout";
|
||||
license = licenses.lgpl3Only;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue