flake/pkgs/overlay.nix
2025-01-14 19:30:57 +01:00

19 lines
680 B
Nix

let
rustOverlay = import (fetchTarball "https://github.com/oxalica/rust-overlay/archive/refs/heads/main.tar.gz");
in
final: prev: {
wgautomesh = prev.wgautomesh.overrideAttrs (old: rec {
src = prev.fetchFromGitHub {
owner = "lynatic1337";
repo = "wgautomesh";
rev = "53b7a6b6edc144fc0d9679ed5c756530f9883374";
hash = "sha256-3pUQbNcx/EMhsiqZ74l8Y99VrdlsLgOgcYuHb4hKOiI=";
};
buildInputs = [(rustOverlay.rust-bin.nightly.latest.default)];
cargoDeps = final.rustPlatform.fetchCargoTarball {
inherit src;
# TODO
hash = "sha256-YUlS7G26c3X8nJ2eDK2DTqR+QjcrF/2ZpZWPGecwyPo=";
};
});
}