Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / wrapt / default.nix
blob3995e291bc3ad93657149bfaca279f436c93f9c7
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 , sphinxHook
6 , sphinx-rtd-theme
7 }:
9 buildPythonPackage rec {
10   pname = "wrapt";
11   version = "1.16.0";
12   outputs = [ "out" "doc" ];
13   format = "setuptools";
15   src = fetchFromGitHub {
16     owner = "GrahamDumpleton";
17     repo = pname;
18     rev = "refs/tags/${version}";
19     hash = "sha256-lVpSriXSvRwAKX4iPOIBvJwhqhKjdrUdGaEG4QoTQyo=";
20   };
22   nativeCheckInputs = [
23     pytestCheckHook
24   ];
26   nativeBuildInputs = [
27     sphinxHook
28     sphinx-rtd-theme
29   ];
31   pythonImportsCheck = [
32     "wrapt"
33   ];
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   };