File tree Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Expand file tree Collapse file tree 1 file changed +12
-13
lines changed Original file line number Diff line number Diff line change 11{
2- fetchPypi ,
32 lib ,
3+ fetchFromGitHub ,
44 python3Packages ,
5+ writableTmpDirAsHomeHook ,
56} :
67
78python3Packages . buildPythonApplication rec {
89 pname = "mycli" ;
9- version = "1.27 .2" ;
10+ version = "1.29 .2" ;
1011 pyproject = true ;
1112
12- src = fetchPypi {
13- inherit pname version ;
14- hash = "sha256-0R2k5hRkAJbqgGZEPXWUb48oFxTKMKiQZckf3F+VC3I=" ;
13+ src = fetchFromGitHub {
14+ owner = "dbcli" ;
15+ repo = "mycli" ;
16+ tag = "v${ version } " ;
17+ hash = "sha256-d90HJszhnYDxFkvLmTkt/LZ6XctcBjgKBoMUD3m+Sdw=" ;
1518 } ;
1619
17- pythonRelaxDeps = [
18- "sqlparse"
19- ] ;
20+ pythonRelaxDeps = [ "sqlparse" ] ;
2021
2122 build-system = with python3Packages ; [
2223 setuptools
24+ setuptools-scm
2325 ] ;
2426
2527 dependencies =
@@ -37,14 +39,11 @@ python3Packages.buildPythonApplication rec {
3739 pyperclip
3840 sqlglot
3941 sqlparse
42+ pyfzf
4043 ]
4144 ++ cli-helpers . optional-dependencies . styles ;
4245
43- nativeCheckInputs = with python3Packages ; [ pytestCheckHook ] ;
44-
45- preCheck = ''
46- export HOME="$(mktemp -d)"
47- '' ;
46+ nativeCheckInputs = [ writableTmpDirAsHomeHook ] ++ ( with python3Packages ; [ pytestCheckHook ] ) ;
4847
4948 disabledTestPaths = [
5049 "mycli/packages/paramiko_stub/__init__.py"
You can’t perform that action at this time.
0 commit comments