diff options
author | Thiago Kenji Okada <thiagokokada@gmail.com> | 2024-01-08 12:16:01 +0000 |
---|---|---|
committer | Thiago Kenji Okada <thiagokokada@gmail.com> | 2024-01-08 14:53:57 +0000 |
commit | 2bca432f17480de4acea474e47c47868ac4c9d6f (patch) | |
tree | 578bd9d87a7f4eb7341a61164bddc022c7ee57cd /pkgs/by-name/ls | |
parent | 61c34fe142fda3b69fac1ad5ce823548ca9ffe3c (diff) |
lshw: unstable-2023-03-20 -> 02.20
Diffstat (limited to 'pkgs/by-name/ls')
-rw-r--r-- | pkgs/by-name/ls/lshw/package.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/by-name/ls/lshw/package.nix b/pkgs/by-name/ls/lshw/package.nix index 5a6318ea4c21a..4f0cb5ce3c6b8 100644 --- a/pkgs/by-name/ls/lshw/package.nix +++ b/pkgs/by-name/ls/lshw/package.nix @@ -2,7 +2,7 @@ , lib , fetchFromGitHub , hwdata -, gtk2 +, gtk3 , pkg-config , gettext , sqlite # compile GUI @@ -11,24 +11,22 @@ stdenv.mkDerivation rec { pname = "lshw"; - # FIXME: when switching to a stable release: # Fix repology.org by not including the prefixed B, otherwise the `pname` attr # gets filled as `lshw-B.XX.XX` in `nix-env --query --available --attr nixpkgs.lshw --meta` # See https://github.com/NixOS/nix/pull/4463 for a definitive fix - version = "unstable-2023-03-20"; + version = "02.20"; src = fetchFromGitHub { owner = "lyonel"; repo = pname; - rev = "b4e067307906ec6f277cce5c8a882f5edd03cbbc"; - #rev = "B.${version}"; - sha256 = "sha256-ahdaQeYZEFCVxwAMJPMB9bfo3ndIiqFyM6OghXwtm1A="; + rev = "B.${version}"; + hash = "sha256-4etC7ymMgn1Q4f98DNASv8vn0AT55dYPdacZo6GRDw0="; }; nativeBuildInputs = [ pkg-config gettext ]; buildInputs = [ hwdata ] - ++ lib.optionals withGUI [ gtk2 sqlite ]; + ++ lib.optionals withGUI [ gtk3 sqlite ]; makeFlags = [ "PREFIX=$(out)" @@ -44,11 +42,11 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; meta = with lib; { - homepage = "https://ezix.org/project/wiki/HardwareLiSter"; description = "Provide detailed information on the hardware configuration of the machine"; + homepage = "https://ezix.org/project/wiki/HardwareLiSter"; license = licenses.gpl2; + mainProgram = "lshw"; maintainers = with maintainers; [ thiagokokada ]; platforms = platforms.linux; - mainProgram = "lshw"; }; } |