summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyrituals/default.nix
blob: b9e5ed8fa0e1483aa8feb1f32fd08396da012ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
  lib,
  aiohttp,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pyrituals";
  version = "0.0.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "milanmeu";
    repo = "pyrituals";
    tag = version;
    hash = "sha256-nCyfwOONtpwRLFq3crRacmrWef6J3mOfKz4fvkOcb3g=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "pyrituals" ];

  meta = {
    description = "Python wrapper for the Rituals Perfume Genie API";
    homepage = "https://github.com/milanmeu/pyrituals";
    changelog = "https://github.com/milanmeu/pyrituals/releases/tag/${src.tag}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}