Nixpkgs Update
This commit is contained in:
parent
1a722ccc79
commit
58aba363ae
6
flake.lock
generated
6
flake.lock
generated
@ -157,11 +157,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_3": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710451336,
|
"lastModified": 1710631334,
|
||||||
"narHash": "sha256-pP86Pcfu3BrAvRO7R64x7hs+GaQrjFes+mEPowCfkxY=",
|
"narHash": "sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "d691274a972b3165335d261cc4671335f5c67de9",
|
"rev": "c75037bbf9093a2acb617804ee46320d6d1fea5a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1,41 +1,41 @@
|
|||||||
{ lib, stdenv, fetchzip, buildPackages }:
|
{ lib, stdenv, fetchzip, buildPackages }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "systemd-manager";
|
pname = "systemd-manager";
|
||||||
version = "16";
|
version = "16";
|
||||||
|
|
||||||
src = fetchzip {
|
src = fetchzip {
|
||||||
url = "https://github.com/hardpixel/systemd-manager/releases/download/v${version}/systemd-manager-v${version}.zip";
|
url = "https://github.com/hardpixel/systemd-manager/releases/download/v${version}/systemd-manager-v${version}.zip";
|
||||||
hash = "sha256-mbo0kSLkFpT71f/E4AJ0rMFLVtsks7u9snc8maMib4U=";
|
hash = "sha256-mbo0kSLkFpT71f/E4AJ0rMFLVtsks7u9snc8maMib4U=";
|
||||||
stripRoot = false;
|
stripRoot = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
extensionUuid = "systemd-manager@hardpixel.eu";
|
extensionUuid = "systemd-manager@hardpixel.eu";
|
||||||
extensionPortalSlug = "systemd-manager";
|
extensionPortalSlug = "systemd-manager";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ buildPackages.glib ];
|
nativeBuildInputs = [ buildPackages.glib ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
if [ -d schemas ]; then
|
if [ -d schemas ]; then
|
||||||
glib-compile-schemas --strict schemas
|
glib-compile-schemas --strict schemas
|
||||||
fi
|
fi
|
||||||
runHook postBuild
|
runHook postBuild
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
runHook preInstall
|
runHook preInstall
|
||||||
mkdir -p $out/share/gnome-shell/extensions
|
mkdir -p $out/share/gnome-shell/extensions
|
||||||
cp -r -T . $out/share/gnome-shell/extensions/${passthru.extensionUuid}
|
cp -r -T . $out/share/gnome-shell/extensions/${passthru.extensionUuid}
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GNOME Shell extension to manage systemd services";
|
description = "GNOME Shell extension to manage systemd services";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
homepage = "https://github.com/hardpixel/systemd-manager";
|
homepage = "https://github.com/hardpixel/systemd-manager";
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user