nixpkgs/pkgs/development/tools/pydb/default.nix

25 lines
697 B
Nix
Raw Normal View History

2017-02-08 18:53:23 +00:00
{ stdenv, fetchurl, python2, emacs }:
stdenv.mkDerivation {
name = "pydb-1.26";
src = fetchurl {
url = "mirror://sourceforge/sourceforge/bashdb/pydb-1.26.tar.bz2";
sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1";
};
2017-02-08 18:53:23 +00:00
buildInputs = [ python2 emacs /* emacs is optional */ ];
preConfigure = ''
p="$(toPythonPath $out)"
configureFlags="$configureFlags --with-python=${python2.interpreter} --with-site-packages=$p"
'';
meta = {
description = "Python debugger with GDB-like commands and Emacs bindings";
homepage = "http://bashdb.sourceforge.net/pydb/";
license = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
};
}