2010-07-28 13:55:54 +02:00
|
|
|
{ stdenv, fetchurl, python, emacs }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-04-26 13:06:51 +02:00
|
|
|
name = "pydb-1.26";
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
src = fetchurl {
|
2013-02-05 20:34:49 +01:00
|
|
|
url = "mirror://sourceforge/sourceforge/bashdb/pydb-1.26.tar.bz2";
|
2009-04-26 13:06:51 +02:00
|
|
|
sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1";
|
|
|
|
};
|
|
|
|
|
2010-07-28 13:55:54 +02:00
|
|
|
buildInputs = [ python emacs /* emacs is optional */ ];
|
2009-04-26 13:06:51 +02:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
p="$(toPythonPath $out)"
|
2010-07-28 13:55:54 +02:00
|
|
|
configureFlags="$configureFlags --with-python=${python}/bin/python --with-site-packages=$p"
|
2009-04-26 13:06:51 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2010-07-28 13:55:54 +02:00
|
|
|
description = "Python debugger with GDB-like commands and Emacs bindings";
|
|
|
|
homepage = http://bashdb.sourceforge.net/pydb/;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2014-11-12 16:03:00 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
2009-04-26 13:06:51 +02:00
|
|
|
};
|
|
|
|
}
|