nixpkgs-suyu/pkgs/development/python-modules/pytest-check/default.nix
2020-04-10 17:54:53 +01:00

29 lines
626 B
Nix

{ stdenv
, buildPythonPackage
, fetchFromGitHub
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-check";
version = "0.3.5";
src = fetchFromGitHub {
owner = "okken";
repo = "pytest-check";
rev = version;
sha256 = "11wb4f4sp4cr5mzqdakrbycwgfr2p1sx1l91fa6525wnfvgc0qy3";
};
buildInputs = [ pytest ];
checkInputs = [ pytest pytestCheckHook ];
meta = with stdenv.lib; {
description = "pytest plugin allowing multiple failures per test";
homepage = "https://github.com/okken/pytest-check";
license = licenses.mit;
maintainers = [ maintainers.flokli ];
};
}