Merge pull request #89790 from formbay/pytest_dependency

pythonPackages.pytest-dependency: 0.4.0 -> 0.5.1
This commit is contained in:
Mario Rodas 2020-06-08 19:49:40 -05:00 committed by GitHub
commit 482a82b062
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,14 @@
{ stdenv, buildPythonPackage, fetchPypi, fetchpatch, pytest }:
buildPythonPackage rec {
version = "0.4.0";
version = "0.5.1";
pname = "pytest-dependency";
src = fetchPypi {
inherit pname version;
sha256 = "bda0ef48e6a44c091399b12ab4a7e580d2dd8294c222b301f88d7d57f47ba142";
sha256 = "c2a892906192663f85030a6ab91304e508e546cddfe557d692d61ec57a1d946b";
};
patches = [
# Fix tests for pytest>=4.2.0. Remove with the next release
(fetchpatch {
url = "https://github.com/RKrahl/pytest-dependency/commit/089395bf77e629ee789666361ee12395d840252c.patch";
sha256 = "1nkha2gndrr3mx11kx2ipxhphqd6wr25hvkrfwzyrispqfhgl0wm";
excludes = [ "doc/src/changelog.rst" ];
})
];
propagatedBuildInputs = [ pytest ];
checkInputs = [ pytest ];