nixpkgs/pkgs/data/misc/osinfo-db/default.nix
R. RyanTM 46dfe1eca8 osinfo-db: 20180514 -> 20180531 (#41532)
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 20180531 with grep in /nix/store/25851x07kvaxfb8s7427mhpvylj8swg1-osinfo-db-20180531
- directory tree listing: https://gist.github.com/60bc6cf4445cc0ea32c19263635f4abc
- du listing: https://gist.github.com/f17e071004c463f800b9a570501643e5
2018-06-06 08:37:08 +02:00

27 lines
751 B
Nix

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