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
|
let
|
||||||
# Upstream versioned download links are broken
|
# Upstream versioned download links are broken
|
||||||
@ -44,13 +48,15 @@ stdenvNoCC.mkDerivation {
|
|||||||
pname = "win-pvdrivers";
|
pname = "win-pvdrivers";
|
||||||
version = "unstable-2023-08-17";
|
version = "unstable-2023-08-17";
|
||||||
|
|
||||||
srcs = map ({hash, url}: fetchurl {
|
srcs = map (
|
||||||
|
{ hash, url }:
|
||||||
|
fetchurl {
|
||||||
inherit hash url;
|
inherit hash url;
|
||||||
# Wait & retry up to 3 times as archive.org can closes connection
|
# Wait & retry up to 3 times as archive.org can closes connection
|
||||||
# when an HTTP client makes too many requests
|
# when an HTTP client makes too many requests
|
||||||
curlOpts = "--retry 3 --retry-delay 5";
|
curlOpts = "--retry 3 --retry-delay 5";
|
||||||
}) files;
|
}
|
||||||
|
) files;
|
||||||
|
|
||||||
unpackPhase = ''
|
unpackPhase = ''
|
||||||
runHook preUnpack
|
runHook preUnpack
|
@ -34135,7 +34135,6 @@ with pkgs;
|
|||||||
xkbmon = callPackage ../applications/misc/xkbmon { };
|
xkbmon = callPackage ../applications/misc/xkbmon { };
|
||||||
|
|
||||||
win-spice = callPackage ../applications/virtualization/driver/win-spice { };
|
win-spice = callPackage ../applications/virtualization/driver/win-spice { };
|
||||||
win-pvdrivers = callPackage ../applications/virtualization/driver/win-pvdrivers { };
|
|
||||||
|
|
||||||
xfig = callPackage ../applications/graphics/xfig { };
|
xfig = callPackage ../applications/graphics/xfig { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user