1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 19:26:02 +00:00
nixpkgs/pkgs/development/python-modules/cached-property/default.nix

25 lines
565 B
Nix
Raw Normal View History

{ 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 ];
};
}