summary refs log tree commit diff
path: root/pkgs/development/python-modules/robotframework-ride
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2017-10-29 15:43:01 +0100
committerBjørn Forsman <bjorn.forsman@gmail.com>2017-10-29 22:35:15 +0100
commitfb3973a43e5475c63463fc30fbdbf3e3cecf7c68 (patch)
tree4ee9dd2f1a7a7eff63e5ee7ad3245f0d6d76fe9c /pkgs/development/python-modules/robotframework-ride
parentb6d345c4b0791408ae69d7e34e9f3f4bf5fe5c89 (diff)
downloadnixpkgs-fb3973a43e5475c63463fc30fbdbf3e3cecf7c68.tar
nixpkgs-fb3973a43e5475c63463fc30fbdbf3e3cecf7c68.tar.gz
nixpkgs-fb3973a43e5475c63463fc30fbdbf3e3cecf7c68.tar.bz2
nixpkgs-fb3973a43e5475c63463fc30fbdbf3e3cecf7c68.tar.lz
nixpkgs-fb3973a43e5475c63463fc30fbdbf3e3cecf7c68.tar.xz
nixpkgs-fb3973a43e5475c63463fc30fbdbf3e3cecf7c68.tar.zst
nixpkgs-fb3973a43e5475c63463fc30fbdbf3e3cecf7c68.zip
pythonPackages.robotframework-ride: move to python-modules/
Diffstat (limited to 'pkgs/development/python-modules/robotframework-ride')
-rw-r--r--pkgs/development/python-modules/robotframework-ride/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/robotframework-ride/default.nix b/pkgs/development/python-modules/robotframework-ride/default.nix
new file mode 100644
index 00000000000..a9b536fc76e
--- /dev/null
+++ b/pkgs/development/python-modules/robotframework-ride/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchurl, buildPythonPackage, isPy3k, pygments, wxPython }:
+
+buildPythonPackage rec {
+  version = "1.2.3";
+  name = "robotframework-ride-${version}";
+  disabled = isPy3k;
+
+  src = fetchurl {
+    url = "https://robotframework-ride.googlecode.com/files/${name}.tar.gz";
+    sha256 = "1lf5f4x80f7d983bmkx12sxcizzii21kghs8kf63a1mj022a5x5j";
+  };
+
+  propagatedBuildInputs = [ pygments wxPython ];
+
+  # ride_postinstall.py checks that needed deps are installed and creates a
+  # desktop shortcut. We don't really need it and it clutters up bin/ so
+  # remove it.
+  postInstall = ''
+    rm -f "$out/bin/ride_postinstall.py"
+  '';
+
+  # error: invalid command 'test'
+  doCheck = false;
+
+  meta = with stdenv.lib; {
+    description = "Light-weight and intuitive editor for Robot Framework test case files";
+    homepage = https://code.google.com/p/robotframework-ride/;
+    license = licenses.asl20;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ bjornfor ];
+  };
+}