diff options
author | rewine <lhongxu@outlook.com> | 2023-08-05 02:17:56 +0800 |
---|---|---|
committer | rewine <lhongxu@outlook.com> | 2023-08-05 02:20:12 +0800 |
commit | 2b8a2792c05dd54f9f38bd26e494956be74fdd76 (patch) | |
tree | 7d2b414d5a9f8730a157ac8f949b3485a1dc65d6 /pkgs/applications/window-managers/wayfire/wf-config.nix | |
parent | e9e04eb4199e0ae4a6febdef563bbbb36c807bf1 (diff) |
wayfire: use finalAttrs pattern and set meta.mainProgram
Diffstat (limited to 'pkgs/applications/window-managers/wayfire/wf-config.nix')
-rw-r--r-- | pkgs/applications/window-managers/wayfire/wf-config.nix | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkgs/applications/window-managers/wayfire/wf-config.nix b/pkgs/applications/window-managers/wayfire/wf-config.nix index 19435a87395b5..923c3930c9b87 100644 --- a/pkgs/applications/window-managers/wayfire/wf-config.nix +++ b/pkgs/applications/window-managers/wayfire/wf-config.nix @@ -11,15 +11,15 @@ , libxml2 }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "wf-config"; version = "0.7.1"; src = fetchFromGitHub { owner = "WayfireWM"; - repo = pname; - rev = "v${version}"; - sha256 = "sha256-ADUBvDJcPYEB9ZvaFIgTfemo1WYwiWgCWX/z2yrEPtA="; + repo = "wf-config"; + rev = "v${finalAttrs.version}"; + hash = "sha256-ADUBvDJcPYEB9ZvaFIgTfemo1WYwiWgCWX/z2yrEPtA="; }; nativeBuildInputs = [ @@ -50,11 +50,11 @@ stdenv.mkDerivation rec { doCheck = true; - meta = with lib; { + meta = { homepage = "https://github.com/WayfireWM/wf-config"; description = "Library for managing configuration files, written for Wayfire"; - license = licenses.mit; - maintainers = with maintainers; [ qyliss wucke13 rewine ]; - platforms = platforms.unix; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ qyliss wucke13 rewine ]; + platforms = lib.platforms.unix; }; -} +}) |