Recently Written · git

sbm

dmenu bookmarks. Instantly fuzzy search thousands of bookmarks and plumb them. LOOKING FOR SUCKLESS SOFTWARE EDITION? GO TO sbm-suckless INSTEAD

git clone https://github.com/equwal/sbm

Log | Files | Refs


packaging/nix/flake.nix (1041 bytes)

1 {
2   description = "sbm: bookmarks in a plain file, picked with dmenu or fzf";
3 
4   inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
5 
6   outputs = { self, nixpkgs }:
7     let
8       systems = [
9         "x86_64-linux"
10         "aarch64-linux"
11         "x86_64-darwin"
12         "aarch64-darwin"
13       ];
14       forAllSystems = f:
15         nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system});
16     in
17     {
18       packages = forAllSystems (pkgs: rec {
19         sbm = pkgs.callPackage ./default.nix { };
20         default = sbm;
21       });
22 
23       # Build the working tree instead of the tagged release:
24       #   nix build .#sbm --override-input nixpkgs ...
25       # or edit src in default.nix to fetchGit ../..
26       # What "make check" wants, plus the runtime programs. dmenu is left out
27       # on purpose: it is X11 only and does not evaluate on Darwin.
28       devShells = forAllSystems (pkgs: {
29         default = pkgs.mkShellNoCC {
30           packages = with pkgs; [ shellcheck fzf curl jq git ];
31         };
32       });
33     };
34 }