diff options
author | Felix Bühler <Stunkymonkey@users.noreply.github.com> | 2021-11-07 21:29:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-07 21:29:51 +0100 |
commit | fbdf78236a346f57f716fb66ed62e1993260c9e5 (patch) | |
tree | d8ad89d78673cf511a52ad329e014f76bc116641 /pkgs/applications/misc/gkrellm | |
parent | 3b61f5c4366408ffdffa485457e499867d778b96 (diff) |
pkgs/applications: rename name to pname&version part 1 (#144949)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/misc/gkrellm')
-rw-r--r-- | pkgs/applications/misc/gkrellm/default.nix | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/pkgs/applications/misc/gkrellm/default.nix b/pkgs/applications/misc/gkrellm/default.nix index aaaab255c7633..9c59377ea3725 100644 --- a/pkgs/applications/misc/gkrellm/default.nix +++ b/pkgs/applications/misc/gkrellm/default.nix @@ -1,19 +1,33 @@ -{ lib, fetchurl, stdenv, gettext, pkg-config, glib, gtk2, libX11, libSM, libICE, which -, IOKit, copyDesktopItems, makeDesktopItem, wrapGAppsHook +{ lib +, fetchurl +, stdenv +, gettext +, pkg-config +, glib +, gtk2 +, libX11 +, libSM +, libICE +, which +, IOKit +, copyDesktopItems +, makeDesktopItem +, wrapGAppsHook }: with lib; stdenv.mkDerivation rec { - name = "gkrellm-2.3.11"; + pname = "gkrellm"; + version = "2.3.11"; src = fetchurl { - url = "http://gkrellm.srcbox.net/releases/${name}.tar.bz2"; + url = "http://gkrellm.srcbox.net/releases/gkrellm-${version}.tar.bz2"; sha256 = "01lccz4fga40isv09j8rjgr0qy10rff9vj042n6gi6gdv4z69q0y"; }; nativeBuildInputs = [ copyDesktopItems pkg-config which wrapGAppsHook ]; - buildInputs = [gettext glib gtk2 libX11 libSM libICE] + buildInputs = [ gettext glib gtk2 libX11 libSM libICE ] ++ optionals stdenv.isDarwin [ IOKit ]; hardeningDisable = [ "format" ]; |