1{ lib
2, buildPythonPackage
3, fetchpatch
4, fetchPypi
5}:
6
7buildPythonPackage rec {
8 pname = "decorator";
9 version = "4.4.1";
10
11 src = fetchPypi {
12 inherit pname version;
13 sha256 = "54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce";
14 };
15
16 patches = [
17 (fetchpatch {
18 url = https://github.com/micheles/decorator/commit/3265f2755d16c0a3dfc9f1feee39722ddc11ee80.patch;
19 sha256 = "1q5nmff30vccqq5swf2ivm8cn7x3lhz8c9qpj0zddgs2y7fw8syz";
20 })
21 ];
22
23 meta = with lib; {
24 homepage = https://pypi.python.org/pypi/decorator;
25 description = "Better living through Python with decorators";
26 license = lib.licenses.mit;
27 maintainers = [ maintainers.costrouc ];
28 };
29}