depot/third_party/nixpkgs/pkgs/development/python-modules/wrapt/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

41 lines
778 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
sphinxHook,
sphinx-rtd-theme,
}:
buildPythonPackage rec {
pname = "wrapt";
version = "1.16.0";
outputs = [
"out"
"doc"
];
format = "setuptools";
src = fetchFromGitHub {
owner = "GrahamDumpleton";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-lVpSriXSvRwAKX4iPOIBvJwhqhKjdrUdGaEG4QoTQyo=";
};
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 = [ ];
};
}