about summary refs log tree commit diff
path: root/pkgs/applications/system
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-18 11:05:57 +0800
committerBobby Rong <rjl931189261@126.com>2021-12-18 11:35:56 +0800
commit5afe0ddcf38d57365eb42a791373594c5004c7be (patch)
treec150060c18872967345acca872efa6b91c47f2d0 /pkgs/applications/system
parenta51958171bdfc72248833451f62ecb5a434b0e66 (diff)
downloadnixlib-5afe0ddcf38d57365eb42a791373594c5004c7be.tar
nixlib-5afe0ddcf38d57365eb42a791373594c5004c7be.tar.gz
nixlib-5afe0ddcf38d57365eb42a791373594c5004c7be.tar.bz2
nixlib-5afe0ddcf38d57365eb42a791373594c5004c7be.tar.lz
nixlib-5afe0ddcf38d57365eb42a791373594c5004c7be.tar.xz
nixlib-5afe0ddcf38d57365eb42a791373594c5004c7be.tar.zst
nixlib-5afe0ddcf38d57365eb42a791373594c5004c7be.zip
pantheon-tweaks: move to pkgs/desktops/pantheon/third-party
Diffstat (limited to 'pkgs/applications/system')
-rw-r--r--pkgs/applications/system/pantheon-tweaks/default.nix71
-rw-r--r--pkgs/applications/system/pantheon-tweaks/fix-paths.patch13
2 files changed, 0 insertions, 84 deletions
diff --git a/pkgs/applications/system/pantheon-tweaks/default.nix b/pkgs/applications/system/pantheon-tweaks/default.nix
deleted file mode 100644
index af6bf54fd715..000000000000
--- a/pkgs/applications/system/pantheon-tweaks/default.nix
+++ /dev/null
@@ -1,71 +0,0 @@
-{ lib
-, stdenv
-, fetchFromGitHub
-, nix-update-script
-, meson
-, ninja
-, pkg-config
-, python3
-, vala
-, gtk3
-, libgee
-, pantheon
-}:
-
-stdenv.mkDerivation rec {
-  pname = "pantheon-tweaks";
-  version = "1.0.3";
-
-  src = fetchFromGitHub {
-    owner = "pantheon-tweaks";
-    repo = pname;
-    rev = version;
-    sha256 = "sha256-Pn/MIJ/WS/TY5bemM77B37E0KFRlDUfrOl1XS2yJlGk=";
-  };
-
-  patches = [
-    ./fix-paths.patch
-  ];
-
-  nativeBuildInputs = [
-    meson
-    ninja
-    pkg-config
-    python3
-    vala
-  ];
-
-  buildInputs = [
-    gtk3
-    libgee
-  ] ++ (with pantheon; [
-    elementary-files # settings schemas
-    elementary-terminal # settings schemas
-    granite
-    switchboard
-  ]);
-
-  postPatch = ''
-    chmod +x meson/post_install.py
-    patchShebangs meson/post_install.py
-  '';
-
-  passthru = {
-    updateScript = nix-update-script {
-      attrPath = pname;
-    };
-  };
-
-  meta = with lib; {
-    description = "Unofficial system settings panel for Pantheon";
-    longDescription = ''
-      Unofficial system settings panel for Pantheon
-      that lets you easily and safely customise your desktop's appearance.
-      Use programs.pantheon-tweaks.enable to add this to your switchboard.
-    '';
-    homepage = "https://github.com/pantheon-tweaks/pantheon-tweaks";
-    license = licenses.gpl3Plus;
-    platforms = platforms.linux;
-    maintainers = teams.pantheon.members;
-  };
-}
diff --git a/pkgs/applications/system/pantheon-tweaks/fix-paths.patch b/pkgs/applications/system/pantheon-tweaks/fix-paths.patch
deleted file mode 100644
index b2e0e0a7b4c8..000000000000
--- a/pkgs/applications/system/pantheon-tweaks/fix-paths.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/Settings/ThemeSettings.vala b/src/Settings/ThemeSettings.vala
-index 589121b..8e9c81e 100644
---- a/src/Settings/ThemeSettings.vala
-+++ b/src/Settings/ThemeSettings.vala
-@@ -29,7 +29,7 @@ public class PantheonTweaks.ThemeSettings {
-         var themes = new Gee.ArrayList<string> ();
- 
-         string[] dirs = {
--            "/usr/share/" + path + "/",
-+            "/run/current-system/sw/share/" + path + "/",
-             Environment.get_home_dir () + "/." + path + "/",
-             Environment.get_home_dir () + "/.local/share/" + path + "/"};
-