osinfo-db: init at 20170813
This commit is contained in:
parent
0cdee78c81
commit
7f18bbb642
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "osinfo-db-20170813";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://releases.pagure.org/libosinfo/${name}.tar.xz";
|
||||||
|
sha256 = "0v9i325aaflzj2y5780mj9b0jv5ysb1bn90bm3s4f2ck5n124ffw";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];
|
||||||
|
|
||||||
|
phases = [ "installPhase" ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
osinfo-db-import --dir "$out/share/osinfo" "${src}"
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Osinfo database of information about operating systems for virtualization provisioning tools";
|
||||||
|
homepage = https://libosinfo.org/;
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = [ maintainers.bjornfor ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -10312,6 +10312,7 @@ with pkgs;
|
||||||
|
|
||||||
osm-gps-map = callPackage ../development/libraries/osm-gps-map { };
|
osm-gps-map = callPackage ../development/libraries/osm-gps-map { };
|
||||||
|
|
||||||
|
osinfo-db = callPackage ../data/misc/osinfo-db { };
|
||||||
osinfo-db-tools = callPackage ../tools/misc/osinfo-db-tools { };
|
osinfo-db-tools = callPackage ../tools/misc/osinfo-db-tools { };
|
||||||
|
|
||||||
p11_kit = callPackage ../development/libraries/p11-kit { };
|
p11_kit = callPackage ../development/libraries/p11-kit { };
|
||||||
|
|
Loading…
Reference in New Issue