From 50941680887a9d951cd7d4227e96e93cc1863785 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 16 Aug 2024 14:53:02 -0700 Subject: [PATCH] python312Packages.pytest-twisted: 1.14.1 -> 1.14.2 Diff: https://github.com/pytest-dev/pytest-twisted/compare/refs/tags/v1.14.1...v1.14.2 Changelog: https://github.com/pytest-dev/pytest-twisted/releases/tag/v1.14.2 --- .../python-modules/pytest-twisted/default.nix | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/pytest-twisted/default.nix b/pkgs/development/python-modules/pytest-twisted/default.nix index 29ae8e462498..93e74cf1c01a 100644 --- a/pkgs/development/python-modules/pytest-twisted/default.nix +++ b/pkgs/development/python-modules/pytest-twisted/default.nix @@ -1,7 +1,8 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, + setuptools, greenlet, pytest, decorator, @@ -11,17 +12,21 @@ buildPythonPackage rec { pname = "pytest-twisted"; - version = "1.14.1"; - format = "setuptools"; + version = "1.14.2"; + pyproject = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-qbGLyfykfSiG+O/j/SeHmoHxwLtJ8cVgZmyedkSRtjI="; + src = fetchFromGitHub { + owner = "pytest-dev"; + repo = "pytest-twisted"; + rev = "refs/tags/v${version}"; + hash = "sha256-1NkKTdk5D36VngJtBEdT42o1MmMT6stBne9KyC17518="; }; + build-system = [ setuptools ]; + buildInputs = [ pytest ]; - propagatedBuildInputs = [ + dependencies = [ decorator greenlet ]; @@ -34,6 +39,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "pytest_twisted" ]; meta = with lib; { + changelog = "https://github.com/pytest-dev/pytest-twisted/releases/tag/v${version}"; description = "Twisted plugin for py.test"; homepage = "https://github.com/pytest-dev/pytest-twisted"; license = licenses.bsd3;