python3Packages.expecttest: init at 0.1.3

This commit is contained in:
Samuel Ainsworth 2022-05-27 00:37:27 +00:00
parent 2561bc94bd
commit 4edbc05a5e
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ buildPythonPackage
, fetchFromGitHub
, hypothesis
, lib
, poetry
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "expecttest";
version = "0.1.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "ezyang";
repo = pname;
rev = "v${version}";
hash = "sha256-5CnpVFSbf3FcAa06Y7atG8sxu8uevpfrliB2HuVcrx0=";
};
buildInputs = [ poetry ];
checkInputs = [ hypothesis pytestCheckHook ];
pythonImportsCheck = [ "expecttest" ];
meta = {
maintainers = [ lib.maintainers.SomeoneSerge ];
license = lib.licenses.mit;
description = ''EZ Yang "golden" tests (testing against a reference implementation)'';
homepage = "https://github.com/ezyang/expecttest";
platforms = lib.platforms.unix;
};
}

View File

@ -2813,6 +2813,8 @@ in {
expects = callPackage ../development/python-modules/expects { };
expecttest = callPackage ../development/python-modules/expecttest { };
expiringdict = callPackage ../development/python-modules/expiringdict { };
explorerscript = callPackage ../development/python-modules/explorerscript { };