pythonPackages.robomachine: move to python-modules/
This commit is contained in:
parent
6de28d760a
commit
3ab65ef6bf
28
pkgs/development/python-modules/robomachine/default.nix
Normal file
28
pkgs/development/python-modules/robomachine/default.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{ 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 ];
|
||||||
|
};
|
||||||
|
}
|
@ -18246,32 +18246,7 @@ in {
|
|||||||
|
|
||||||
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
restructuredtext_lint = callPackage ../development/python-modules/restructuredtext_lint { };
|
||||||
|
|
||||||
robomachine = buildPythonPackage rec {
|
robomachine = callPackage ../development/python-modules/robomachine { };
|
||||||
name = "robomachine-0.6";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/R/RoboMachine/RoboMachine-0.6.tar.gz";
|
|
||||||
sha256 = "6c9a9bae7bffa272b2a09b05df06c29a3a776542c70cae8041a8975a061d2e54";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ pyparsing argparse robotframework ];
|
|
||||||
|
|
||||||
# Remove Windows .bat files
|
|
||||||
postInstall = ''
|
|
||||||
rm "$out/bin/"*.bat
|
|
||||||
'';
|
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace setup.py --replace "argparse" ""
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Test data generator for Robot Framework";
|
|
||||||
homepage = https://github.com/mkorpela/RoboMachine;
|
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ bjornfor ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
robotframework = buildPythonPackage rec {
|
robotframework = buildPythonPackage rec {
|
||||||
version = "3.0.2";
|
version = "3.0.2";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user