nixpkgs/pkgs/development/python-modules/wrapt/default.nix
2022-11-09 09:48:04 -08:00

34 lines
642 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "wrapt";
version = "1.14.1";
format = "setuptools";
src = fetchFromGitHub {
owner = "GrahamDumpleton";
repo = pname;
rev = version;
hash = "sha256-nXwDuNo4yZxgjnkus9bVwIZltPaSH93D+PcZMGT2nGM=";
};
checkInputs = [
pytestCheckHook
];
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; [ ];
};
}