summaryrefslogtreecommitdiffstats
path: root/third_party/rust/prost/flake.nix
blob: a200020e3813d54d22570b8bc9c8ec94bca8bac1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  description = "Prost dependencies";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-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
      {
        devShells.default = pkgs.mkShell {
          packages = with pkgs; [ cargo rustc ];
          buildInputs = with pkgs; [ pkg-config protobuf curl cmake ninja ];
        };
      });
}