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