nixpkgs/pkgs/data/misc/osinfo-db/default.nix
R. RyanTM fca8ce870c osinfo-db: 20180502 -> 20180514
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

- 0 of 0 passed binary check by having a zero exit code.
- 0 of 0 passed binary check by having the new version present in output.
- found 20180514 with grep in /nix/store/4lgxl3vd6h691mx9hn2znln8idhv5bnn-osinfo-db-20180514
- directory tree listing: https://gist.github.com/557cda4c5d9742fc2f03e3eb6c73b7ee
- du listing: https://gist.github.com/17de36b5bae99c6d771de2b293c347b5
2018-05-21 08:59:32 +00:00

26 lines
751 B
Nix

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