Files
nixpkgs/pkgs/development/python-modules/expecttest/default.nix
T
Martin Weinelt 7092fc9b21 python3Packages.expecttest: 0.2.1 -> 0.3.0
This commit was automatically generated using update-python-libraries.
2026-02-01 16:43:44 +01:00

39 lines
812 B
Nix

{
buildPythonPackage,
fetchFromGitHub,
hypothesis,
lib,
poetry-core,
pytestCheckHook,
}:
buildPythonPackage (finalAttrs: {
pname = "expecttest";
version = "0.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pytorch";
repo = "expecttest";
tag = "v${finalAttrs.version}";
hash = "sha256-/BMaQD3ZgYiprRYZ/fIlW7mStyFGzsjqup62tegBP7Y=";
};
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;
};
})