Debian Codegraph @

third_party/rust/prost/flake.nix

raw
1 {
2 description = "Prost dependencies";
3
4 inputs = {
5 nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
6 flake-utils.url = "github:numtide/flake-utils";
7 };
8
9 outputs = { self, nixpkgs, flake-utils }:
10 flake-utils.lib.eachDefaultSystem (system:
11 let
12 pkgs = import nixpkgs { inherit system; };
13 in
14 {
15 devShells.default = pkgs.mkShell {
16 packages = with pkgs; [ cargo rustc ];
17 buildInputs = with pkgs; [ pkg-config protobuf curl cmake ninja ];
18 };
19 });
20 }