nixpkgs/pkgs/tools/pydb/default.nix
Eelco Dolstra 6609710409 * Get rid of many instances of "args: with args;", and other coding
guidelines violations.
* Updated libsamplerate to 0.1.7.

svn path=/nixpkgs/trunk/; revision=22782
2010-07-28 11:55:54 +00:00

24 lines
637 B
Nix

{ 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";
};
}