12 stdenv.mkDerivation rec {
13 pname = "debian-goodies";
16 src = fetchFromGitLab {
17 domain = "salsa.debian.org";
19 repo = "debian-goodies";
20 rev = "debian/${version}";
21 sha256 = "sha256-KPPRxYmCEYwlUAR29tc8w4rerXpswO/rbpEjXPoDV4Q=";
25 substituteInPlace debmany/debmany \
26 --replace "/usr/bin/dialog" "${dialog}/bin/dialog" \
27 --replace "/usr/bin/whiptail" "${python3.pkgs.snack}/bin/whiptail"
29 substituteInPlace dman \
30 --replace "curl" "${curl}/bin/curl"
45 # see https://salsa.debian.org/debian/debian-goodies/-/blob/master/debian/install
46 for bin in checkrestart dgrep dglob debget dpigs debman dman popbugs which-pkg-broke which-pkg-broke-build dhomepage debmany/debmany check-enhancements find-dbgsym-packages; do
47 install -Dm755 $bin -t $out/bin
50 install -Dm644 find-dbgsym-packages-templates/* -t $out/share/debian-goodies/find-dbgsym-packages-templates/
52 installShellCompletion --bash \
53 debmany/bash_completion/debmany \
54 debian/bash-completion
65 description = "Small toolbox-style utilities for Debian systems";
66 homepage = "https://salsa.debian.org/debian/debian-goodies";
67 license = licenses.gpl2Plus;
68 platforms = platforms.unix;
69 maintainers = with maintainers; [ SuperSandro2000 ];