http-signature-normalization/flake.nix

26 lines
684 B
Nix
Raw Normal View History

2023-07-06 16:50:09 +00:00
{
description = "http-signature-normalization";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
};
in
{
packages.default = pkgs.hello;
devShell = with pkgs; mkShell {
2023-07-06 17:12:36 +00:00
nativeBuildInputs = [ cargo cargo-expand cargo-outdated cargo-zigbuild clippy gcc protobuf rust-analyzer rustc rustfmt ];
2023-07-06 16:50:09 +00:00
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
});
}