about summary refs log blame commit diff
path: root/users/tazjin/gio-list-apps/default.nix
blob: c63f4dd487869d6da37d7db15619dd6b62672284 (plain) (tree)
1
2
3
4
5
6
7
                          





                                          





                                                                                  
 
{ depot, pkgs, lib, ... }:

pkgs.rustPlatform.buildRustPackage {
  name = "gio-list-apps";
  src = lib.cleanSource ./.;
  cargoLock.lockFile = ./Cargo.lock;
  nativeBuildInputs = [ pkgs.pkg-config ];
  buildInputs = [ pkgs.gtk3 depot.users.tazjin.emacs.emacs ];

  postInstall = ''
    mkdir -p $out/share/emacs/site-lisp
    ln -s $out/lib/libgio_list_apps.so $out/share/emacs/site-lisp/gio-list-apps.so
  '';
}