7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
38 lines
826 B
Nix
38 lines
826 B
Nix
{
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
hypothesis,
|
|
lib,
|
|
poetry-core,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage {
|
|
pname = "expecttest";
|
|
version = "0.2.1";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pytorch";
|
|
repo = "expecttest";
|
|
rev = "683b09a352cc426851adc2e3a9f46e0ab25e4dee"; # no tags
|
|
hash = "sha256-e9/KxPN/w0mrFYgesRGqaiDQ6gor7BpX/5/B0NPtXLY=";
|
|
};
|
|
|
|
build-system = [ 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/pytorch/expecttest";
|
|
platforms = lib.platforms.unix;
|
|
};
|
|
}
|