1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 fastdiff, 6 six, 7 termcolor, 8 pytestCheckHook, 9 pytest-cov-stub, 10 django, 11}: 12 13buildPythonPackage rec { 14 pname = "snapshottest"; 15 version = "0.6.0"; 16 format = "setuptools"; 17 18 src = fetchPypi { 19 inherit pname version; 20 sha256 = "0g35ggqw4jd9zmazw55kj6gfjdghv49qx4jw5q231qyqj8fzijmv"; 21 }; 22 23 propagatedBuildInputs = [ 24 fastdiff 25 six 26 termcolor 27 ]; 28 29 nativeCheckInputs = [ 30 django 31 pytestCheckHook 32 pytest-cov-stub 33 ]; 34 35 pythonImportsCheck = [ "snapshottest" ]; 36 37 meta = with lib; { 38 description = "Snapshot testing for pytest, unittest, Django, and Nose"; 39 homepage = "https://github.com/syrusakbary/snapshottest"; 40 license = licenses.mit; 41 maintainers = [ ]; 42 }; 43}