ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pytest-datafiles / default.nix
blobfb960c13de51381b3799a7bbf8680ea6b2e343ba
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , py
5 , pytest
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pytest-datafiles";
12   version = "2.0.1";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "omarkohl";
19     repo = pname;
20     rev = version;
21     sha256 = "sha256-M0Lnsqi05Xs0uN6LlafNS7HJZOut+nrMZyvGPMMhIkc=";
22   };
24   buildInputs = [
25     py
26     pytest
27   ];
29   checkInputs = [
30     pytestCheckHook
31   ];
33   pythonImportsCheck = [
34     "pytest_datafiles"
35   ];
37   meta = with lib; {
38     description = "Pytest plugin to create a tmpdir containing predefined files/directories";
39     homepage = "https://github.com/omarkohl/pytest-datafiles";
40     license = licenses.mit;
41     maintainers = with maintainers; [ ];
42   };