pythonPackages.datasette: 0.28 -> 0.29.3
Patch donated by @wd51, and removes sanic dependency.
This commit is contained in:
parent
8b263a4530
commit
1cb9d4d85b
@ -3,7 +3,6 @@
|
|||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, click
|
, click
|
||||||
, click-default-group
|
, click-default-group
|
||||||
, sanic
|
|
||||||
, jinja2
|
, jinja2
|
||||||
, hupper
|
, hupper
|
||||||
, pint
|
, pint
|
||||||
@ -14,17 +13,20 @@
|
|||||||
, black
|
, black
|
||||||
, aiohttp
|
, aiohttp
|
||||||
, beautifulsoup4
|
, beautifulsoup4
|
||||||
|
, uvicorn
|
||||||
|
, asgiref
|
||||||
|
, aiofiles
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "datasette";
|
pname = "datasette";
|
||||||
version = "0.28";
|
version = "0.29.3";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "simonw";
|
owner = "simonw";
|
||||||
repo = "datasette";
|
repo = "datasette";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1m2s03gyq0ghjc3s0b5snpinisddywpgii2f0zqa3v4ljmzanx7h";
|
sha256 = "0cib7pd4z240ncck0pskzvizblhwkr42fsjpd719wdxy4scs7yqa";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytestrunner ];
|
buildInputs = [ pytestrunner ];
|
||||||
@ -32,11 +34,12 @@ buildPythonPackage rec {
|
|||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
click
|
click
|
||||||
click-default-group
|
click-default-group
|
||||||
sanic
|
|
||||||
jinja2
|
jinja2
|
||||||
hupper
|
hupper
|
||||||
pint
|
pint
|
||||||
pluggy
|
pluggy
|
||||||
|
uvicorn
|
||||||
|
aiofiles
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
@ -45,6 +48,7 @@ buildPythonPackage rec {
|
|||||||
aiohttp
|
aiohttp
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
black
|
black
|
||||||
|
asgiref
|
||||||
];
|
];
|
||||||
|
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
@ -52,8 +56,9 @@ buildPythonPackage rec {
|
|||||||
--replace "click-default-group==1.2" "click-default-group" \
|
--replace "click-default-group==1.2" "click-default-group" \
|
||||||
--replace "Sanic==0.7.0" "Sanic" \
|
--replace "Sanic==0.7.0" "Sanic" \
|
||||||
--replace "hupper==1.0" "hupper" \
|
--replace "hupper==1.0" "hupper" \
|
||||||
--replace "pint==0.8.1" "pint" \
|
--replace "pint~=0.8.1" "pint" \
|
||||||
--replace "Jinja2==2.10.1" "Jinja2"
|
--replace "Jinja2==2.10.1" "Jinja2" \
|
||||||
|
--replace "uvicorn~=0.8.4" "uvicorn"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# many tests require network access
|
# many tests require network access
|
||||||
|
Loading…
x
Reference in New Issue
Block a user