diff options
| author | oo-infty <oo-infty@outlook.com> | 2024-04-24 21:36:42 +0800 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2024-09-19 02:53:38 +0000 |
| commit | 86b1253269ab785eeab46c86c58e991e0e94d9cc (patch) | |
| tree | 4413d728cacba468054c70ddc6f9fe017cd599e9 | |
| parent | [Backport release-24.05] chromium,chromedriver: 128.0.6613.137 -> 129.0.6668.... (diff) | |
| download | nixpkgs-origin/backport-306534-to-release-24.05.tar.gz | |
fcitx5-fluent: init at unstable-2024-03-30origin/backport-306534-to-release-24.05
(cherry picked from commit df8f8331a73e56662b061c051c7af32816d4dd94)
| -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 ]; + }; +} |
