Something went wrong. Try again.
lol
Something went wrong. Try again.
1.1 kB · 50 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, hatchling, pydantic, pytest-examples, pytestCheckHook, pytz,}:
let dirty-equals = buildPythonPackage rec { pname = "dirty-equals"; version = "0.11.0"; pyproject = true;
src = fetchFromGitHub { owner = "samuelcolvin"; repo = "dirty-equals"; tag = "v${version}"; hash = "sha256-JFKWrbMdxhvSBbjQ+S9HPW87CK+5ZZiXHg8Wltlv2YY="; };
build-system = [ hatchling ];
dependencies = [ pytz ];
doCheck = false;
passthru.tests.pytest = dirty-equals.overrideAttrs { doCheck = true; };
nativeCheckInputs = [ pydantic pytest-examples pytestCheckHook ];
pythonImportsCheck = [ "dirty_equals" ];
meta = { description = "Module for doing dirty (but extremely useful) things with equals"; homepage = "https://github.com/samuelcolvin/dirty-equals"; changelog = "https://github.com/samuelcolvin/dirty-equals/releases/tag/${src.tag}"; license = with lib.licenses; [ mit ]; maintainers = with lib.maintainers; [ fab ]; }; };indirty-equals