11 stdenv.mkDerivation rec {
12 pname = "debian-goodies";
15 src = fetchFromGitLab {
16 domain = "salsa.debian.org";
18 repo = "debian-goodies";
19 rev = "debian/${version}";
20 sha256 = "sha256-g1xeWhCkC7HEHHOJpcZ6JFA9jmavJE0lUX1Cmp5A0QQ=";
24 substituteInPlace debmany/debmany \
25 --replace "/usr/bin/dialog" "${dialog}/bin/dialog" \
26 --replace "/usr/bin/whiptail" "${python3.pkgs.snack}/bin/whiptail"
28 substituteInPlace dman \
29 --replace "curl" "${curl}/bin/curl"
44 # see https://salsa.debian.org/debian/debian-goodies/-/blob/master/debian/install
45 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
46 install -Dm755 $bin -t $out/bin
49 install -Dm644 find-dbgsym-packages-templates/* -t $out/share/debian-goodies/find-dbgsym-packages-templates/
51 installShellCompletion --bash \
52 debmany/bash_completion/debmany \
53 debian/bash-completion
64 description = "Small toolbox-style utilities for Debian systems";
65 homepage = "https://salsa.debian.org/debian/debian-goodies";
66 license = licenses.gpl2Plus;
67 platforms = platforms.unix;
68 maintainers = with maintainers; [ SuperSandro2000 ];