Files
nixpkgs/pkgs/development/python-modules/dirty-equals/default.nix
T
Martin Weinelt 8e790e0f67 python3Packages.dirty-equals: 0.9.0 -> 0.11.0
https://github.com/samuelcolvin/dirty-equals/releases/tag/v0.11.0

This commit was automatically generated using update-python-libraries.
2026-02-01 16:42:58 +01:00

51 lines
1.1 KiB
Nix

{
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 ];
};
};
in
dirty-equals