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