nixos-configs/nixos/overlays/swayosd.nix

28 lines
685 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-08-26 15:13:56 -04:00
rev = "8159c9e9962ce19f6fb78201d4d34e5817f53b45";
hash = "sha256-kGd4/eQkhvxEL3/LToBDjE/JIR8m6w9vdFUrRTyylCE=";
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
];
patches = [
./patches/swayosd.patch
2023-07-19 18:43:44 -04:00
];
2023-06-19 19:27:38 -04:00
});
}