nixpkgs/pkgs/development/tools/misc/bashdb/default.nix

27 lines
652 B
Nix
Raw Normal View History

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