mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 04:57:56 +03:00
adding pydb, a python debugging with gdb like commands
svn path=/nixpkgs/trunk/; revision=15317
This commit is contained in:
parent
5d5995eb38
commit
4c72da6b82
22
pkgs/tools/pydb/default.nix
Normal file
22
pkgs/tools/pydb/default.nix
Normal file
@ -0,0 +1,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";
|
||||
};
|
||||
}
|
@ -1145,6 +1145,10 @@ let
|
||||
inherit stdenv fetchurl;
|
||||
};
|
||||
|
||||
pydb = import ../tools/pydb {
|
||||
inherit fetchurl stdenv python emacs;
|
||||
};
|
||||
|
||||
pystringtemplate = import ../development/python-modules/stringtemplate {
|
||||
inherit stdenv fetchurl python antlr;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user