nixpkgs/pkgs/development/tools/misc/bashdb/default.nix
Niklas Thörne dd569dab09 bashdb: 4.4-0.94 -> 4.4-1.0.0 (#49754)
Added pygments dependency.
2018-11-15 14:15:35 +00:00

27 lines
652 B
Nix

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