depot/third_party/nixpkgs/pkgs/development/tools/misc/bashdb/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

26 lines
656 B
Nix

{ stdenv, fetchurl, makeWrapper, python3Packages }:
stdenv.mkDerivation rec {
pname = "bashdb";
version = "4.4-1.0.0";
src = fetchurl {
url = "mirror://sourceforge/bashdb/${pname}-${version}.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;
};
}