11 pname = "modprobed-db";
15 inherit pname version;
17 src = fetchFromGitHub {
19 repo = "modprobed-db";
21 hash = "sha256-r/2ZENricRE03eyFnWDnfPNAz2863/9HKlF6a2xOkc0=";
25 nativeBuildInputs = [ pkg-config installShellFiles ];
26 buildInputs = [ kmod libevdev bash ];
30 "INITDIR_SYSTEMD=$(out)/lib/systemd/user"
34 substituteInPlace ./common/modprobed-db.in \
35 --replace "/usr/share" "$out/share"
39 installShellCompletion --zsh common/zsh-completion
43 homepage = "https://github.com/graysky2/modprobed-db";
44 description = "Useful utility for users wishing to build a minimal kernel via a make localmodconfig";
45 license = lib.licenses.mit;
46 maintainers = with lib.maintainers; [ NotAShelf ];
47 mainProgram = "modprobed-db";
48 platforms = lib.platforms.linux;