nixos/wyoming/{faster-whisper,piper}: drop download directory (#376447)
[NixPkgs.git] / pkgs / by-name / fc / fcitx5-rose-pine / package.nix
blobeede613baa7ba54f17231b1e4d9630a62284d403
2   stdenvNoCC,
3   fetchFromGitHub,
4   lib,
5 }:
7 stdenvNoCC.mkDerivation {
8   pname = "fcitx5-rose-pine";
9   version = "0-unstable-2024-03-01";
11   src = fetchFromGitHub {
12     owner = "rose-pine";
13     repo = "fcitx5";
14     rev = "148de09929c2e2f948376bb23bc25d72006403bc";
15     hash = "sha256-SpQ5ylHSDF5KCwKttAlXgrte3GA1cCCy/0OKNT1a3D8=";
16   };
18   installPhase = ''
19     runHook preInstall
21     mkdir -pv $out/share/fcitx5/themes/
22     cp -rv rose-pine* $out/share/fcitx5/themes/
24     runHook postInstall
25   '';
27   meta = {
28     description = "Fcitx5 themes based on Rosé Pine";
29     homepage = "https://github.com/rose-pine/fcitx5";
30     maintainers = with lib.maintainers; [ rosehobgoblin ];
31     platforms = lib.platforms.all;
32     license = lib.licenses.unfree;
33   };