python3Packages.assertpy: init at 1.1
This commit is contained in:
parent
9e8da01211
commit
c4a39df4a8
2 changed files with 34 additions and 0 deletions
32
pkgs/development/python-modules/assertpy/default.nix
Normal file
32
pkgs/development/python-modules/assertpy/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue