default.nix (778B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 }: 6 7 python3Packages.buildPythonApplication rec { 8 pname = "mitzasql"; 9 version = "1.4.4"; 10 pyproject = true; 11 12 src = fetchFromGitHub { 13 owner = "vladbalmos"; 14 repo = "mitzasql"; 15 tag = version; 16 hash = "sha256-C/KecK8PJDn/MyUxtxFLjVnkra6pW9QoLY34FWkwQ+8="; 17 }; 18 19 build-system = with python3Packages; [ setuptools ]; 20 21 dependencies = with python3Packages; [ 22 appdirs 23 pygments 24 mysql-connector 25 urwid 26 ]; 27 28 pythonRelaxDeps = true; 29 30 doCheck = false; # MySQL server required 31 32 meta = { 33 description = "MySQL command line / text based interface client"; 34 homepage = "https://vladbalmos.github.io/mitzasql/"; 35 license = lib.licenses.mit; 36 maintainers = [ lib.maintainers.sikmir ]; 37 }; 38 }