nixpkgs/pkgs/development/python-modules/wrapt/default.nix
Dmitry Bogatov 27ce8eb0d1 python3.pkgs.wrapt: build offline documentation
X-Reverse-Dependencies: python3.pkgs.aiobotocore
2023-05-13 09:05:35 -04:00

42 lines
775 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, sphinxHook
, sphinx-rtd-theme
}:
buildPythonPackage rec {
pname = "wrapt";
version = "1.14.1";
outputs = [ "out" "doc" ];
format = "setuptools";
src = fetchFromGitHub {
owner = "GrahamDumpleton";
repo = pname;
rev = version;
hash = "sha256-nXwDuNo4yZxgjnkus9bVwIZltPaSH93D+PcZMGT2nGM=";
};
nativeCheckInputs = [
pytestCheckHook
];
nativeBuildInputs = [
sphinxHook
sphinx-rtd-theme
];
pythonImportsCheck = [
"wrapt"
];
meta = with lib; {
description = "Module for decorators, wrappers and monkey patching";
homepage = "https://github.com/GrahamDumpleton/wrapt";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}