Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / expecttest / default.nix
blob5c1a27751e070ae00906e7a600c77281aaba0361
1 { buildPythonPackage
2 , fetchFromGitHub
3 , hypothesis
4 , lib
5 , poetry-core
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "expecttest";
11   version = "0.1.4";
12   format = "pyproject";
14   src = fetchFromGitHub {
15     owner = "ezyang";
16     repo = pname;
17     rev = "v${version}";
18     hash = "sha256-BFM0jFWXfH72n9XuFtU9URW8LWGPVJncXniBV5547W4=";
19   };
21   nativeBuildInputs = [ poetry-core ];
23   nativeCheckInputs = [ hypothesis pytestCheckHook ];
25   pythonImportsCheck = [ "expecttest" ];
27   meta = {
28     maintainers = [ lib.maintainers.SomeoneSerge ];
29     license = lib.licenses.mit;
30     description = ''EZ Yang "golden" tests (testing against a reference implementation)'';
31     homepage = "https://github.com/ezyang/expecttest";
32     platforms = lib.platforms.unix;
33   };