python312Packages.asserts: init at 0.13.1

This commit is contained in:
Doron Behar
2025-02-19 17:09:28 +02:00
parent c4d170bd4f
commit 9ffaad9af2
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,51 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
# build-system
poetry-core,
# dependencies
typing-extensions,
# tests
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "asserts";
version = "0.13.1";
pyproject = true;
src = fetchFromGitHub {
owner = "srittau";
repo = "python-asserts";
tag = "v${version}";
hash = "sha256-hjTzGCcURI0NH9pgZ6KB0J3tSbgIaneDnWr8zrLVG6M=";
};
build-system = [
poetry-core
];
dependencies = [
typing-extensions
];
nativeCheckInputs = [
unittestCheckHook
];
pythonImportsCheck = [
"asserts"
];
meta = {
description = "Stand-alone Assertions for Python";
homepage = "https://github.com/srittau/python-asserts";
changelog = "https://github.com/srittau/python-asserts/blob/${src.rev}/CHANGELOG.md";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ doronbehar ];
};
}
+2
View File
@@ -894,6 +894,8 @@ self: super: with self; {
assay = callPackage ../development/python-modules/assay { };
asserts = callPackage ../development/python-modules/asserts { };
assertpy = callPackage ../development/python-modules/assertpy { };
asterisk-mbox = callPackage ../development/python-modules/asterisk-mbox { };