2017-10-29 14:28:59 +00:00
|
|
|
{ stdenv, fetchurl, buildPythonPackage, pyparsing, argparse, robotframework }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 11:26:09 +00:00
|
|
|
pname = "robomachine";
|
2017-12-30 11:26:56 +00:00
|
|
|
version = "0.8.0";
|
2017-11-09 11:26:09 +00:00
|
|
|
name = pname + "-" + version;
|
2017-10-29 14:28:59 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/R/RoboMachine/RoboMachine-0.6.tar.gz";
|
2017-12-30 11:26:56 +00:00
|
|
|
sha256 = "242cfd9be0f7591138eaeba03c9c190f894ce045e1767ab7b90eca330259fc45";
|
2017-10-29 14:28:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyparsing argparse robotframework ];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|