Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ stdenv, 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 stdenv.lib; { 14 license = licenses.mit; 15 homepage = https://pypi.python.org/pypi/pytest-catchlog/; 16 description = "py.test plugin to create a 'tmpdir' containing predefined files/directories."; 17 }; 18}