nixpkgs/pkgs/data/misc/osinfo-db/default.nix
R. RyanTM a037b5744d osinfo-db: 20180325 -> 20180416
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 20180416 with grep in /nix/store/nwpn0sz1yrnya6fy9i1akyc1k0viqxmm-osinfo-db-20180416
- directory tree listing: https://gist.github.com/1a5a860f2b7b5bae8fab95a8735b6528
2018-04-20 01:16:25 -07:00

27 lines
751 B
Nix

{ stdenv, fetchurl, osinfo-db-tools, intltool, libxml2 }:
stdenv.mkDerivation rec {
name = "osinfo-db-20180416";
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${name}.tar.xz";
sha256 = "0qam3qbrwzrz40pikhb8y11lidpb6snsa80ym8s6hp5kh4icr1h6";
};
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 ];
};
}