Files
nixpkgs/pkgs/development/python-modules/assertpy/default.nix
2026-06-03 21:25:20 +07:00

34 lines
713 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "assertpy";
version = "1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "assertpy";
repo = "assertpy";
tag = finalAttrs.version;
hash = "sha256-TmDnwYvOQIpjwBpMCCn+qg68HnKc0qzVP9fjygqBzkI=";
};
build-system = [ setuptools ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "assertpy" ];
meta = {
description = "Simple assertion library for unit testing with a fluent API";
homepage = "https://github.com/assertpy/assertpy";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fab ];
};
})