python3Packages.bond-async: migrate to pyproject (#528831)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
aiohttp,
|
||||
aioresponses,
|
||||
orjson,
|
||||
@@ -9,20 +10,24 @@
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "bond-async";
|
||||
version = "0.2.1";
|
||||
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bondhome";
|
||||
repo = "bond-async";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-YRJHUOYFLf4dtQGIFKHLdUQxWTnZzG1MPirMsGvDor8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
aiohttp
|
||||
orjson
|
||||
];
|
||||
@@ -38,8 +43,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Asynchronous Python wrapper library over Bond Local API";
|
||||
homepage = "https://github.com/bondhome/bond-async";
|
||||
changelog = "https://github.com/bondhome/bond-async/releases/tag/v${version}";
|
||||
changelog = "https://github.com/bondhome/bond-async/releases/tag/v${finalAttrs.version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ dotlambda ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user