all repos — TinyCrypT @ 602b0e533466f842e8cc1cac150a3792a8cbf99b

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
{
  description = "TinyCrypT Build Environment";

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

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