mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
fcitx5-fluent: init at unstable-2024-03-30
This commit is contained in:
parent
bd509c2fec
commit
df8f8331a7
38
pkgs/by-name/fc/fcitx5-fluent/package.nix
Normal file
38
pkgs/by-name/fc/fcitx5-fluent/package.nix
Normal file
@ -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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user