2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
fastdiff,
|
|
|
|
six,
|
|
|
|
termcolor,
|
|
|
|
pytestCheckHook,
|
|
|
|
pytest-cov,
|
|
|
|
django,
|
2021-01-09 10:05:03 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snapshottest";
|
|
|
|
version = "0.6.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "0g35ggqw4jd9zmazw55kj6gfjdghv49qx4jw5q231qyqj8fzijmv";
|
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
fastdiff
|
|
|
|
six
|
|
|
|
termcolor
|
|
|
|
];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeCheckInputs = [
|
|
|
|
django
|
|
|
|
pytestCheckHook
|
|
|
|
pytest-cov
|
|
|
|
];
|
2021-01-09 10:05:03 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "snapshottest" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Snapshot testing for pytest, unittest, Django, and Nose";
|
|
|
|
homepage = "https://github.com/syrusakbary/snapshottest";
|
|
|
|
license = licenses.mit;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-01-09 10:05:03 +00:00
|
|
|
};
|
|
|
|
}
|