summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ondilo/default.nix
blob: d0c059bc613ed12f1b6e69154265b4bc9aa26e8d (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
38
39
40
41
42
43
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  oauthlib,
  requests,
  requests-oauthlib,
  setuptools,
}:

buildPythonPackage rec {
  pname = "ondilo";
  version = "0.5.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "JeromeHXP";
    repo = "ondilo";
    tag = version;
    hash = "sha256-l9pmamJbB/FAqB49S4vQAan9Wgj3qu1J2pboQO1Hg/Q=";
  };

  build-system = [ setuptools ];

  dependencies = [
    oauthlib
    requests
    requests-oauthlib
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [ "ondilo" ];

  meta = {
    description = "Python package to access Ondilo ICO APIs";
    homepage = "https://github.com/JeromeHXP/ondilo";
    changelog = "https://github.com/JeromeHXP/ondilo/releases/tag/${version}";
    license = with lib.licenses; [ mit ];
    maintainers = with lib.maintainers; [ fab ];
  };
}