python3Packages.callee: init at 0.3.1

This commit is contained in:
Martin Weinelt 2022-08-09 22:47:05 +02:00
parent bcad662517
commit 79c27cceda
No known key found for this signature in database
GPG key ID: 87C1E9888F856759
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "callee";
version = "0.3.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "Xion";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-dsXMY3bW/70CmTfCuy5KjxPa+NLCzxzWv5e1aV2NEWE=";
};
pythonImportsCheck = [
"callee"
];
doCheck = false; # missing dependency
checkInputs = [
# taipan missing, unmaintained, not python3.10 compatible
pytestCheckHook
];
meta = with lib; {
description = "Argument matchers for unittest.mock";
homepage = "https://github.com/Xion/callee";
license = licenses.bsd3;
maintainers = with maintainers; [ hexa ];
};
}

View file

@ -1528,6 +1528,8 @@ in {
caldav = callPackage ../development/python-modules/caldav { };
callee = callPackage ../development/python-modules/callee { };
calmjs-parse = callPackage ../development/python-modules/calmjs-parse { };
can = callPackage ../development/python-modules/can { };