{ant{,-bloody,-nebula},plata}-theme: move to pkgs/by-name (#464354)

This commit is contained in:
Aleksana
2025-11-30 10:53:31 +00:00
committed by GitHub
5 changed files with 35 additions and 45 deletions
@@ -8,13 +8,13 @@
let
themeName = "Ant-Bloody";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ant-bloody-theme";
version = "1.3.0";
src = fetchurl {
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
sha256 = "0rrz50kmzjmqj17hvrw67pbaclwxv85i5m08s7842iky6dnn5z8s";
url = "https://github.com/EliverLara/${themeName}/releases/download/v${finalAttrs.version}/${themeName}.tar";
hash = "sha256-Gv1ibTN+RkHQ0QjUEgvanVOm1j2G5w1PkLjKXycoP2c=";
};
propagatedUserEnvPkgs = [
@@ -29,11 +29,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Bloody variant of the Ant theme";
homepage = "https://github.com/EliverLara/${themeName}";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ alexarice ];
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ alexarice ];
};
}
})
@@ -8,13 +8,13 @@
let
themeName = "Ant-Nebula";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ant-nebula-theme";
version = "1.3.0";
src = fetchurl {
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
sha256 = "1xpgw577nmgjk547mg2vvv0gdai60srgncykm5pb1w8dnlk69jbz";
url = "https://github.com/EliverLara/${themeName}/releases/download/v${finalAttrs.version}/${themeName}.tar";
hash = "sha256-f8lkJrUN8bBuqdMz+7IGJqr2wN5bvHpImfJVe07h7/Y=";
};
propagatedUserEnvPkgs = [
@@ -29,11 +29,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Nebula variant of the Ant theme";
homepage = "https://github.com/EliverLara/${themeName}";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ alexarice ];
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ alexarice ];
};
}
})
@@ -8,13 +8,13 @@
let
themeName = "Ant";
in
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "ant-theme";
version = "1.3.0";
src = fetchurl {
url = "https://github.com/EliverLara/${themeName}/releases/download/v${version}/${themeName}.tar";
sha256 = "1r795v96ywzcb4dq08q2fdbmfia32g36cc512mhy41s8fb1a47dz";
url = "https://github.com/EliverLara/${themeName}/releases/download/v${finalAttrs.version}/${themeName}.tar";
hash = "sha256-vx2iwnJIB+JhFaEwZsYTQ0VXV3MCI4AbWexzb9Iu6eQ=";
};
propagatedUserEnvPkgs = [
@@ -29,11 +29,11 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
meta = with lib; {
meta = {
description = "Flat and light theme with a modern look";
homepage = "https://github.com/EliverLara/${themeName}";
license = licenses.gpl3;
platforms = platforms.all;
maintainers = with maintainers; [ alexarice ];
license = lib.licenses.gpl3Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ alexarice ];
};
}
})
@@ -18,7 +18,7 @@
xfceSupport ? true,
mateSupport ? true,
gtk3,
marco,
mate,
gtkNextSupport ? false,
plankSupport ? false,
steamSupport ? false,
@@ -31,15 +31,15 @@
destructionColor ? null, # Tertiary color for 'destructive' buttons (Default: #F44336 = Red500)
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "plata-theme";
version = "0.9.9";
src = fetchFromGitLab {
owner = "tista500";
repo = "plata-theme";
rev = version;
sha256 = "1iwvlv9qcrjyfbzab00vjqafmp3vdybz1hi02r6lwbgvwyfyrifk";
rev = finalAttrs.version;
hash = "sha256-08Xsnef7LU5NFiDC8Jdve9zqFJYbgKX+cl5mhtOmm8c=";
};
nativeBuildInputs = [
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
]
++ lib.optionals mateSupport [
gtk3
marco
mate.marco
]
++ lib.optional telegramSupport zip;
@@ -96,14 +96,14 @@ stdenv.mkDerivation rec {
done
'';
meta = with lib; {
meta = {
description = "GTK theme based on Material Design Refresh";
homepage = "https://gitlab.com/tista500/plata-theme";
license = with licenses; [
gpl2
license = with lib.licenses; [
gpl2Plus
cc-by-sa-40
];
platforms = platforms.linux;
maintainers = [ maintainers.tadfisher ];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ tadfisher ];
};
}
})
-10
View File
@@ -10299,12 +10299,6 @@ with pkgs;
andromeda-gtk-theme = libsForQt5.callPackage ../data/themes/andromeda-gtk-theme { };
ant-theme = callPackage ../data/themes/ant-theme/ant.nix { };
ant-bloody-theme = callPackage ../data/themes/ant-theme/ant-bloody.nix { };
ant-nebula-theme = callPackage ../data/themes/ant-theme/ant-nebula.nix { };
bibata-cursors-translucent = callPackage ../data/icons/bibata-cursors/translucent.nix { };
dejavu_fonts = lowPrio (callPackage ../data/fonts/dejavu-fonts { });
@@ -10467,10 +10461,6 @@ with pkgs;
papis = with python3Packages; toPythonApplication papis;
plata-theme = callPackage ../data/themes/plata {
inherit (mate) marco;
};
polychromatic = qt6Packages.callPackage ../applications/misc/polychromatic { };
qogir-kde = libsForQt5.callPackage ../data/themes/qogir-kde { };