1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/robomachine/default.nix
2017-10-29 22:35:15 +01:00

29 lines
761 B
Nix

{ stdenv, fetchurl, buildPythonPackage, pyparsing, argparse, robotframework }:
buildPythonPackage rec {
name = "robomachine-0.6";
src = fetchurl {
url = "mirror://pypi/R/RoboMachine/RoboMachine-0.6.tar.gz";
sha256 = "6c9a9bae7bffa272b2a09b05df06c29a3a776542c70cae8041a8975a061d2e54";
};
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 ];
};
}