python3Packages.assertpy: init at 1.1

This commit is contained in:
Martin Weinelt 2021-08-04 20:46:20 +02:00
parent 9e8da01211
commit c4a39df4a8
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "assertpy";
version = "1.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "0hnfh45cmqyp7zasrllwf8gbq3mazqlhhk0sq1iqlh6fig0yfq2f";
};
checkInputs = [
pytestCheckHook
];
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 ];
};
}

View file

@ -567,6 +567,8 @@ in {
aspy-yaml = callPackage ../development/python-modules/aspy.yaml { };
assertpy = callPackage ../development/python-modules/assertpy { };
asteval = callPackage ../development/python-modules/asteval { };
astor = callPackage ../development/python-modules/astor { };