From fa8a2b5bc4d6aa9117e95cd0a64078fb669027aa Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 23 Nov 2020 19:01:29 +0100 Subject: [PATCH] python3Packages.kivy-garden: init at 0.1.4 Signed-off-by: Marc 'risson' Schmitt --- .../python-modules/kivy-garden/default.nix | 30 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 pkgs/development/python-modules/kivy-garden/default.nix diff --git a/pkgs/development/python-modules/kivy-garden/default.nix b/pkgs/development/python-modules/kivy-garden/default.nix new file mode 100644 index 000000000000..edfad0c9b91d --- /dev/null +++ b/pkgs/development/python-modules/kivy-garden/default.nix @@ -0,0 +1,30 @@ +{ lib +, buildPythonPackage, fetchPypi +, requests +}: + +buildPythonPackage rec { + pname = "kivy-garden"; + version = "0.1.4"; + + src = fetchPypi { + inherit pname version; + sha256 = "0wkcpr2zc1q5jb0bi7v2dgc0vs5h1y7j42mviyh764j2i0kz8mn2"; + }; + + propagatedBuildInputs = [ requests ]; + + pythonImportsCheck = [ "garden" ]; + + # There are no tests in the Pypi archive and building from source is not + # easily feasible because the build is done using buildozer and multiple + # repositories. + doCheck = false; + + meta = with lib; { + description = "The kivy garden installation script, split into its own package for convenient use in buildozer."; + homepage = "https://pypi.python.org/pypi/kivy-garden"; + license = licenses.mit; + maintainers = with maintainers; [ risson ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 23dd4638b989..528820dda618 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3507,6 +3507,8 @@ in { kitchen = callPackage ../development/python-modules/kitchen { }; + kivy-garden = callPackage ../development/python-modules/kivy-garden { }; + kiwisolver = if isPy3k then callPackage ../development/python-modules/kiwisolver { } else