win-pvdrivers: migrate to pkgs/by-name, format with nixfmt-rfc-style
This commit is contained in:
parent
2b2c6eb3fc
commit
b85b6425ff
@ -1,4 +1,8 @@
|
||||
{ lib, stdenvNoCC, fetchurl }:
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
let
|
||||
# Upstream versioned download links are broken
|
||||
@ -44,13 +48,15 @@ stdenvNoCC.mkDerivation {
|
||||
pname = "win-pvdrivers";
|
||||
version = "unstable-2023-08-17";
|
||||
|
||||
srcs = map ({hash, url}: fetchurl {
|
||||
inherit hash url;
|
||||
# Wait & retry up to 3 times as archive.org can closes connection
|
||||
# when an HTTP client makes too many requests
|
||||
curlOpts = "--retry 3 --retry-delay 5";
|
||||
}) files;
|
||||
|
||||
srcs = map (
|
||||
{ hash, url }:
|
||||
fetchurl {
|
||||
inherit hash url;
|
||||
# Wait & retry up to 3 times as archive.org can closes connection
|
||||
# when an HTTP client makes too many requests
|
||||
curlOpts = "--retry 3 --retry-delay 5";
|
||||
}
|
||||
) files;
|
||||
|
||||
unpackPhase = ''
|
||||
runHook preUnpack
|
@ -34135,7 +34135,6 @@ with pkgs;
|
||||
xkbmon = callPackage ../applications/misc/xkbmon { };
|
||||
|
||||
win-spice = callPackage ../applications/virtualization/driver/win-spice { };
|
||||
win-pvdrivers = callPackage ../applications/virtualization/driver/win-pvdrivers { };
|
||||
|
||||
xfig = callPackage ../applications/graphics/xfig { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user