nixos-configs/nixos/overlays/swayosd.nix

26 lines
671 B
Nix
Raw Normal View History

2023-06-19 19:27:38 -04:00
final: prev: {
swayosd = prev.swayosd.overrideAttrs (oldAttrs: rec {
src = prev.fetchFromGitHub {
owner = "ErikReider";
repo = "SwayOSD";
2023-07-19 18:43:44 -04:00
rev = "b14c83889c7860c174276d05dec6554169a681d9";
hash = "sha256-MJuTwEI599Y7q+0u0DMxRYaXsZfpksc2csgnK9Ghp/E=";
2023-06-19 19:27:38 -04:00
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
name = "swayosd-vendor.tar.gz";
inherit src;
2023-07-19 18:43:44 -04:00
outputHash = "sha256-gRhhPDUFPcDS1xo7JzCpZtd1Al1kEkx2dXf92cc2bUo=";
#outputHash = prev.lib.fakeHash;
2023-06-19 19:27:38 -04:00
});
2023-07-19 18:43:44 -04:00
buildInputs = (oldAttrs.buildInputs or [ ]) ++ [
prev.systemd
prev.libevdev
prev.libinput
];
2023-06-19 19:27:38 -04:00
});
}