3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/bashdb/default.nix

27 lines
654 B
Nix
Raw Normal View History

{ stdenv, fetchurl, makeWrapper, python3Packages }:
2017-01-29 22:05:04 +00:00
stdenv.mkDerivation rec {
pname = "bashdb";
version = "4.4-1.0.0";
2017-01-29 22:05:04 +00:00
src = fetchurl {
url = "mirror://sourceforge/bashdb/${pname}-${version}.tar.bz2";
sha256 = "0p7i7bpzs6q1i7swnkr89kxqgzr146xw8d2acmqwqbslzm9dqlml";
2017-01-29 22:05:04 +00:00
};
nativeBuildInputs = [
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/bashdb --prefix PYTHONPATH ":" "$(toPythonPath ${python3Packages.pygments})"
'';
meta = {
2017-01-29 22:05:04 +00:00
description = "Bash script debugger";
homepage = http://bashdb.sourceforge.net/;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}