summary refs log tree commit diff
path: root/pkgs/development/python-modules/robomachine/default.nix
blob: 613b47a8e6018f3457d40c148de1028a3d59e33d (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ stdenv
, lib
, allpairspy
, buildPythonPackage
, fetchPypi
, pyparsing
, pythonRelaxDepsHook
, robotframework
, setuptools
}:

buildPythonPackage rec {
  pname = "RoboMachine";
  version = "0.10.0";
  format = "pyproject";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-XrxHaV9U7mZ2TvySHGm6qw1AsoukppzwPq4wufIjL+k=";
  };

  nativeBuildInputs = [
    pythonRelaxDepsHook
    setuptools
  ];

  propagatedBuildInputs = [
    pyparsing
    robotframework
    allpairspy
  ];

  pythonRemoveDeps = [
    "argparse"
  ];

  pythonRelaxDeps = [
    "pyparsing"
  ];

  pythonImportsCheck = [
    "robomachine"
  ];

  meta = with lib; {
    description = "Test data generator for Robot Framework";
    homepage = "https://github.com/mkorpela/RoboMachine";
    license = licenses.asl20;
    maintainers = with maintainers; [ bjornfor ];
  };
}