mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-11-24 22:06:18 +03:00
d0f731d68f
thanks gtk devs for providing webp support :thumbup: (no)
39 lines
786 B
Nix
39 lines
786 B
Nix
let
|
|
nixpkgs = builtins.fetchGit {
|
|
name = "nixos-24.05";
|
|
url = "https://github.com/nixos/nixpkgs";
|
|
ref = "refs/heads/nixos-24.05";
|
|
};
|
|
|
|
nixpkgs-unstable = builtins.fetchGit {
|
|
name = "nixos-unstable";
|
|
url = "https://github.com/nixos/nixpkgs";
|
|
ref = "refs/heads/nixos-unstable";
|
|
};
|
|
|
|
pkgs = import nixpkgs {};
|
|
pkgs-unstable = import nixpkgs-unstable {};
|
|
|
|
in pkgs.mkShell {
|
|
nativeBuildInputs = with pkgs; [
|
|
pkgs-unstable.rustup
|
|
pkgs-unstable.rustfmt
|
|
pkgs-unstable.clippy
|
|
|
|
gcc
|
|
cmake
|
|
pkg-config
|
|
|
|
xdelta
|
|
libwebp
|
|
];
|
|
|
|
buildInputs = with pkgs; [
|
|
gtk4
|
|
glib
|
|
gdk-pixbuf
|
|
gobject-introspection
|
|
|
|
libadwaita
|
|
];
|
|
}
|