{ description = "A Nix flake for creating a devshell and build environment for the umami protocol"; inputs = { nixpkgs.url = "nixpkgs/nixos-unstable"; }; outputs = { self, nixpkgs }: { packages.x86_64-linux = let pkgs = import nixpkgs { system = "x86_64-linux"; }; in { default = pkgs.stdenv.mkDerivation { pname = "umami"; version = "1.0.0"; src = ./.; buildInputs = with pkgs; [ clang gnumake valgrind bear openssl doxygen ]; buildPhase = "make"; installPhase = '' mkdir -p $out cp -r bin/ $out/ ''; }; }; devShell.x86_64-linux = let pkgs = import nixpkgs { system = "x86_64-linux"; }; in pkgs.mkShell { buildInputs = with pkgs; [ clang gnumake valgrind bear openssl doxygen ]; }; }; }