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";
version = "ebe5f349d184e79edc33199d064d9ec5f1e4dd9b";
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}";
hash = "sha256-WcAWIvIdGE0tcS7WJ6JlbRlUnKvpvut500NozUmJ6jY=";
};
2024-04-13 10:52:49 +02:00
cargoHash = "sha256-8n21FN6uNj/y/PhCDzpB+1ZifIbpjn4d2YPy4vTcVBM=";
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;
}