46 lines
809 B
Nix
46 lines
809 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
pytestCheckHook,
|
|
sphinxHook,
|
|
sphinx-rtd-theme,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "wrapt";
|
|
version = "1.17.2";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "GrahamDumpleton";
|
|
repo = "wrapt";
|
|
tag = version;
|
|
hash = "sha256-QduT5bncXi4LeI034h5Pqtwybru0QcQIYI7cMchLy7c=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
nativeBuildInputs = [
|
|
sphinxHook
|
|
sphinx-rtd-theme
|
|
];
|
|
|
|
outputs = [
|
|
"out"
|
|
"doc"
|
|
];
|
|
|
|
nativeCheckInputs = [ pytestCheckHook ];
|
|
|
|
pythonImportsCheck = [ "wrapt" ];
|
|
|
|
meta = with lib; {
|
|
description = "Module for decorators, wrappers and monkey patching";
|
|
homepage = "https://github.com/GrahamDumpleton/wrapt";
|
|
license = licenses.bsd2;
|
|
maintainers = [ ];
|
|
};
|
|
}
|