tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
libsmbios: 2.3.3 → 2.4.1
Jan Tojnar
8 years ago
892740fe
73f2f644
+12
-13
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
libsmbios
default.nix
+12
-13
pkgs/os-specific/linux/libsmbios/default.nix
···
1
-
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, libtool, gettext
2
, libxml2, perl, doxygen }:
3
4
5
stdenv.mkDerivation rec {
6
name = "libsmbios-${version}";
7
-
version = "2.3.3";
8
9
src = fetchFromGitHub {
10
owner = "dell";
11
repo = "libsmbios";
12
rev = "v${version}";
13
-
sha256 = "1cl5nb6qk8ki87hwqf9n1dd9nlhkjnlpdxlhzvm82za16gs7apkl";
14
};
15
16
-
nativeBuildInputs = [ autoreconfHook doxygen gettext libtool perl pkgconfig ];
17
-
buildInputs = [ libxml2 ];
18
19
configureFlags = [ "--disable-python" "--disable-graphviz" ];
20
21
enableParallelBuilding = true;
22
23
-
postInstall =
24
-
''
25
-
mkdir -p $out/include
26
-
cp -a src/include/smbios_c $out/include/
27
-
cp -a out/public-include/smbios_c $out/include/
28
-
'';
29
30
preFixup = ''rm -rf "$(pwd)" ''; # Hack to avoid TMPDIR in RPATHs
31
32
-
meta = {
33
homepage = https://github.com/dell/libsmbios;
34
description = "A library to obtain BIOS information";
35
-
license = with stdenv.lib.licenses; [ osl21 gpl2Plus ];
0
36
platforms = [ "i686-linux" "x86_64-linux" ];
37
};
38
}
···
1
+
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, help2man, gettext
2
, libxml2, perl, doxygen }:
3
4
5
stdenv.mkDerivation rec {
6
name = "libsmbios-${version}";
7
+
version = "2.4.1";
8
9
src = fetchFromGitHub {
10
owner = "dell";
11
repo = "libsmbios";
12
rev = "v${version}";
13
+
sha256 = "158w5fz777is7nr5yhpr69b17nn6i1pavycxq1q9899frrpkzbsc";
14
};
15
16
+
nativeBuildInputs = [ autoreconfHook doxygen gettext libxml2 help2man perl pkgconfig ];
0
17
18
configureFlags = [ "--disable-python" "--disable-graphviz" ];
19
20
enableParallelBuilding = true;
21
22
+
postInstall = ''
23
+
mkdir -p $out/include
24
+
cp -a src/include/smbios_c $out/include/
25
+
cp -a out/public-include/smbios_c $out/include/
26
+
'';
0
27
28
preFixup = ''rm -rf "$(pwd)" ''; # Hack to avoid TMPDIR in RPATHs
29
30
+
meta = with stdenv.lib; {
31
homepage = https://github.com/dell/libsmbios;
32
description = "A library to obtain BIOS information";
33
+
license = with licenses; [ osl21 gpl2Plus ];
34
+
maintainers = with maintainers; [ ];
35
platforms = [ "i686-linux" "x86_64-linux" ];
36
};
37
}