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