2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, python2, emacs }:
|
2010-07-28 11:55:54 +00:00
|
|
|
|
2021-06-20 10:34:30 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pydb";
|
|
|
|
version = "1.26";
|
2009-04-26 11:06:51 +00:00
|
|
|
|
2010-07-28 11:55:54 +00:00
|
|
|
src = fetchurl {
|
2021-06-20 10:34:30 +00:00
|
|
|
url = "mirror://sourceforge/sourceforge/bashdb/${pname}-${version}.tar.bz2";
|
2009-04-26 11:06:51 +00:00
|
|
|
sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1";
|
|
|
|
};
|
|
|
|
|
2017-02-08 18:53:23 +00:00
|
|
|
buildInputs = [ python2 emacs /* emacs is optional */ ];
|
2009-04-26 11:06:51 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
p="$(toPythonPath $out)"
|
2017-02-09 07:52:22 +00:00
|
|
|
configureFlags="$configureFlags --with-python=${python2.interpreter} --with-site-packages=$p"
|
2009-04-26 11:06:51 +00:00
|
|
|
'';
|
|
|
|
|
2017-02-09 07:52:22 +00:00
|
|
|
meta = {
|
2010-07-28 11:55:54 +00:00
|
|
|
description = "Python debugger with GDB-like commands and Emacs bindings";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://bashdb.sourceforge.net/pydb/";
|
2021-01-23 12:26:19 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
platforms = lib.platforms.all;
|
2009-04-26 11:06:51 +00:00
|
|
|
};
|
|
|
|
}
|