pythonPackages.pytest-dependency: fix commentary

This commit is contained in:
AndersonTorres 2021-08-07 20:44:33 -03:00
parent e74cd76f47
commit 587dcb590e

View File

@ -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=";
})
];