depot/third_party/nixpkgs/pkgs/development/python-modules/expecttest/default.nix
Default email 7d542a9f98 Project import generated by Copybara.
GitOrigin-RevId: b72b8b94cf0c012b0252a9100a636cad69696666
2022-12-02 08:20:57 +00:00

34 lines
761 B
Nix

{ buildPythonPackage
, fetchFromGitHub
, hypothesis
, lib
, poetry-core
, 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-core ];
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;
};
}