2018-11-15 14:15:35 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper, python3Packages }:
|
2017-01-29 22:05:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-11-15 14:15:35 +00:00
|
|
|
name = "bashdb-${version}";
|
|
|
|
version = "4.4-1.0.0";
|
2017-01-29 22:05:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/bashdb/${name}.tar.bz2";
|
2018-11-15 14:15:35 +00:00
|
|
|
sha256 = "0p7i7bpzs6q1i7swnkr89kxqgzr146xw8d2acmqwqbslzm9dqlml";
|
2017-01-29 22:05:04 +00:00
|
|
|
};
|
|
|
|
|
2018-11-15 14:15:35 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
makeWrapper
|
|
|
|
];
|
|
|
|
|
|
|
|
postInstall = ''
|
|
|
|
wrapProgram $out/bin/bashdb --prefix PYTHONPATH ":" "$(toPythonPath ${python3Packages.pygments})"
|
|
|
|
'';
|
|
|
|
|
2017-11-13 18:10:12 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|