1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
nixpkgs/pkgs/development/tools/pydb/default.nix
Bjørn Forsman 111e1dbae3 pydb: set meta.platforms
To have prebuilt binaries and useful hint from "command-not-found".
2014-11-12 16:03:00 +01:00

25 lines
692 B
Nix

{ stdenv, fetchurl, python, emacs }:
stdenv.mkDerivation {
name = "pydb-1.26";
src = fetchurl {
url = "mirror://sourceforge/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 = stdenv.lib.licenses.gpl3;
platforms = stdenv.lib.platforms.all;
};
}