nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 844 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 patches = [ ./pytest9-compat.patch ]; 24 25 build-system = [ setuptools ]; 26 27 nativeBuildInputs = [ 28 sphinxHook 29 sphinx-rtd-theme 30 ]; 31 32 outputs = [ 33 "out" 34 "doc" 35 ]; 36 37 nativeCheckInputs = [ pytestCheckHook ]; 38 39 pythonImportsCheck = [ "wrapt" ]; 40 41 meta = { 42 description = "Module for decorators, wrappers and monkey patching"; 43 homepage = "https://github.com/GrahamDumpleton/wrapt"; 44 license = lib.licenses.bsd2; 45 maintainers = [ ]; 46 }; 47}