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