30 buildPythonPackage rec {
33 format = "setuptools";
35 disabled = pythonOlder "3.8";
37 src = fetchFromGitHub {
40 rev = "refs/tags/${version}";
41 hash = "sha256-chU0AFaVfkJMRwraX/Ky0e6/g3ZSZ2efNIJ15veqFmg=";
45 substituteInPlace setup.py \
46 --replace '"pytest-runner"' ""
49 propagatedBuildInputs = [
78 # takes 30-180 mins to run entire test suite, not worth the CPU resources, slows down reviews
79 # with pytest-xdist, it still takes around 10 mins with 32 cores
80 # just run the csv tests, as this should give some indictation of correctness
87 "_invalid_database" # checks error message when connecting to invalid database
90 pythonImportsCheck = [
101 description = "Multi-tool for exploring and publishing data";
102 mainProgram = "datasette";
103 homepage = "https://datasette.io/";
104 changelog = "https://github.com/simonw/datasette/releases/tag/${version}";
105 license = licenses.asl20;
106 maintainers = with maintainers; [ ];