chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / wi / win-pvdrivers / package.nix
blob275dd5e21205a5b08e5edb4f5f2324c690f9def6
2   lib,
3   stdenvNoCC,
4   fetchurl,
5 }:
7 let
8   # Upstream versioned download links are broken
9   # NOTE: the archive.org timestamp must be updated if the version changes.
10   # See https://xenproject.org/downloads/
11   files = [
12     {
13       url = "https://web.archive.org/web/20230817070451if_/https://xenbits.xenproject.org/pvdrivers/win/xenbus.tar";
14       hash = "sha256-sInkbVL/xkoUeZxgknLM3e2AXBVSqItF2Vpkon53Xec=";
15     }
16     {
17       url = "https://web.archive.org/web/20230817070811if_/https://xenbits.xenproject.org/pvdrivers/win/xencons.tar";
18       hash = "sha256-r8bxH5B4y0V9qgALi42KtpZW05UOevv29AqqXaIXMBo=";
19     }
20     {
21       url = "https://web.archive.org/web/20230817070811if_/https://xenbits.xenproject.org/pvdrivers/win/xenhid.tar";
22       hash = "sha256-e7ztzaXi/6irMus9IH0cfbW5HiKSaybXV1C/rd5mEfA=";
23     }
24     {
25       url = "https://web.archive.org/web/20230817071133if_/https://xenbits.xenproject.org/pvdrivers/win/xeniface.tar";
26       hash = "sha256-qPM0TjcGR2luPtOSAfXJ22k6yhwJOmOP3ot6kopEFsI=";
27     }
28     {
29       url = "https://web.archive.org/web/20230817071134if_/https://xenbits.xenproject.org/pvdrivers/win/xennet.tar";
30       hash = "sha256-Vg1wSfXjIVRd2iXCa19W4Jdaf2LTVin0yac/D70UjPM=";
31     }
32     {
33       url = "https://web.archive.org/web/20230817070811if_/https://xenbits.xenproject.org/pvdrivers/win/xenvbd.tar";
34       hash = "sha256-nLNM0TWqsEWiQBCYxARMldvRecRUcY5DBF5DNAG4490=";
35     }
36     {
37       url = "https://web.archive.org/web/20230817071225if_/https://xenbits.xenproject.org/pvdrivers/win/xenvif.tar";
38       hash = "sha256-R8G5vG6Q4g0/UkA2oxcc9/jaHZQYb+u64NShCNt7s7U=";
39     }
40     {
41       url = "https://web.archive.org/web/20230817071153if_/https://xenbits.xenproject.org/pvdrivers/win/xenvkbd.tar";
42       hash = "sha256-CaSxCKnT/KaZw8Ma60g2z+4lOOWIRisGRtzMveQqQmM=";
43     }
44   ];
47 stdenvNoCC.mkDerivation {
48   pname = "win-pvdrivers";
49   version = "unstable-2023-08-17";
51   srcs = map (
52     { hash, url }:
53     fetchurl {
54       inherit hash url;
55       # Wait & retry up to 3 times as archive.org can closes connection
56       # when an HTTP client makes too many requests
57       curlOpts = "--retry 3 --retry-delay 5";
58     }
59   ) files;
61   unpackPhase = ''
62     runHook preUnpack
64     for _src in $srcs; do
65       mkdir -p $out
66       tar xfv $_src -C $out
67     done
69     runHook postUnpack
70   '';
72   meta = with lib; {
73     description = "Xen Subproject: Windows PV Drivers";
74     homepage = "https://xenproject.org/developers/teams/windows-pv-drivers/";
75     license = licenses.bsd2;
76     maintainers = with maintainers; [ anthonyroussel ];
77     platforms = platforms.linux;
78     sourceProvenance = with sourceTypes; [ binaryNativeCode ];
79   };