depot/third_party/nixpkgs/pkgs/development/python-modules/wrapt/default.nix
Default email 68d7e71424 Project import generated by Copybara.
GitOrigin-RevId: 945ec499041db73043f745fad3b2a3a01e826081
2022-01-25 20:04:25 -08:00

33 lines
642 B
Nix

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