2018-11-15 14:15:35 +00:00
|
|
|
{ stdenv, fetchurl, makeWrapper, python3Packages }:
|
2017-01-29 22:05:04 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "bashdb";
|
2018-11-15 14:15:35 +00:00
|
|
|
version = "4.4-1.0.0";
|
2017-01-29 22:05:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/bashdb/${pname}-${version}.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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://bashdb.sourceforge.net/";
|
2017-01-29 22:05:04 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
|
|
|
}
|