18 lines
509 B
Nix
18 lines
509 B
Nix
{ 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.";
|
|
};
|
|
}
|