diff options
Diffstat (limited to 'pkgs/development/python-modules/pytest-twisted/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pytest-twisted/default.nix | 20 |
1 files 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 fa80566a13364..93e74cf1c01a7 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; - sha256 = "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; |