Merge pull request #44571 from kalbasit/nixpkgs-update-mycli
mycli: 1.6.0 -> 1.17.0
This commit is contained in:
59
pkgs/development/python-modules/cli-helpers/default.nix
Normal file
59
pkgs/development/python-modules/cli-helpers/default.nix
Normal file
@@ -0,0 +1,59 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, terminaltables
|
||||
, tabulate
|
||||
, backports_csv
|
||||
, wcwidth
|
||||
, pytest
|
||||
, isPy27
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cli_helpers";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1z5rqm8pznj6bvivm2al8rsxm82rai8hc9bqrgh3ksnbzg2kfy7p";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
terminaltables
|
||||
tabulate
|
||||
wcwidth
|
||||
] ++ (lib.optionals isPy27 [ backports_csv ]);
|
||||
|
||||
checkInputs = [ pytest ];
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
||||
27
pkgs/development/python-modules/pymysql/default.nix
Normal file
27
pkgs/development/python-modules/pymysql/default.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, cryptography
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyMySQL";
|
||||
version = "0.9.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0gvi63f1zq1bbd30x28kqyx351hal1yc323ckp0mihainb5n1iwy";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cryptography ];
|
||||
|
||||
# Wants to connect to MySQL
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Pure Python MySQL Client";
|
||||
homepage = https://github.com/PyMySQL/PyMySQL;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.kalbasit ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user