summary refs log tree commit diff
path: root/pkgs/development/python-modules/cached-property/default.nix
blob: 6ab5015a1e797d4eae85bbff17327e7c16ffada7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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 ];
  };
}