Merge staging-next-21.05 into staging-21.05
This commit is contained in:
commit
9c4b557682
|
@ -0,0 +1,39 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, systemd, libnotify, pkg-config }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "psi-notify";
|
||||||
|
version = "1.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cdown";
|
||||||
|
repo = pname;
|
||||||
|
rev = version;
|
||||||
|
sha256 = "0hn37plim1smmlrjjmz8kybyms8pz3wxcgf8vmqjrsqi6bfcym7g";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ systemd libnotify ];
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
runHook preInstall
|
||||||
|
|
||||||
|
install -D psi-notify $out/bin/psi-notify
|
||||||
|
substituteInPlace psi-notify.service --replace psi-notify $out/bin/psi-notify
|
||||||
|
install -D psi-notify.service $out/share/systemd/user/psi-notify.service
|
||||||
|
|
||||||
|
runHook postInstall
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Alert on system resource saturation";
|
||||||
|
longDescription = ''
|
||||||
|
psi-notify can alert you when resources on your machine are becoming
|
||||||
|
oversaturated, and allow you to take action before your system slows to a
|
||||||
|
crawl.
|
||||||
|
'';
|
||||||
|
license = licenses.mit;
|
||||||
|
homepage = "https://github.com/cdown/psi-notify";
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ eduarrrd ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "playerctl";
|
pname = "playerctl";
|
||||||
version = "2.3.1";
|
version = "2.4.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "acrisci";
|
owner = "acrisci";
|
||||||
repo = "playerctl";
|
repo = "playerctl";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00z5c6amlxd3q42l7x8i0ngl627dxglgg5vikbbhjp9ms34xbxdn";
|
sha256 = "sha256-OiGKUnsKX0ihDRceZoNkcZcEAnz17h2j2QUOSVcxQEY=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkg-config gtk-doc docbook_xsl gobject-introspection ];
|
nativeBuildInputs = [ meson ninja pkg-config gtk-doc docbook_xsl gobject-introspection ];
|
||||||
|
|
|
@ -5,11 +5,11 @@
|
||||||
}:
|
}:
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "nix-output-monitor";
|
pname = "nix-output-monitor";
|
||||||
version = "1.0.3.2";
|
version = "1.0.3.3";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "maralorn";
|
owner = "maralorn";
|
||||||
repo = "nix-output-monitor";
|
repo = "nix-output-monitor";
|
||||||
sha256 = "0srfclmqrqcx8b756yxww24ya0xn2ajxbgj07mcvdvwbwl09pys8";
|
sha256 = "1x26s9gzcygn96600g0r1a1sxqav6c38iq981rhmc808mqlyxmp8";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
};
|
};
|
||||||
isLibrary = true;
|
isLibrary = true;
|
||||||
|
|
|
@ -228,13 +228,13 @@ in rec {
|
||||||
nixUnstable = lib.lowPrio (callPackage common rec {
|
nixUnstable = lib.lowPrio (callPackage common rec {
|
||||||
pname = "nix";
|
pname = "nix";
|
||||||
version = "2.4${suffix}";
|
version = "2.4${suffix}";
|
||||||
suffix = "pre20210908_${lib.substring 0 7 src.rev}";
|
suffix = "pre20210922_${lib.substring 0 7 src.rev}";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nix";
|
repo = "nix";
|
||||||
rev = "3c56f62093601143838af923195f630d8ffae2d4";
|
rev = "bcd73ebf60bb9ba6cb09f8df4366d5474c16e4a4";
|
||||||
sha256 = "sha256-pjdzLOEt8i1NQe4drLpp8+LrRd2MgsISSQEsMebz2kc=";
|
sha256 = "sha256-wRbz8c22tlRn2/va/yOoLJijdJn+JJqLRDPRlifaEEA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
boehmgc = boehmgc_nixUnstable;
|
boehmgc = boehmgc_nixUnstable;
|
||||||
|
|
|
@ -25437,6 +25437,8 @@ in
|
||||||
prevo-data = callPackage ../applications/misc/prevo/data.nix { };
|
prevo-data = callPackage ../applications/misc/prevo/data.nix { };
|
||||||
prevo-tools = callPackage ../applications/misc/prevo/tools.nix { };
|
prevo-tools = callPackage ../applications/misc/prevo/tools.nix { };
|
||||||
|
|
||||||
|
psi-notify = callPackage ../applications/misc/psi-notify { };
|
||||||
|
|
||||||
ptex = callPackage ../development/libraries/ptex {};
|
ptex = callPackage ../development/libraries/ptex {};
|
||||||
|
|
||||||
pyright = nodePackages.pyright;
|
pyright = nodePackages.pyright;
|
||||||
|
|
Loading…
Reference in New Issue