/ shell.nix
shell.nix
 1  {
 2    pkgs ? import <nixpkgs> { },
 3  }:
 4  with pkgs;
 5  let
 6    boring = buildGoModule rec {
 7      pname = "boring";
 8      version = "1.1.0";
 9      src = fetchFromCodeberg {
10        owner = "qbit";
11        repo = "boring";
12        rev = "v${version}";
13        hash = "sha256-aXeOSU6TJKh2oWd7F+huCy0mz/KyLgUgQyyG8BnKFG0=";
14      };
15  
16      vendorHash = "sha256-bOCbvybn5DtQEhVxoDWmZWxPvMTgSFbuYyJitlSgtBI=";
17    };
18  in
19  pkgs.mkShell {
20    shellHook = ''
21      export PS1='\u@\h:\w$ '
22      export NO_COLOR=1
23    '';
24    nativeBuildInputs = with pkgs; [
25      bmake
26      entr
27      gnupg
28      outils
29  
30      boring
31    ];
32  }