2017-12-31 11:24:15 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2020-02-18 12:55:56 +00:00
|
|
|
, fetchpatch
|
2017-12-31 11:24:15 +00:00
|
|
|
, fetchPypi
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "decorator";
|
2019-11-19 14:35:34 +00:00
|
|
|
version = "4.4.1";
|
2017-12-31 11:24:15 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-19 14:35:34 +00:00
|
|
|
sha256 = "54c38050039232e1db4ad7375cfce6748d7b41c29e95a081c8a6d2c30364a2ce";
|
2017-12-31 11:24:15 +00:00
|
|
|
};
|
|
|
|
|
2020-02-18 12:55:56 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://github.com/micheles/decorator/commit/3265f2755d16c0a3dfc9f1feee39722ddc11ee80.patch";
|
2020-02-18 12:55:56 +00:00
|
|
|
sha256 = "1q5nmff30vccqq5swf2ivm8cn7x3lhz8c9qpj0zddgs2y7fw8syz";
|
|
|
|
})
|
|
|
|
];
|
2019-11-19 14:35:34 +00:00
|
|
|
|
2019-07-16 13:01:31 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://pypi.python.org/pypi/decorator";
|
2017-12-31 11:24:15 +00:00
|
|
|
description = "Better living through Python with decorators";
|
|
|
|
license = lib.licenses.mit;
|
2019-07-16 13:01:31 +01:00
|
|
|
maintainers = [ maintainers.costrouc ];
|
2017-12-31 11:24:15 +00:00
|
|
|
};
|
2019-07-16 13:01:31 +01:00
|
|
|
}
|