From 418b67bad858dc064567cb783b8dcc89301e1c44 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 11 Jun 2020 11:48:09 +0200 Subject: [PATCH] python.pkgs.lazy: init at 1.4 --- .../python-modules/lazy/default.nix | 21 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/development/python-modules/lazy/default.nix diff --git a/pkgs/development/python-modules/lazy/default.nix b/pkgs/development/python-modules/lazy/default.nix new file mode 100644 index 000000000000..ff967d62dc6f --- /dev/null +++ b/pkgs/development/python-modules/lazy/default.nix @@ -0,0 +1,21 @@ +{ lib +, buildPythonPackage +, fetchPypi +}: + +buildPythonPackage rec { + pname = "lazy"; + version = "1.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "2c6d27a5ab130fb85435320651a47403adcb37ecbcc501b0c6606391f65f5b43"; + extension = "zip"; + }; + + meta = { + description = "Lazy attributes for Python objects"; + license = lib.licenses.bsd2; + homepage = "https://github.com/stefanholek/lazy"; + }; +} \ No newline at end of file diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 69f1fdba77db..7cfe411f08d0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3069,6 +3069,8 @@ in { latexcodec = callPackage ../development/python-modules/latexcodec {}; + lazy = callPackage ../development/python-modules/lazy { }; + libmodulemd = pipe pkgs.libmodulemd [ toPythonModule