depot/third_party/nixpkgs/pkgs/development/python-modules/wrapt/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

41 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; [ ];
};
}