Merge pull request #328134 from dotlambda/python3Packages.unasync

python312Packages.unasync: 0.5.0 -> 0.6.0
This commit is contained in:
Robert Schütz 2024-07-18 04:30:42 -07:00 committed by GitHub
commit 1045af6e91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,23 +3,28 @@
buildPythonPackage,
fetchFromGitHub,
setuptools,
tokenize-rt,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "unasync";
version = "0.5.0";
format = "pyproject";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "python-trio";
repo = "unasync";
rev = "v${version}";
sha256 = "0h86i09v4909a8nk5lp36jlwz6rsln6vyg3d0i13ykxa6lrx1c2l";
sha256 = "sha256-ZRvmX1fSfSJ1HNEymzhIuUi3tdjFmUoidfr0rN8c7tk=";
};
propagatedBuildInputs = [ setuptools ];
build-system = [ setuptools ];
dependencies = [
setuptools
tokenize-rt
];
nativeCheckInputs = [ pytestCheckHook ];
@ -34,6 +39,7 @@ buildPythonPackage rec {
pythonImportsCheck = [ "unasync" ];
meta = with lib; {
changelog = "https://github.com/python-trio/unasync/releases/tag/v${version}";
description = "Project that can transform your asynchronous code into synchronous code";
homepage = "https://github.com/python-trio/unasync";
license = with licenses; [