about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/robotframework-ride/default.nix
blob: 4db1db04acce3fc96d474c199df9cabb34c45e1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv, fetchurl, buildPythonPackage, isPy3k, pygments, wxPython }:

buildPythonPackage rec {
  version = "1.2.3";
  pname = "robotframework-ride";
  disabled = isPy3k;

  src = fetchurl {
    url = "https://robotframework-ride.googlecode.com/files/${pname}-${version}.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 ];
  };
}