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/flake8-length/default.nix
Normal file
37
pkgs/development/python-modules/flake8-length/default.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, flake8
|
||||
, pytestCheckHook
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flake8-length";
|
||||
version = "0.3.0";
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "6e3c068005b0b3b5c8345923fe3e9a107c980baa1354dd19d820018f87409427";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flake8
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flake8_length"
|
||||
];
|
||||
|
||||
checkInputs = [ pytestCheckHook ];
|
||||
|
||||
pytestFlagsArray = [ "tests/" ];
|
||||
|
||||
meta = {
|
||||
description = "Flake8 plugin for a smart line length validation";
|
||||
homepage = "https://github.com/orsinium-labs/flake8-length";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ sauyon ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue