diff options
| -rw-r--r-- | pkgs/by-name/fc/fcitx5-fluent/package.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/by-name/fc/fcitx5-fluent/package.nix b/pkgs/by-name/fc/fcitx5-fluent/package.nix new file mode 100644 index 000000000000..532469bc69d6 --- /dev/null +++ b/pkgs/by-name/fc/fcitx5-fluent/package.nix @@ -0,0 +1,38 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, + jdupes, +}: + +stdenvNoCC.mkDerivation { + pname = "fcitx5-fluent"; + version = "0.4.0-unstable-2024-03-30"; + + src = fetchFromGitHub { + owner = "Reverier-Xu"; + repo = "Fluent-fcitx5"; + rev = "dc98bc13e8eadabed7530a68706f0a2a0a07340e"; + hash = "sha256-d1Y0MUOofBxwyeoXxUzQHrngL1qnL3TMa5DhDki7Pk8="; + }; + + nativeBuildInputs = [ jdupes ]; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/fcitx5/themes + cp -r FluentDark FluentDark-solid FluentLight FluentLight-solid $out/share/fcitx5/themes + jdupes --quiet --link-soft --recurse $out/share + + runHook postInstall + ''; + + meta = with lib; { + description = "A fluent-design theme with blur effect and shadow"; + homepage = "https://github.com/Reverier-Xu/Fluent-fcitx5"; + license = licenses.mpl20; + platforms = platforms.all; + maintainers = with maintainers; [ oo-infty ]; + }; +} |
