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-01 19:02:39 -04:00
|
|
|
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
|
2023-08-01 19:02:39 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
./patches/swayosd.patch
|
2023-07-19 18:43:44 -04:00
|
|
|
];
|
2023-06-19 19:27:38 -04:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|