summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/tapsaff/default.nix
blob: 2aaf9182a3af79181f17be9c258423a8d609bdf6 (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  requests,
  setuptools,
}:

buildPythonPackage rec {
  pname = "tapsaff";
  version = "0.2.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Q3VLbPsgXAYvZsjcW1m3lus2SFMjNJ8AmkcNK0THB6I=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    requests
  ];

  # Package does not have tests
  doCheck = false;

  pythonImportsCheck = [
    "tapsaff"
  ];

  meta = {
    description = "Provides an API for requesting information from taps-aff.co.uk";
    homepage = "https://github.com/bazwilliams/python-taps-aff";
    license = lib.licenses.mit;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}