about summary refs log tree commit diff
path: root/pkgs/development/python-modules/zephyr-python-api/default.nix
blob: d4bd2642317c4c4455958dfaf543c650d53037f5 (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, requests
, setuptools
}:

buildPythonPackage rec {
  pname = "zephyr-python-api";
  version = "0.0.5";
  format = "pyproject";

  src = fetchPypi {
    pname = "zephyr_python_api";
    inherit version;
    hash = "sha256-tzuLFM2Oav5rKH1GEZcP/Kfw4NXRTObMf1gcn862UBw=";
  };

  nativeBuildInputs = [ setuptools ];

  propagatedBuildInputs = [
    requests
  ];

  # No tests in archive
  doCheck = false;

  pythonImportsCheck = [ "zephyr" ];

  meta = {
    homepage = "https://github.com/nassauwinter/zephyr-python-api";
    description = "A set of wrappers for Zephyr Scale (TM4J) REST API";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ rapiteanu ];
  };
}