1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pytestCheckHook 5, sphinxHook 6, sphinx-rtd-theme 7}: 8 9buildPythonPackage rec { 10 pname = "wrapt"; 11 version = "1.14.1"; 12 outputs = [ "out" "doc" ]; 13 format = "setuptools"; 14 15 src = fetchFromGitHub { 16 owner = "GrahamDumpleton"; 17 repo = pname; 18 rev = version; 19 hash = "sha256-nXwDuNo4yZxgjnkus9bVwIZltPaSH93D+PcZMGT2nGM="; 20 }; 21 22 nativeCheckInputs = [ 23 pytestCheckHook 24 ]; 25 26 nativeBuildInputs = [ 27 sphinxHook 28 sphinx-rtd-theme 29 ]; 30 31 pythonImportsCheck = [ 32 "wrapt" 33 ]; 34 35 meta = with lib; { 36 description = "Module for decorators, wrappers and monkey patching"; 37 homepage = "https://github.com/GrahamDumpleton/wrapt"; 38 license = licenses.bsd2; 39 maintainers = with maintainers; [ ]; 40 }; 41}