My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/snapshottest/default.nix

33 lines
714 B

{ lib
, buildPythonPackage
, fetchPypi
, fastdiff
, six
, termcolor
, pytestCheckHook
, pytest-cov
, django
}:
buildPythonPackage rec {
pname = "snapshottest";
version = "0.6.0";
src = fetchPypi {
inherit pname version;
sha256 = "0g35ggqw4jd9zmazw55kj6gfjdghv49qx4jw5q231qyqj8fzijmv";
};
propagatedBuildInputs = [ fastdiff six termcolor ];
checkInputs = [ 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 = with maintainers; [ SuperSandro2000 ];
};
}