summary refs log tree commit diff
path: root/shell.nix
blob: d675097373404eaa83b7f9fb49140af595a4ce3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let
  pkgs = import <nixpkgs> {};
  crate2nix-src = pkgs.fetchFromGitHub {
    owner = "kolloch";
    repo = "crate2nix";
    rev = "0.8.0";
    sha256 = "17mmf5sqn0fmpqrf52icq92nf1sy5yacwx9vafk43piaq433ba56";
  };
  crate2nix = pkgs.callPackage (import crate2nix-src) { };
in
pkgs.mkShell {
  buildInputs = with pkgs; [
    cargo
    crate2nix
    rustc
  ];
}