Skip to content

Instantly share code, notes, and snippets.

@superherointj
Created September 9, 2020 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save superherointj/f2f120222ab730238d89599159da8f2b to your computer and use it in GitHub Desktop.
Save superherointj/f2f120222ab730238d89599159da8f2b to your computer and use it in GitHub Desktop.
dmidecode package update
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "dmidecode-d70d5e686148eabe90c89fbf4cdcf5258db5aa05";
src = fetchurl {
# Actual URL that I want to download
# https://git.savannah.gnu.org/cgit/dmidecode.git/snapshot/dmidecode-d70d5e686148eabe90c89fbf4cdcf5258db5aa05.tar.gz
#url = "mirror://savannah/dmidecode/${name}.tar.xz";
url = "https://git.savannah.gnu.org/cgit/dmidecode.git/snapshot/${name}.tar.gz";
sha256 = "e8f0ea7e9a9f3cbfbb9cee84f7b4d8bdc6bd6bb9e6ce10a79505342b22311dab";
};
makeFlags = [ "prefix=$(out)" ];
meta = with stdenv.lib; {
homepage = "https://www.nongnu.org/dmidecode/";
description = "A tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment