2020-07-16 13:40:39 +00:00
|
|
|
{ nixpkgs ? <nixpkgs>, sources ? import ./sources.nix { }
|
|
|
|
, system ? builtins.currentSystem }:
|
2020-06-17 11:06:40 +00:00
|
|
|
|
2020-07-16 13:40:39 +00:00
|
|
|
let
|
|
|
|
pkgs = import ./nixpkgs.nix { inherit sources nixpkgs system; };
|
|
|
|
crate2nix = import sources.crate2nix { inherit pkgs; };
|
2020-06-17 11:06:40 +00:00
|
|
|
in pkgs.mkShell {
|
|
|
|
name = "veloren-shell";
|
|
|
|
nativeBuildInputs = with pkgs; [
|
|
|
|
pkg-config
|
|
|
|
python3
|
|
|
|
git
|
|
|
|
git-lfs
|
|
|
|
niv
|
2020-06-20 11:11:24 +00:00
|
|
|
nixfmt
|
2020-06-17 11:06:40 +00:00
|
|
|
crate2nix
|
2020-07-16 13:40:39 +00:00
|
|
|
cargo
|
|
|
|
rustc
|
2020-06-17 11:06:40 +00:00
|
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
|
|
alsaLib
|
|
|
|
atk
|
|
|
|
cairo
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
libudev
|
|
|
|
openssl
|
|
|
|
pango
|
|
|
|
];
|
|
|
|
}
|