snac2: 2.68 -> 2.70 (#379043)
[NixPkgs.git] / pkgs / development / python-modules / pytest-param-files / default.nix
blob793747e18248653f92d0651874b2d67a3b72c61f
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   flit-core,
6   ruamel-yaml,
7   pytest,
8   pytestCheckHook,
9 }:
11 buildPythonPackage rec {
12   pname = "pytest-param-files";
13   version = "0.6.0";
14   format = "pyproject";
16   src = fetchFromGitHub {
17     owner = "chrisjsewell";
18     repo = pname;
19     tag = "v${version}";
20     hash = "sha256-hgEEfKf9Kmah5WDNHoFWQJKLOs9Z5BDHiebXCdDc1zE=";
21   };
23   nativeBuildInputs = [ flit-core ];
25   buildInputs = [ pytest ];
27   propagatedBuildInputs = [ ruamel-yaml ];
29   pythonImportsCheck = [ "pytest_param_files" ];
31   nativeCheckInputs = [ pytestCheckHook ];
33   meta = with lib; {
34     description = "Package to generate parametrized pytests from external files";
35     homepage = "https://github.com/chrisjsewell/pytest-param-files";
36     license = licenses.mit;
37     maintainers = with maintainers; [ loicreynier ];
38   };