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

buildPythonPackage rec {
  name = "${pname}-${version}";
  pname = "pytest-datafiles";
  version = "1.0";
  src = fetchPypi {
    inherit version pname;
    sha256 = "1w5435b5pimk6479ml53lmld3qbag7awcg4gl3ljdywc1v096r5v";
  };

  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.";
  };
}