depot/third_party/nixpkgs/pkgs/development/python-modules/wrapt/default.nix

34 lines
648 B
Nix
Raw Normal View History

{ 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=";
};
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 = with maintainers; [ ];
};
}