From 044aaef9c92138bf5f77fdba03f6f4079c3c6ff7 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Mar 2021 20:02:43 +0100 Subject: [PATCH] python3Packages.pyrituals: init at 0.0.2 --- .../python-modules/pyrituals/default.nix | 33 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 pkgs/development/python-modules/pyrituals/default.nix diff --git a/pkgs/development/python-modules/pyrituals/default.nix b/pkgs/development/python-modules/pyrituals/default.nix new file mode 100644 index 000000000000..84bf62ff6d3b --- /dev/null +++ b/pkgs/development/python-modules/pyrituals/default.nix @@ -0,0 +1,33 @@ +{ lib +, aiohttp +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "pyrituals"; + version = "0.0.2"; + format = "pyproject"; + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "milanmeu"; + repo = pname; + rev = version; + sha256 = "0hrwhk3kpvdg78fgnvhmnnh3wprdv10j8jqjm4ly64chr8cdi6f2"; + }; + + propagatedBuildInputs = [ aiohttp ]; + + # Project has no tests + doCheck = false; + pythonImportsCheck = [ "pyrituals" ]; + + meta = with lib; { + description = "Python wrapper for the Rituals Perfume Genie API"; + homepage = "https://github.com/milanmeu/pyrituals"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 7270853d84eb..fb8d80898a5b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5958,6 +5958,8 @@ in { pyrisco = callPackage ../development/python-modules/pyrisco { }; + pyrituals = callPackage ../development/python-modules/pyrituals { }; + pyRFC3339 = callPackage ../development/python-modules/pyrfc3339 { }; PyRMVtransport = callPackage ../development/python-modules/PyRMVtransport { };