mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-14 05:31:15 +00:00
25 lines
684 B
Nix
25 lines
684 B
Nix
{
|
|
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 {
|
|
nativeBuildInputs = [ cargo cargo-expand cargo-outdated cargo-zigbuild clippy gcc protobuf rust-analyzer rustc rustfmt ];
|
|
|
|
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
|
|
};
|
|
});
|
|
}
|