e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
41 lines
790 B
Nix
41 lines
790 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 = with maintainers; [ ];
|
|
};
|
|
}
|