2021-08-04 20:46:20 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pytestCheckHook,
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "assertpy";
|
|
|
|
version = "1.1";
|
2023-12-07 16:53:02 +13:00
|
|
|
format = "setuptools";
|
2021-08-04 20:46:20 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2025-05-25 03:41:48 +02:00
|
|
|
owner = "assertpy";
|
|
|
|
repo = "assertpy";
|
2025-04-08 02:51:45 -04:00
|
|
|
rev = version;
|
2021-08-04 20:46:20 +02:00
|
|
|
sha256 = "0hnfh45cmqyp7zasrllwf8gbq3mazqlhhk0sq1iqlh6fig0yfq2f";
|
|
|
|
};
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
2021-08-04 20:46:20 +02:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "assertpy" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Simple assertion library for unit testing with a fluent API";
|
|
|
|
homepage = "https://github.com/assertpy/assertpy";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|