Unverified Commit 1045af6e authored by Robert Schütz's avatar Robert Schütz Committed by GitHub
Browse files

Merge pull request #328134 from dotlambda/python3Packages.unasync

python312Packages.unasync: 0.5.0 -> 0.6.0
parents 9def6d01 3c8f6db8
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -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; [