1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytestCheckHook
5}:
6
7buildPythonPackage rec {
8 pname = "wrapt";
9 version = "1.13.3";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "GrahamDumpleton";
14 repo = pname;
15 rev = version;
16 hash = "sha256-kq3Ujkn4HzonzjuQfVnPNnQV+2Rnbr3ZfYmrnY3upxU=";
17 };
18
19 checkInputs = [
20 pytestCheckHook
21 ];
22
23 pythonImportsCheck = [
24 "wrapt"
25 ];
26
27 meta = with lib; {
28 description = "Module for decorators, wrappers and monkey patching";
29 homepage = "https://github.com/GrahamDumpleton/wrapt";
30 license = licenses.bsd2;
31 maintainers = with maintainers; [ ];
32 };
33}