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

27 lines
656 B
Nix
Raw Normal View History

{ stdenv, fetchurl, makeWrapper, python3Packages }:
2017-01-29 23:05:04 +01:00
stdenv.mkDerivation rec {
pname = "bashdb";
version = "4.4-1.0.0";
2017-01-29 23:05:04 +01:00
src = fetchurl {
url = "mirror://sourceforge/bashdb/${pname}-${version}.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/";
2017-01-29 23:05:04 +01:00
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}