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
62
pkgs/development/python-modules/cli-helpers/default.nix
Normal file
62
pkgs/development/python-modules/cli-helpers/default.nix
Normal file
|
|
@ -0,0 +1,62 @@
|
|||
{ lib, buildPythonPackage, fetchPypi, isPy27
|
||||
, backports_csv
|
||||
, configobj
|
||||
, mock
|
||||
, pytest
|
||||
, tabulate
|
||||
, terminaltables
|
||||
, wcwidth
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cli_helpers";
|
||||
version = "2.2.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-DMwc/Noaxk3H7YPXATBVzxnll50p5Wwh87aS3gFVWq4=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
configobj
|
||||
terminaltables
|
||||
tabulate
|
||||
wcwidth
|
||||
] ++ (lib.optionals isPy27 [ backports_csv ]);
|
||||
|
||||
# namespace collision between backport.csv and backports.configparser
|
||||
doCheck = !isPy27;
|
||||
|
||||
checkInputs = [ pytest mock ];
|
||||
|
||||
checkPhase = ''
|
||||
py.test
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python helpers for common CLI tasks";
|
||||
longDescription = ''
|
||||
CLI Helpers is a Python package that makes it easy to perform common
|
||||
tasks when building command-line apps. It's a helper library for
|
||||
command-line interfaces.
|
||||
|
||||
Libraries like Click and Python Prompt Toolkit are amazing tools that
|
||||
help you create quality apps. CLI Helpers complements these libraries by
|
||||
wrapping up common tasks in simple interfaces.
|
||||
|
||||
CLI Helpers is not focused on your app's design pattern or framework --
|
||||
you can use it on its own or in combination with other libraries. It's
|
||||
lightweight and easy to extend.
|
||||
|
||||
What's included in CLI Helpers?
|
||||
|
||||
- Prettyprinting of tabular data with custom pre-processing
|
||||
- [in progress] config file reading/writing
|
||||
|
||||
Read the documentation at http://cli-helpers.rtfd.io
|
||||
'';
|
||||
homepage = "https://cli-helpers.readthedocs.io/en/stable/";
|
||||
license = licenses.bsd3 ;
|
||||
maintainers = [ maintainers.kalbasit ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue