1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/tools/pydb/default.nix
Marc Weber 4c72da6b82 adding pydb, a python debugging with gdb like commands
svn path=/nixpkgs/trunk/; revision=15317
2009-04-26 11:06:51 +00:00

23 lines
636 B
Nix

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";
};
}