33 buildPythonPackage rec {
38 disabled = pythonOlder "3.8";
40 src = fetchFromGitHub {
43 rev = "refs/tags/${version}";
44 hash = "sha256-kVtldBuDy19DmyxEQLtAjs1qiNIjaT8+rnHlFfGNHec=";
48 substituteInPlace setup.py \
49 --replace '"pytest-runner"' ""
52 build-system = [ setuptools ];
89 # takes 30-180 mins to run entire test suite, not worth the CPU resources, slows down reviews
90 # with pytest-xdist, it still takes around 10 mins with 32 cores
91 # just run the csv tests, as this should give some indictation of correctness
93 # datasette/app.py:14: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
95 "ignore::DeprecationWarning"
101 "_invalid_database" # checks error message when connecting to invalid database
104 pythonImportsCheck = [
115 description = "Multi-tool for exploring and publishing data";
116 mainProgram = "datasette";
117 homepage = "https://datasette.io/";
118 changelog = "https://github.com/simonw/datasette/releases/tag/${version}";
119 license = licenses.asl20;