summary refs log tree commit diff
path: root/pkgs/tools/pydb/default.nix
blob: 07d9545529b46320ebb341bb937854ad692e55e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
args:
args.stdenv.mkDerivation {
  name = "pydb-1.26";

  src = args.fetchurl {
    url =  "mirror://sourceforge.net/sourceforge/bashdb/pydb-1.26.tar.bz2";
    sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1";
  };

  buildInputs =(with args; [python emacs /* emacs is optional */]);

  preConfigure = ''
    p="$(toPythonPath $out)"
    configureFlags="$configureFlags --with-python=${args.python}/bin/python --with-site-packages=$p"
  '';

  meta = { 
      description = "python debugger with gdb like commands and emacs bindings";
      homepage = http://bashdb.sourceforge.net/pydb/;
      license = "GPLv3";
  };
}