nixpkgs/pkgs/development/python-modules/robomachine/default.nix

30 lines
740 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, pyparsing, robotframework, allpairspy }:
buildPythonPackage rec {
2018-03-18 13:19:44 +01:00
pname = "RoboMachine";
2019-10-24 08:47:47 +02:00
version = "0.9.0";
2018-03-18 13:19:44 +01:00
src = fetchPypi {
inherit pname version;
2019-10-24 08:47:47 +02:00
sha256 = "4251d405759a38f1e665acc245dcbcdec319376718169a73c57560183370fe0e";
};
propagatedBuildInputs = [ pyparsing robotframework allpairspy ];
# Remove Windows .bat files
postInstall = ''
rm "$out/bin/"*.bat
'';
postPatch = ''
substituteInPlace setup.py --replace "argparse" ""
'';
meta = with lib; {
description = "Test data generator for Robot Framework";
homepage = "https://github.com/mkorpela/RoboMachine";
license = licenses.asl20;
maintainers = with maintainers; [ bjornfor ];
};
}