depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-check/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04: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 ];
};
}