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
1
-
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, libtool, gettext
1
1
+
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, help2man, gettext
2
2
, libxml2, perl, doxygen }:
3
3
4
4
5
5
stdenv.mkDerivation rec {
6
6
name = "libsmbios-${version}";
7
7
-
version = "2.3.3";
7
7
+
version = "2.4.1";
8
8
9
9
src = fetchFromGitHub {
10
10
owner = "dell";
11
11
repo = "libsmbios";
12
12
rev = "v${version}";
13
13
-
sha256 = "1cl5nb6qk8ki87hwqf9n1dd9nlhkjnlpdxlhzvm82za16gs7apkl";
13
13
+
sha256 = "158w5fz777is7nr5yhpr69b17nn6i1pavycxq1q9899frrpkzbsc";
14
14
};
15
15
16
16
-
nativeBuildInputs = [ autoreconfHook doxygen gettext libtool perl pkgconfig ];
17
17
-
buildInputs = [ libxml2 ];
16
16
+
nativeBuildInputs = [ autoreconfHook doxygen gettext libxml2 help2man perl pkgconfig ];
18
17
19
18
configureFlags = [ "--disable-python" "--disable-graphviz" ];
20
19
21
20
enableParallelBuilding = true;
22
21
23
23
-
postInstall =
24
24
-
''
25
25
-
mkdir -p $out/include
26
26
-
cp -a src/include/smbios_c $out/include/
27
27
-
cp -a out/public-include/smbios_c $out/include/
28
28
-
'';
22
22
+
postInstall = ''
23
23
+
mkdir -p $out/include
24
24
+
cp -a src/include/smbios_c $out/include/
25
25
+
cp -a out/public-include/smbios_c $out/include/
26
26
+
'';
29
27
30
28
preFixup = ''rm -rf "$(pwd)" ''; # Hack to avoid TMPDIR in RPATHs
31
29
32
32
-
meta = {
30
30
+
meta = with stdenv.lib; {
33
31
homepage = https://github.com/dell/libsmbios;
34
32
description = "A library to obtain BIOS information";
35
35
-
license = with stdenv.lib.licenses; [ osl21 gpl2Plus ];
33
33
+
license = with licenses; [ osl21 gpl2Plus ];
34
34
+
maintainers = with maintainers; [ ];
36
35
platforms = [ "i686-linux" "x86_64-linux" ];
37
36
};
38
37
}