depot/third_party/nixpkgs/pkgs/development/tools/misc/bashdb/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

26 lines
647 B
Nix

{ lib, 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 = lib.licenses.gpl2;
platforms = lib.platforms.linux;
};
}