summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/domeneshop/default.nix
blob: f6a921cdaadc2736e5e859760a9618757a3c3c6d (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  setuptools,
  urllib3,
  certifi,
}:

buildPythonPackage rec {
  pname = "domeneshop";
  version = "0.4.4";
  pyproject = true;

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

  nativeBuildInputs = [ setuptools ];

  dependencies = [
    certifi
    urllib3
  ];

  # There are none
  doCheck = false;

  pythonImportsCheck = [ "domeneshop" ];

  meta = {
    changelog = "https://github.com/domeneshop/python-domeneshop/releases/tag/v${version}";
    description = "Python library for working with the Domeneshop API";
    homepage = "https://api.domeneshop.no/docs/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ pbsds ];
  };
}