Something went wrong. Try again.
lol
Something went wrong. Try again.
882 B · 36 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637{ lib, buildPythonPackage, fetchFromGitHub, pythonAtLeast, setuptools,}:
buildPythonPackage { pname = "assay"; version = "0-unstable-2024-05-09"; pyproject = true;
src = fetchFromGitHub { owner = "brandon-rhodes"; repo = "assay"; rev = "74617d70e77afa09f58b3169cf496679ac5d5621"; hash = "sha256-zYpLtcXZ16EJWKSCqxFkSz/G9PwIZEQGBrYiJKuqnc4="; };
build-system = [ setuptools ];
postPatch = lib.optionalString (pythonAtLeast "3.14") '' substituteInPlace assay/assertion.py \ --replace-fail "op.load_assertion_error" "op.load_common_constant" '';
pythonImportsCheck = [ "assay" ];
meta = { homepage = "https://github.com/brandon-rhodes/assay"; description = "Attempt to write a Python testing framework I can actually stand"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ zane ]; };}