2017-05-04 18:18:28 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, py, pytest }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pytest-datafiles";
|
2018-11-09 03:53:54 +00:00
|
|
|
version = "2.0";
|
2017-05-04 18:18:28 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit version pname;
|
2018-11-09 03:53:54 +00:00
|
|
|
sha256 = "1yfvaqbqvjfikz215kwn6qiwwn9girka93zq4jphgfyvn75jjcql";
|
2017-05-04 18:18:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ py pytest ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
license = licenses.mit;
|
2017-12-05 22:20:11 +00:00
|
|
|
homepage = https://pypi.python.org/pypi/pytest-catchlog/;
|
2017-05-04 18:18:28 +01:00
|
|
|
description = "py.test plugin to create a 'tmpdir' containing predefined files/directories.";
|
|
|
|
};
|
2017-12-05 22:20:11 +00:00
|
|
|
}
|