2018-03-18 13:19:44 +01:00
|
|
|
{ stdenv, fetchPypi, buildPythonPackage, pyparsing, argparse, robotframework, allpairspy }:
|
2017-10-29 15:28:59 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-03-18 13:19:44 +01:00
|
|
|
pname = "RoboMachine";
|
2017-12-30 12:26:56 +01:00
|
|
|
version = "0.8.0";
|
2017-10-29 15:28:59 +01:00
|
|
|
|
2018-03-18 13:19:44 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2017-12-30 12:26:56 +01:00
|
|
|
sha256 = "242cfd9be0f7591138eaeba03c9c190f894ce045e1767ab7b90eca330259fc45";
|
2017-10-29 15:28:59 +01:00
|
|
|
};
|
|
|
|
|
2018-03-18 13:19:44 +01:00
|
|
|
propagatedBuildInputs = [ pyparsing argparse robotframework allpairspy ];
|
2017-10-29 15:28:59 +01:00
|
|
|
|
|
|
|
# Remove Windows .bat files
|
|
|
|
postInstall = ''
|
|
|
|
rm "$out/bin/"*.bat
|
|
|
|
'';
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace setup.py --replace "argparse" ""
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Test data generator for Robot Framework";
|
|
|
|
homepage = https://github.com/mkorpela/RoboMachine;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|