Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytestCheckHook, 6 sphinxHook, 7 sphinx-rtd-theme, 8}: 9 10buildPythonPackage rec { 11 pname = "wrapt"; 12 version = "1.16.0"; 13 outputs = [ 14 "out" 15 "doc" 16 ]; 17 format = "setuptools"; 18 19 src = fetchFromGitHub { 20 owner = "GrahamDumpleton"; 21 repo = pname; 22 rev = "refs/tags/${version}"; 23 hash = "sha256-lVpSriXSvRwAKX4iPOIBvJwhqhKjdrUdGaEG4QoTQyo="; 24 }; 25 26 nativeCheckInputs = [ pytestCheckHook ]; 27 28 nativeBuildInputs = [ 29 sphinxHook 30 sphinx-rtd-theme 31 ]; 32 33 pythonImportsCheck = [ "wrapt" ]; 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 = [ ]; 40 }; 41}