summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-datafiles/default.nix
blob: 7a6e3f7d93140dcb0235fd32c1c4febf28f4ad5a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, buildPythonPackage, fetchPypi, py, pytest }:

buildPythonPackage rec {
  pname = "pytest-datafiles";
  version = "2.0";
  src = fetchPypi {
    inherit version pname;
    sha256 = "1yfvaqbqvjfikz215kwn6qiwwn9girka93zq4jphgfyvn75jjcql";
  };

  buildInputs = [ py pytest ];

  meta = with stdenv.lib; {
    license = licenses.mit;
    homepage = "https://pypi.python.org/pypi/pytest-catchlog/";
    description = "py.test plugin to create a 'tmpdir' containing predefined files/directories.";
  };
}