2021-01-25 09:26:54 +01:00
|
|
|
{ lib, fetchPypi, buildPythonPackage, pyparsing, robotframework, allpairspy }:
|
2017-10-29 15:28:59 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2018-03-18 13:19:44 +01:00
|
|
|
pname = "RoboMachine";
|
2019-10-24 08:47:47 +02:00
|
|
|
version = "0.9.0";
|
2017-10-29 15:28:59 +01:00
|
|
|
|
2018-03-18 13:19:44 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:47 +02:00
|
|
|
sha256 = "4251d405759a38f1e665acc245dcbcdec319376718169a73c57560183370fe0e";
|
2017-10-29 15:28:59 +01:00
|
|
|
};
|
|
|
|
|
2019-01-22 12:30:45 +01:00
|
|
|
propagatedBuildInputs = [ pyparsing 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" ""
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-10-29 15:28:59 +01:00
|
|
|
description = "Test data generator for Robot Framework";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/mkorpela/RoboMachine";
|
2017-10-29 15:28:59 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ bjornfor ];
|
|
|
|
};
|
|
|
|
}
|