diff options
Diffstat (limited to 'pkgs/development/tools/pydb/default.nix')
-rw-r--r-- | pkgs/development/tools/pydb/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/tools/pydb/default.nix b/pkgs/development/tools/pydb/default.nix new file mode 100644 index 000000000000..7aa2d57955fd --- /dev/null +++ b/pkgs/development/tools/pydb/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, python, emacs }: + +stdenv.mkDerivation { + name = "pydb-1.26"; + + src = fetchurl { + url = "mirror://sourceforge.net/sourceforge/bashdb/pydb-1.26.tar.bz2"; + sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1"; + }; + + buildInputs = [ python emacs /* emacs is optional */ ]; + + preConfigure = '' + p="$(toPythonPath $out)" + configureFlags="$configureFlags --with-python=${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"; + }; +} |