all repos — TinyCrypT @ d96ea97714563f26e5d26ab3a3cd6d41620a46ac

Short and sweet classical cryptographic primitives

flake.nix (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
{
  description = "TinyCrypT Build Environment";

  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-25.11";
  };

  outputs =
    {
      self,
      nixpkgs,
      ...
    }@inputs:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
      shl = pkgs.mkShell {
        name = "tct-tooling-env";
        packages = with pkgs; [
          ninja
          meson
          gcc
          clang-tools
          gnumake
          valgrind
          bear
          tokei
        ];
      };
    in
    {
      devShells.${system}.default = shl;
    };
}