depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-param-files/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

48 lines
879 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, flit-core
, ruamel-yaml
, pytest
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pytest-param-files";
version = "0.6.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "chrisjsewell";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-hgEEfKf9Kmah5WDNHoFWQJKLOs9Z5BDHiebXCdDc1zE=";
};
nativeBuildInputs = [
flit-core
];
buildInputs = [
pytest
];
propagatedBuildInputs = [
ruamel-yaml
];
pythonImportsCheck = [
"pytest_param_files"
];
nativeCheckInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Package to generate parametrized pytests from external files";
homepage = "https://github.com/chrisjsewell/pytest-param-files";
license = licenses.mit;
maintainers = with maintainers; [ loicreynier ];
};
}