Skip to content

Commit

Permalink
Merge pull request #328134 from dotlambda/python3Packages.unasync
Browse files Browse the repository at this point in the history
python312Packages.unasync: 0.5.0 -> 0.6.0
  • Loading branch information
dotlambda authored Jul 18, 2024
2 parents 9def6d0 + 3c8f6db commit 1045af6
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions pkgs/development/python-modules/unasync/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];

Expand All @@ -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; [
Expand Down

0 comments on commit 1045af6

Please sign in to comment.