libosinfo: new package

libosinfo contains "info about OSs, hypervisors and (virtual) hardware
devices".

It is a dependency of gnome-boxes (a virtual and remote machine
application).
This commit is contained in:
Bjørn Forsman 2014-07-11 19:53:17 +02:00
parent 7e20124875
commit 160e347acb
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchurl, pkgconfig, intltool, gobjectIntrospection, libsoup
, libxslt, check, vala ? null
}:
stdenv.mkDerivation rec {
name = "libosinfo-0.2.10";
src = fetchurl {
url = "https://fedorahosted.org/releases/l/i/libosinfo/${name}.tar.gz";
sha256 = "564bd487a39dc09a10917c1d7a95f739ee7701d9cd0fbabcacea64f615e20a2d";
};
buildInputs = [
pkgconfig intltool gobjectIntrospection libsoup libxslt check vala
];
meta = with stdenv.lib; {
description = "Info about OSs, hypervisors and (virtual) hardware devices";
homepage = http://libosinfo.org/;
license = licenses.lgpl2Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}

View file

@ -5374,6 +5374,8 @@ let
libopus = callPackage ../development/libraries/libopus { };
libosinfo = callPackage ../development/libraries/libosinfo {};
libosip = callPackage ../development/libraries/osip {};
libosip_3 = callPackage ../development/libraries/osip/3.nix {};