rpi-netboot, overlay: add polygon's allcolors
This commit is contained in:
parent
9b86c78301
commit
dfab24ab1c
|
@ -68,6 +68,7 @@
|
||||||
glxinfo
|
glxinfo
|
||||||
tracer-game
|
tracer-game
|
||||||
# bevy_mandelbrot
|
# bevy_mandelbrot
|
||||||
|
allcolors
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.tmux.enable = true;
|
programs.tmux.enable = true;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -9,6 +9,37 @@ let
|
||||||
pkgs-unstable = nixos-unstable.legacyPackages.${prev.system};
|
pkgs-unstable = nixos-unstable.legacyPackages.${prev.system};
|
||||||
in
|
in
|
||||||
with final; {
|
with final; {
|
||||||
|
allcolors = with final; rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "allcolors";
|
||||||
|
version = "0.1.0";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "polygon";
|
||||||
|
repo = "allcolors-rs";
|
||||||
|
rev = "023bd480245052357a7fd5f42181ff6e67d98b31";
|
||||||
|
sha256 = "sha256-whaV+k5xh01OQNOehwkEBUDpMWn47mvVihVwchBvWoE=";
|
||||||
|
};
|
||||||
|
cargoPatches = [ ./allcolors-cargo-update.patch ];
|
||||||
|
cargoSha256 = "sha256-RbfACA4hcyemGkw9bqjpIk393SBgBM939I95+grVI0c=";
|
||||||
|
nativeBuildInputs = [ copyDesktopItems ];
|
||||||
|
buildInputs = [
|
||||||
|
xorg.libX11
|
||||||
|
xorg.libXcursor
|
||||||
|
xorg.libXrandr
|
||||||
|
xorg.libXi
|
||||||
|
libGL
|
||||||
|
mesa
|
||||||
|
];
|
||||||
|
postFixup = ''
|
||||||
|
patchelf --set-rpath ${lib.makeLibraryPath buildInputs} $out/bin/allcolors-rs
|
||||||
|
'';
|
||||||
|
desktopItems = [ (makeDesktopItem {
|
||||||
|
name = "allcolors";
|
||||||
|
desktopName = "Polygon's allcolors-rs";
|
||||||
|
categories = [ "Game" ];
|
||||||
|
exec = "allcolors-rs";
|
||||||
|
}) ];
|
||||||
|
};
|
||||||
|
|
||||||
inherit (bevy-mandelbrot.packages.${system}) bevy_mandelbrot;
|
inherit (bevy-mandelbrot.packages.${system}) bevy_mandelbrot;
|
||||||
|
|
||||||
bmxd = callPackage ./bmxd.nix { };
|
bmxd = callPackage ./bmxd.nix { };
|
||||||
|
|
Loading…
Reference in New Issue