python3Packages.dask-gateway: fix build

This commit is contained in:
Martin Weinelt 2022-08-11 01:19:05 +02:00
parent 21237eedfe
commit 7d79dd8e52
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, aiohttp
, dask
, distributed
@ -10,12 +10,17 @@ buildPythonPackage rec {
pname = "dask-gateway";
# update dask-gateway lock step with dask-gateway-server
version = "2022.6.1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-i0OFXjvDg+D4Sdyg6rluP0k6/Ecr+VZn+RiIEQONQX0=";
src = fetchFromGitHub {
owner = "dask";
repo = "dask-gateway";
rev = "refs/tags/${version}";
hash = "sha256-PsagZdEPpeuZH9hFL98xB5z6zOdd4Cx/skGQ0eOYkCA=";
};
sourceRoot = "source/dask-gateway";
propagatedBuildInputs = [
aiohttp
dask
@ -31,6 +36,6 @@ buildPythonPackage rec {
description = "A client library for interacting with a dask-gateway server";
homepage = "https://gateway.dask.org/";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
maintainers = with maintainers; [ costrouc ];
};
}