depot/third_party/nixpkgs/pkgs/development/tools/pydb/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

25 lines
718 B
Nix

{ lib, stdenv, fetchurl, python2, emacs }:
stdenv.mkDerivation rec {
pname = "pydb";
version = "1.26";
src = fetchurl {
url = "mirror://sourceforge/sourceforge/bashdb/${pname}-${version}.tar.bz2";
sha256 = "1wlkz1hd5d4gkzhkjkzcm650c1lchj28hj36jx96mklglm41h4q1";
};
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 = lib.licenses.gpl3;
platforms = lib.platforms.all;
};
}