mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 19:16:11 +00:00
pythonPackages.snapshottest: init at 0.6.0
This commit is contained in:
parent
1c7d05fd15
commit
7cf04dc9ad
33
pkgs/development/python-modules/snapshottest/default.nix
Normal file
33
pkgs/development/python-modules/snapshottest/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -6981,6 +6981,8 @@ in {
|
||||
|
||||
snapperGUI = callPackage ../development/python-modules/snappergui { };
|
||||
|
||||
snapshottest = callPackage ../development/python-modules/snapshottest { };
|
||||
|
||||
sniffio = callPackage ../development/python-modules/sniffio { };
|
||||
|
||||
snitun = callPackage ../development/python-modules/snitun { };
|
||||
|
Loading…
Reference in New Issue
Block a user