blob: 465fea01552656325bfe29f40ba1a9339d3e724b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
ipython,
ipython-genutils,
prettytable,
six,
sqlalchemy,
sqlparse,
}:
buildPythonPackage rec {
pname = "ipython-sql";
version = "0.5.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-PbPOf5qV369Dh2+oCxa9u5oE3guhIELKsT6fWW/P/b4=";
};
build-system = [ setuptools ];
dependencies = [
ipython
ipython-genutils
prettytable
six
sqlalchemy
sqlparse
];
# pypi tarball has no tests
doCheck = false;
pythonImportsCheck = [ "sql" ];
meta = {
description = "Introduces a %sql (or %%sql) magic";
homepage = "https://github.com/catherinedevlin/ipython-sql";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ cpcloud ];
};
}
|