about summary refs log tree commit diff
path: root/pkgs/data/themes
diff options
context:
space:
mode:
authorluftmensch-luftmensch <valentinobocchetti59@gmail.com>2024-06-13 10:04:58 +0200
committerluftmensch-luftmensch <valentinobocchetti59@gmail.com>2024-06-13 10:04:58 +0200
commit6959071f7c372e7e8fb2ce1cb9da139b45f24750 (patch)
tree40a8e94f51de3b0b86c2737dd3f68fbf07073225 /pkgs/data/themes
parent4629a9f8223b0d093b1895002b30d57d4d491e82 (diff)
fluent-gtk-theme: move to pkgs/by-name
Diffstat (limited to 'pkgs/data/themes')
-rw-r--r--pkgs/data/themes/fluent-gtk-theme/default.nix114
1 files changed, 0 insertions, 114 deletions
diff --git a/pkgs/data/themes/fluent-gtk-theme/default.nix b/pkgs/data/themes/fluent-gtk-theme/default.nix
deleted file mode 100644
index 137f8a92dd1bc..0000000000000
--- a/pkgs/data/themes/fluent-gtk-theme/default.nix
+++ /dev/null
@@ -1,114 +0,0 @@
-{
-  lib,
-  stdenvNoCC,
-  fetchFromGitHub,
-  gitUpdater,
-  gnome-themes-extra,
-  gtk-engine-murrine,
-  jdupes,
-  sassc,
-  themeVariants ? [ ], # default: blue
-  colorVariants ? [ ], # default: all
-  sizeVariants ? [ ], # default: standard
-  tweaks ? [ ],
-}:
-
-let
-  pname = "fluent-gtk-theme";
-in
-lib.checkListOfEnum "${pname}: theme variants"
-  [
-    "default"
-    "purple"
-    "pink"
-    "red"
-    "orange"
-    "yellow"
-    "green"
-    "teal"
-    "grey"
-    "all"
-  ]
-  themeVariants
-  lib.checkListOfEnum
-  "${pname}: color variants"
-  [
-    "standard"
-    "light"
-    "dark"
-  ]
-  colorVariants
-  lib.checkListOfEnum
-  "${pname}: size variants"
-  [
-    "standard"
-    "compact"
-  ]
-  sizeVariants
-  lib.checkListOfEnum
-  "${pname}: tweaks"
-  [
-    "solid"
-    "float"
-    "round"
-    "blur"
-    "noborder"
-    "square"
-  ]
-  tweaks
-
-  stdenvNoCC.mkDerivation
-  (finalAttrs: {
-    inherit pname;
-    version = "2024-06-12";
-
-    src = fetchFromGitHub {
-      owner = "vinceliuice";
-      repo = "fluent-gtk-theme";
-      rev = finalAttrs.version;
-      hash = "sha256-ONhW68UUrFiv5hxkR7XI8U/5+qM+tYLIS2OM05pqJi0=";
-    };
-
-    nativeBuildInputs = [
-      jdupes
-      sassc
-    ];
-
-    buildInputs = [ gnome-themes-extra ];
-
-    propagatedUserEnvPkgs = [ gtk-engine-murrine ];
-
-    postPatch = ''
-      patchShebangs install.sh
-    '';
-
-    installPhase = ''
-      runHook preInstall
-
-      name= HOME="$TMPDIR" ./install.sh \
-        ${lib.optionalString (themeVariants != [ ]) "--theme " + builtins.toString themeVariants} \
-        ${lib.optionalString (colorVariants != [ ]) "--color " + builtins.toString colorVariants} \
-        ${lib.optionalString (sizeVariants != [ ]) "--size " + builtins.toString sizeVariants} \
-        ${lib.optionalString (tweaks != [ ]) "--tweaks " + builtins.toString tweaks} \
-        --icon nixos \
-        --dest $out/share/themes
-
-      jdupes --quiet --link-soft --recurse $out/share
-
-      runHook postInstall
-    '';
-
-    passthru.updateScript = gitUpdater { };
-
-    meta = {
-      description = "Fluent design gtk theme";
-      changelog = "https://github.com/vinceliuice/Fluent-gtk-theme/releases/tag/${finalAttrs.version}";
-      homepage = "https://github.com/vinceliuice/Fluent-gtk-theme";
-      license = lib.licenses.gpl3Only;
-      platforms = lib.platforms.unix;
-      maintainers = with lib.maintainers; [
-        luftmensch-luftmensch
-        romildo
-      ];
-    };
-  })