summary refs log tree commit diff
path: root/pkgs/os-specific/linux/dmidecode/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/os-specific/linux/dmidecode/default.nix')
-rw-r--r--pkgs/os-specific/linux/dmidecode/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/dmidecode/default.nix b/pkgs/os-specific/linux/dmidecode/default.nix
new file mode 100644
index 00000000000..4e9c49e4f58
--- /dev/null
+++ b/pkgs/os-specific/linux/dmidecode/default.nix
@@ -0,0 +1,17 @@
+{stdenv, fetchurl}:
+
+stdenv.mkDerivation rec {
+  name = "dmidecode-2.10";
+
+  src = fetchurl {
+    url = "http://www.very-clever.com/download/nongnu/dmidecode/${name}.tar.bz2";
+    sha256 = "1h72r5scrpvgw60hif5msjg6vw2x0jd6z094lhbh6cjk6gls6x2d";
+  };
+
+  makeFlags = "prefix=$(out)";
+
+  meta = {
+    homepage = http://www.nongnu.org/dmidecode/;
+    description = "A tool that reads information about your system's hardware from the BIOS according to the SMBIOS/DMI standard";
+  };
+}