2022-12-06 17:44:26 +00:00
|
|
|
{ lib
|
2024-01-10 18:17:46 +00:00
|
|
|
, pkgs
|
2023-02-16 11:36:28 +00:00
|
|
|
, waybar
|
2022-12-06 17:44:26 +00:00
|
|
|
, version
|
|
|
|
}:
|
2024-01-10 18:17:46 +00:00
|
|
|
let
|
|
|
|
catch2_3 = {
|
|
|
|
src = pkgs.fetchFromGitHub
|
|
|
|
{
|
|
|
|
owner = "catchorg";
|
|
|
|
repo = "Catch2";
|
|
|
|
rev = "v3.5.1";
|
|
|
|
hash = "sha256-OyYNUfnu6h1+MfCF8O+awQ4Usad0qrdCtdZhYgOY+Vw=";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
in
|
|
|
|
(waybar.overrideAttrs (oldAttrs: rec {
|
2022-12-06 17:44:26 +00:00
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = lib.cleanSourceWith {
|
2023-12-01 18:10:19 +00:00
|
|
|
filter = name: type: type != "regular" || !lib.hasSuffix ".nix" name;
|
2022-12-06 17:44:26 +00:00
|
|
|
src = lib.cleanSource ../.;
|
|
|
|
};
|
2023-02-16 11:36:28 +00:00
|
|
|
})
|
2024-01-10 18:17:46 +00:00
|
|
|
).override {
|
|
|
|
catch2_3 = pkgs.catch2_3.overrideAttrs (oldAttrs: {
|
|
|
|
version = "3.5.1";
|
|
|
|
src = catch2_3.src;
|
|
|
|
});
|
|
|
|
}
|