1{
2 lib,
3 aiohttp,
4 buildPythonPackage,
5 fetchFromGitHub,
6 setuptools,
7}:
8
9buildPythonPackage rec {
10 pname = "pyrituals";
11 version = "0.0.7";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "milanmeu";
16 repo = "pyrituals";
17 tag = version;
18 hash = "sha256-nCyfwOONtpwRLFq3crRacmrWef6J3mOfKz4fvkOcb3g=";
19 };
20
21 build-system = [ setuptools ];
22
23 dependencies = [ aiohttp ];
24
25 # Project has no tests
26 doCheck = false;
27
28 pythonImportsCheck = [ "pyrituals" ];
29
30 meta = with lib; {
31 description = "Python wrapper for the Rituals Perfume Genie API";
32 homepage = "https://github.com/milanmeu/pyrituals";
33 changelog = "https://github.com/milanmeu/pyrituals/releases/tag/${src.tag}";
34 license = licenses.mit;
35 maintainers = with maintainers; [ fab ];
36 };
37}