From 8562c0d49ee4aed0215fb8889779bd8393476350 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Mar 2021 20:00:28 +0100 Subject: [PATCH] python3Packages.pyplaato: init at 0.0.15 --- .../python-modules/pyplaato/default.nix | 29 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 31 insertions(+) create mode 100644 pkgs/development/python-modules/pyplaato/default.nix diff --git a/pkgs/development/python-modules/pyplaato/default.nix b/pkgs/development/python-modules/pyplaato/default.nix new file mode 100644 index 000000000000..d4e91a985ef3 --- /dev/null +++ b/pkgs/development/python-modules/pyplaato/default.nix @@ -0,0 +1,29 @@ +{ lib +, buildPythonPackage +, fetchPypi +, aiohttp +, python-dateutil +}: + +buildPythonPackage rec { + pname = "pyplaato"; + version = "0.0.15"; + + src = fetchPypi { + inherit pname version; + sha256 = "1nykbkv2fg1x5min07cbi44x6am48f5gw3mnyj7x2kpmj6sqfpqp"; + }; + + propagatedBuildInputs = [ aiohttp python-dateutil ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "pyplaato" ]; + + meta = with lib; { + description = "Python API client for fetching Plaato data"; + homepage = "https://github.com/JohNan/pyplaato"; + license = licenses.mit; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7270853d84eb..7ed1169114d1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5868,6 +5868,8 @@ in { pypillowfight = callPackage ../development/python-modules/pypillowfight { }; + pyplaato = callPackage ../development/python-modules/pyplaato { }; + pyplatec = callPackage ../development/python-modules/pyplatec { }; pypoppler = callPackage ../development/python-modules/pypoppler { };