depot/third_party/nixpkgs/pkgs/development/python-modules/snapshottest/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

43 lines
750 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
fastdiff,
six,
termcolor,
pytestCheckHook,
pytest-cov,
django,
}:
buildPythonPackage rec {
pname = "snapshottest";
version = "0.6.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "0g35ggqw4jd9zmazw55kj6gfjdghv49qx4jw5q231qyqj8fzijmv";
};
propagatedBuildInputs = [
fastdiff
six
termcolor
];
nativeCheckInputs = [
django
pytestCheckHook
pytest-cov
];
pythonImportsCheck = [ "snapshottest" ];
meta = with lib; {
description = "Snapshot testing for pytest, unittest, Django, and Nose";
homepage = "https://github.com/syrusakbary/snapshottest";
license = licenses.mit;
maintainers = [ ];
};
}