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";
rev = "1add33d9ca7d9fa9be3cea39fd300e34ba3417c5";
hash = "sha256-+shokerDcB12RjWhJVCtM38HUOFxW3CNTRxsWbUnVTs=";
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
});
}