nixconfig/overlays/eww/default.nix

24 lines
614 B
Nix
Raw Normal View History

2024-04-13 09:32:22 +02:00
{ final, prev, ... }:
2024-04-13 10:52:49 +02:00
let old = prev.eww;
in final.rustPlatform.buildRustPackage rec {
2024-04-13 09:32:22 +02:00
pname = "eww";
2024-05-18 07:55:03 +02:00
version = "d1fde927d2799211f791e7ea01cffb667c4f2b60";
2024-04-13 10:52:49 +02:00
2024-04-13 09:32:22 +02:00
src = prev.fetchFromGitHub {
owner = "elkowar";
repo = "eww";
rev = "${version}";
2024-05-18 07:55:03 +02:00
hash = "sha256-deabn4fdNmJsDxkT6bgCbwB354sUHvkuq+DcdWBU6B8=";
2024-04-13 09:32:22 +02:00
};
2024-04-13 10:52:49 +02:00
2024-05-18 07:55:03 +02:00
cargoHash = "sha256-4KobWHQswFuej6ejdrhmDkYzZL72TBhCkR+F+hrg4ok=";
2024-04-13 10:52:49 +02:00
nativeBuildInputs = old.nativeBuildInputs;
2024-04-13 09:32:22 +02:00
buildInputs = old.buildInputs ++ [ final.libdbusmenu-gtk3 ];
2024-04-13 10:52:49 +02:00
cargoBuildFlags = old.cargoBuildFlags;
cargoTestFlags = old.cargoTestFlags;
RUSTC_BOOTSTRAP = 1;
}