1{ stdenv, buildPythonPackage, fetchPypi, py, pytest }: 2 3buildPythonPackage rec { 4 name = "${pname}-${version}"; 5 pname = "pytest-datafiles"; 6 version = "1.0"; 7 src = fetchPypi { 8 inherit version pname; 9 sha256 = "1w5435b5pimk6479ml53lmld3qbag7awcg4gl3ljdywc1v096r5v"; 10 }; 11 12 buildInputs = [ py pytest ]; 13 14 meta = with stdenv.lib; { 15 license = licenses.mit; 16 homepage = https://pypi.python.org/pypi/pytest-catchlog/; 17 description = "py.test plugin to create a 'tmpdir' containing predefined files/directories."; 18 }; 19}