nixpkgs-suyu/pkgs/development/python-modules/cached-property/default.nix
2017-12-31 12:24:48 +01:00

25 lines
No EOL
565 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, freezegun
}:
buildPythonPackage rec {
pname = "cached-property";
version = "1.3.1";
src = fetchPypi {
inherit pname version;
sha256 = "6562f0be134957547421dda11640e8cadfa7c23238fc4e0821ab69efdb1095f3";
};
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 ];
};
}