022b5bf693
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/osinfo-db/versions. These checks were done: - built on NixOS - Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.) - found 20180325 with grep in /nix/store/sdr910akq1gsdl16247miad3846naixs-osinfo-db-20180325 - directory tree listing: https://gist.github.com/9b051f2ceaf735649e31d21d5881f6bd
26 lines
751 B
Nix
26 lines
751 B
Nix
{ stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "osinfo-db-20180325";
|
|
|
|
src = fetchurl {
|
|
url = "https://releases.pagure.org/libosinfo/${name}.tar.xz";
|
|
sha256 = "0lma4szxwg5vzb23p3hplllz9yi77x57dzijsz6n4qa399wzv8rs";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|