diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2023-08-10 16:31:06 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2023-08-10 16:37:20 +0200 |
commit | 14afbbf901afbb1774f0ad2039e3b0fc45370665 (patch) | |
tree | 425514ad3a390bb53277da6ec3b9ee39c51d0fc8 /pkgs/tools/system | |
parent | 37ba768fb447c1bf5e53897af312b1f408f5d82f (diff) | |
download | nixpkgs-14afbbf901afbb1774f0ad2039e3b0fc45370665.tar nixpkgs-14afbbf901afbb1774f0ad2039e3b0fc45370665.tar.gz nixpkgs-14afbbf901afbb1774f0ad2039e3b0fc45370665.tar.bz2 nixpkgs-14afbbf901afbb1774f0ad2039e3b0fc45370665.tar.lz nixpkgs-14afbbf901afbb1774f0ad2039e3b0fc45370665.tar.xz nixpkgs-14afbbf901afbb1774f0ad2039e3b0fc45370665.tar.zst nixpkgs-14afbbf901afbb1774f0ad2039e3b0fc45370665.zip |
lshw: 02.19 -> unstable-2023-03-20
The last release is 3 years old and misses many fixes.
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/lshw/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/tools/system/lshw/default.nix b/pkgs/tools/system/lshw/default.nix index 76897823029..f5b4486365c 100644 --- a/pkgs/tools/system/lshw/default.nix +++ b/pkgs/tools/system/lshw/default.nix @@ -4,25 +4,28 @@ , hwdata , gtk2 , pkg-config +, gettext , sqlite # compile GUI , withGUI ? false }: 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 = "02.19"; + version = "unstable-2023-03-20"; src = fetchFromGitHub { owner = "lyonel"; repo = pname; - rev = "B.${version}"; - sha256 = "sha256-PzbNGc1pPiPLWWgTeWoNfAo+SsXgi1HcjnXfYXA9S0I="; + rev = "b4e067307906ec6f277cce5c8a882f5edd03cbbc"; + #rev = "B.${version}"; + sha256 = "sha256-ahdaQeYZEFCVxwAMJPMB9bfo3ndIiqFyM6OghXwtm1A="; }; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config gettext ]; buildInputs = [ hwdata ] ++ lib.optionals withGUI [ gtk2 sqlite ]; |