1{ stdenv, fetchurl, buildPythonPackage, pyparsing, argparse, robotframework }:
2
3buildPythonPackage rec {
4 pname = "robomachine";
5 version = "0.8.0";
6 name = pname + "-" + version;
7
8 src = fetchurl {
9 url = "mirror://pypi/R/RoboMachine/RoboMachine-0.6.tar.gz";
10 sha256 = "242cfd9be0f7591138eaeba03c9c190f894ce045e1767ab7b90eca330259fc45";
11 };
12
13 propagatedBuildInputs = [ pyparsing argparse robotframework ];
14
15 # Remove Windows .bat files
16 postInstall = ''
17 rm "$out/bin/"*.bat
18 '';
19
20 postPatch = ''
21 substituteInPlace setup.py --replace "argparse" ""
22 '';
23
24 meta = with stdenv.lib; {
25 description = "Test data generator for Robot Framework";
26 homepage = https://github.com/mkorpela/RoboMachine;
27 license = licenses.asl20;
28 maintainers = with maintainers; [ bjornfor ];
29 };
30}