ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pytest-datadir / default.nix
blob58ad575d63863733bfb13925c2cc3005c5a684cd
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , setuptools-scm
5 , pytestCheckHook
6 }:
8 buildPythonPackage rec {
9   pname = "pytest-datadir";
10   version = "1.4.1";
11   format = "pyproject";
13   src = fetchFromGitHub {
14     owner = "gabrielcnr";
15     repo = "pytest-datadir";
16     rev = "refs/tags/${version}";
17     sha256 = "sha256-HyJ0rU1nHqRv8SHFS8m3GZ5409+JZIkoDgIVjy4ol54=";
18   };
20   SETUPTOOLS_SCM_PRETEND_VERSION = version;
21   nativeBuildInputs = [ setuptools-scm ];
22   checkInputs = [ pytestCheckHook ];
23   pythonImportsCheck = [ "pytest_datadir" ];
25   meta = with lib; {
26     description = "Pytest plugin for manipulating test data directories and files";
27     homepage = "https://github.com/gabrielcnr/pytest-datadir";
28     license = licenses.mit;
29     maintainers = with maintainers; [ kira-bruneau ];
30   };