blob: 84c88aea933806745478c407c14a46eb1a7d5ef2 (
plain) (
blame)
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
|
{ buildPythonPackage
, fetchFromGitHub
, lib
, datasette
, pytestCheckHook
, pytest-asyncio
, sqlite-utils
}:
buildPythonPackage rec {
pname = "datasette-template-sql";
version = "1.0.2";
src = fetchFromGitHub {
owner = "simonw";
repo = pname;
rev = version;
sha256 = "1ag5f62y445jscxnklcfd84pjinkknmrpk1kmm2j121p7484hrsn";
};
propagatedBuildInputs = [ datasette ];
checkInputs = [ pytestCheckHook pytest-asyncio sqlite-utils ];
pythonImportsCheck = [ "datasette_template_sql" ];
meta = with lib; {
description = "Datasette plugin for executing SQL queries from templates";
homepage = "https://datasette.io/plugins/datasette-template-sql";
license = licenses.asl20;
maintainers = [ maintainers.MostAwesomeDude ];
};
}
|