From 6c67bfc98618b2ac2cb68e12fed394bdbb285494 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 12 Jan 2022 00:51:00 +0100 Subject: [PATCH] cde-gtk-theme: drop Ships python2 scripts and last updated in 2018. --- pkgs/data/themes/cdetheme/default.nix | 34 --------------------------- pkgs/top-level/aliases.nix | 1 + pkgs/top-level/all-packages.nix | 2 -- 3 files changed, 1 insertion(+), 36 deletions(-) delete mode 100644 pkgs/data/themes/cdetheme/default.nix diff --git a/pkgs/data/themes/cdetheme/default.nix b/pkgs/data/themes/cdetheme/default.nix deleted file mode 100644 index a2d6568b9a87..000000000000 --- a/pkgs/data/themes/cdetheme/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromGitHub, python2Packages }: - -stdenv.mkDerivation rec { - pname = "cdetheme"; - version = "1.3"; - - src = fetchFromGitHub { - owner = "josvanr"; - repo = "cde-motif-theme"; - rev = version; - sha256 = "1v5c4db69cmzdci8xxlkx3s3cifg1h5160qq5siwfps0sj7pvggj"; - }; - - dontBuild = true; - - pythonPath = with python2Packages; [ pyqt4 pillow pyxdg pyyaml ]; - nativeBuildInputs = with python2Packages; [ python wrapPython ]; - - installPhase = '' - mkdir -p $out/share/themes - cp -r cdetheme $out/share/themes - patchShebangs $out/share/themes/cdetheme/scripts/switchtheme - wrapPythonProgramsIn "$out/share/themes/cdetheme/scripts" "$out $pythonPath" - ''; - - meta = with lib; { - description = "Gtk2 / Gtk3 theme mimicking CDE / Motif"; - homepage = "https://www.gnome-look.org/p/1231025"; - license = licenses.gpl3; - platforms = platforms.all; - maintainers = with maintainers; [ ]; - hydraPlatforms = []; - }; -} diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 989901ccb078..cb8c5e0e1ca2 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -118,6 +118,7 @@ mapAliases ({ casperjs = throw "casperjs has been removed, it was abandoned by upstream and broken."; catfish = xfce.catfish; # added 2019-12-22 ccnet = throw "ccnet has been removed because seafile does not depend on it anymore"; # added 2021-03-25 + cde-gtk-theme = throw "cde-gtk-theme has been removed from nixpkgs as it shipped with python2 scripts that didn't work anymore."; # added 2022-01-12 cgmanager = throw "cgmanager was deprecated by lxc and therefore removed from nixpkgs."; # added 2020-06-05 checkbashism = checkbashisms; # added 2016-08-16 chronos = throw "chronos has been removed from nixpkgs, as it was unmaintained"; # added 2020-08-15 diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e5bed7458972..39678ca427a9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -23281,8 +23281,6 @@ with pkgs; cascadia-code = callPackage ../data/fonts/cascadia-code { }; - cde-gtk-theme = callPackage ../data/themes/cdetheme { }; - charis-sil = callPackage ../data/fonts/charis-sil { }; cherry = callPackage ../data/fonts/cherry { inherit (xorg) fonttosfnt mkfontdir; };