2017-12-31 12:17:36 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, freezegun
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "cached-property";
|
2018-02-26 18:44:37 +01:00
|
|
|
version = "1.4.0";
|
2017-12-31 12:17:36 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-02-26 18:44:37 +01:00
|
|
|
sha256 = "a2fa0f89dd422f7e5dd992a4a3e0ce209d5d1e47a4db28fd0a7b5273ec8da3f0";
|
2017-12-31 12:17:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ freezegun ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A decorator for caching properties in classes";
|
|
|
|
homepage = https://github.com/pydanny/cached-property;
|
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
platforms = lib.platforms.unix;
|
|
|
|
maintainers = with lib.maintainers; [ ericsagnes ];
|
|
|
|
};
|
|
|
|
}
|