mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
pantheon.elementary-dpms-helper: drop package
This commit is contained in:
parent
ceedbf92c0
commit
7973714304
@ -207,7 +207,6 @@ in
|
|||||||
|
|
||||||
# Services
|
# Services
|
||||||
elementary-capnet-assist
|
elementary-capnet-assist
|
||||||
elementary-dpms-helper
|
|
||||||
elementary-notifications
|
elementary-notifications
|
||||||
elementary-settings-daemon
|
elementary-settings-daemon
|
||||||
pantheon-agent-geoclue2
|
pantheon-agent-geoclue2
|
||||||
|
@ -107,8 +107,6 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||||||
|
|
||||||
elementary-capnet-assist = callPackage ./services/elementary-capnet-assist { };
|
elementary-capnet-assist = callPackage ./services/elementary-capnet-assist { };
|
||||||
|
|
||||||
elementary-dpms-helper = callPackage ./services/elementary-dpms-helper { };
|
|
||||||
|
|
||||||
elementary-notifications = callPackage ./services/elementary-notifications { };
|
elementary-notifications = callPackage ./services/elementary-notifications { };
|
||||||
|
|
||||||
# We're using ubuntu and elementary's patchset due to reasons
|
# We're using ubuntu and elementary's patchset due to reasons
|
||||||
|
@ -1,66 +0,0 @@
|
|||||||
{ lib, stdenv
|
|
||||||
, fetchFromGitHub
|
|
||||||
, nix-update-script
|
|
||||||
, pantheon
|
|
||||||
, meson
|
|
||||||
, ninja
|
|
||||||
, desktop-file-utils
|
|
||||||
, glib
|
|
||||||
, coreutils
|
|
||||||
, elementary-settings-daemon
|
|
||||||
, wrapGAppsHook
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "elementary-dpms-helper";
|
|
||||||
version = "1.0";
|
|
||||||
|
|
||||||
repoName = "dpms-helper";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "elementary";
|
|
||||||
repo = repoName;
|
|
||||||
rev = version;
|
|
||||||
sha256 = "sha256-0KbfAxvZ+aFjq+XEK4uoRHSyKlaky0FlJd2a5TG4bms=";
|
|
||||||
};
|
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = nix-update-script {
|
|
||||||
attrPath = "pantheon.${pname}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
desktop-file-utils
|
|
||||||
meson
|
|
||||||
ninja
|
|
||||||
wrapGAppsHook
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
elementary-settings-daemon
|
|
||||||
glib
|
|
||||||
];
|
|
||||||
|
|
||||||
preFixup = ''
|
|
||||||
gappsWrapperArgs+=(--prefix PATH : "${lib.makeBinPath [ glib.dev coreutils ]}")
|
|
||||||
'';
|
|
||||||
|
|
||||||
postFixup = ''
|
|
||||||
substituteInPlace $out/etc/xdg/autostart/io.elementary.dpms-helper.desktop \
|
|
||||||
--replace "Exec=io.elementary.dpms-helper" "Exec=$out/bin/io.elementary.dpms-helper"
|
|
||||||
'';
|
|
||||||
|
|
||||||
# See: https://github.com/elementary/dpms-helper/pull/10
|
|
||||||
postInstall = ''
|
|
||||||
${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "Sets DPMS settings found in org.pantheon.dpms";
|
|
||||||
homepage = "https://github.com/elementary/dpms-helper";
|
|
||||||
license = licenses.gpl2;
|
|
||||||
platforms = platforms.linux;
|
|
||||||
maintainers = pantheon.maintainers;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user