From c54d577db429743df61c1fc0e4b2671ace0e8010 Mon Sep 17 00:00:00 2001 From: Eric Sagnes Date: Fri, 25 Mar 2016 18:28:57 +0900 Subject: [PATCH] cached-property: init at 1.3.0 --- pkgs/top-level/python-packages.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 88c238ef8b4..5353cf367be 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1809,6 +1809,26 @@ in modules // { propagatedBuildInputs = with self; [ boto crcmod psutil ]; }; + cached-property = buildPythonPackage rec { + version = "1.3.0"; + name = "cached-property-${version}"; + + src = pkgs.fetchurl { + url = "https://pypi.python.org/packages/source/c/cached-property/${name}.tar.gz"; + sha256 = "10dwi3s6f154ag9dvqy5jiwp31fs57lbxjcjgn4cwvi8qyqpi3j5"; + }; + + buildInputs = with self; [ freezegun ]; + + meta = { + description = "A decorator for caching properties in classes"; + homepage = https://github.com/pydanny/cached-property; + license = licenses.bsd3; + platforms = platforms.linux; + maintainers = with maintainers; [ ericsagnes ]; + }; + }; + cgroup-utils = buildPythonPackage rec { version = "0.6"; name = "cgroup-utils-${version}";