mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
4878a24df7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/mycli/versions
41 lines
787 B
Nix
41 lines
787 B
Nix
{ lib
|
|
, python3
|
|
, glibcLocales
|
|
}:
|
|
|
|
with python3.pkgs;
|
|
|
|
buildPythonApplication rec {
|
|
pname = "mycli";
|
|
version = "1.19.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "0x5vzl4vvirqy03fnjwkamhzrqkknlajamwz1rmbnqh4bfmijh9m";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pymysql configobj sqlparse prompt_toolkit pygments click pycrypto cli-helpers
|
|
];
|
|
|
|
checkInputs = [ pytest mock glibcLocales ];
|
|
|
|
checkPhase = ''
|
|
export HOME=.
|
|
export LC_ALL="en_US.UTF-8"
|
|
|
|
py.test
|
|
'';
|
|
|
|
meta = {
|
|
inherit version;
|
|
description = "Command-line interface for MySQL";
|
|
longDescription = ''
|
|
Rich command-line interface for MySQL with auto-completion and
|
|
syntax highlighting.
|
|
'';
|
|
homepage = http://mycli.net;
|
|
license = lib.licenses.bsd3;
|
|
};
|
|
}
|