a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
33 lines
642 B
Nix
33 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; [ ];
|
|
};
|
|
}
|