From 587dcb590edb85c0953446151bfcc94f3cd7385d Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Sat, 7 Aug 2021 20:44:33 -0300 Subject: [PATCH] pythonPackages.pytest-dependency: fix commentary --- .../python-modules/pytest-dependency/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/pytest-dependency/default.nix b/pkgs/development/python-modules/pytest-dependency/default.nix index fc6b716397dd..c583288b406f 100644 --- a/pkgs/development/python-modules/pytest-dependency/default.nix +++ b/pkgs/development/python-modules/pytest-dependency/default.nix @@ -1,19 +1,24 @@ -{ lib, buildPythonPackage, fetchPypi, fetchpatch, pytest }: +{ lib +, buildPythonPackage +, fetchPypi +, fetchpatch +, pytest +}: buildPythonPackage rec { - version = "0.5.1"; pname = "pytest-dependency"; + version = "0.5.1"; src = fetchPypi { inherit pname version; - sha256 = "c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b"; + hash = "sha256-wqiSkGGSZj+FAwpquRME5QjlRs3f5VfWktYexXodlGs="; }; patches = [ - # Fix build with pytest ≥ 6.2.0, https://github.com/RKrahl/pytest-dependency/pull/51 + # Fix build with pytest >= 6.2.0, https://github.com/RKrahl/pytest-dependency/pull/51 (fetchpatch { url = "https://github.com/RKrahl/pytest-dependency/commit/0930889a13e2b9baa7617f05dc9b55abede5209d.patch"; - sha256 = "0ka892j0rrlnfvk900fcph0f6lsnr9dy06q5k2s2byzwijhdw6n5"; + sha256 = "sha256-xRreoIz8+yW0mAUb4FvKVlPjALzMAZDmdpbmDKRISE0="; }) ];