hwinfo: 23.5 -> 25.0 (#454283)
This commit is contained in:
@@ -20,13 +20,13 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "hwinfo";
|
||||
version = "23.5";
|
||||
version = "25.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "opensuse";
|
||||
repo = "hwinfo";
|
||||
rev = finalAttrs.version;
|
||||
hash = "sha256-OweEFxNxQpD7blHywhmHTA66vsYG+Qvsufm3huyUhi0=";
|
||||
hash = "sha256-8C+FM4UAn219ZQzPxk2IfK6ZKmTZNweo4oCoSYeZJ6A=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -49,8 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# Replace /usr paths with Nix store paths
|
||||
substituteInPlace Makefile \
|
||||
--replace-fail "/sbin" "/bin" \
|
||||
--replace-fail "/usr/" "/"
|
||||
--replace-fail "/sbin" "/bin"
|
||||
substituteInPlace src/isdn/cdb/Makefile \
|
||||
--replace-fail "lex isdn_cdb.lex" "flex isdn_cdb.lex"
|
||||
substituteInPlace hwinfo.pc.in \
|
||||
@@ -99,7 +98,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
"CC=${stdenv.cc.targetPrefix}cc"
|
||||
"ARCH=${stdenv.hostPlatform.uname.processor}"
|
||||
];
|
||||
installFlags = [ "DESTDIR=$(out)" ];
|
||||
installFlags = [
|
||||
"INSTALL_PREFIX="
|
||||
"DESTDIR=$(out)"
|
||||
];
|
||||
|
||||
enableParallelBuilding = false; # broken parallel dependencies
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@ let
|
||||
src = fetchFromGitHub {
|
||||
owner = "numtide";
|
||||
repo = "hwinfo";
|
||||
rev = "c2259845d10694c099fb306a8cfc5a403e71c708";
|
||||
hash = "sha256-RGIoJkYiNMRHwUclzdRMELxCgBU9Pfvaghvt3op0zM0=";
|
||||
rev = "bfeab0b4e38b200c7a62a44d4d01601a86fe1091";
|
||||
hash = "sha256-GL3fNCSaU45fNihEksgtPtbuLkc+tVGXtPH05wbrHwI=";
|
||||
};
|
||||
};
|
||||
in
|
||||
|
||||
Reference in New Issue
Block a user