blob: 5c1a27751e070ae00906e7a600c77281aaba0361 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ buildPythonPackage
, fetchFromGitHub
, hypothesis
, lib
, poetry-core
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "expecttest";
version = "0.1.4";
format = "pyproject";
src = fetchFromGitHub {
owner = "ezyang";
repo = pname;
rev = "v${version}";
hash = "sha256-BFM0jFWXfH72n9XuFtU9URW8LWGPVJncXniBV5547W4=";
};
nativeBuildInputs = [ poetry-core ];
nativeCheckInputs = [ 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;
};
}
|