2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, p7zip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
src_x86 = fetchurl {
|
|
|
|
url = "http://apt.univention.de/download/addons/gplpv-drivers/gplpv_Vista2008x32_signed_0.11.0.373.msi";
|
|
|
|
sha256 = "04r11xw8ikjmcdhrsk878c86g0d0pvras5arsas3zs6dhgjykqap";
|
|
|
|
};
|
|
|
|
|
|
|
|
src_amd64 = fetchurl {
|
|
|
|
url = "http://apt.univention.de/download/addons/gplpv-drivers/gplpv_Vista2008x64_signed_0.11.0.373.msi";
|
|
|
|
sha256 = "00k628mg9b039p8lmg2l9n81dr15svy70p3m6xmq6f0frmci38ph";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
|
2021-12-06 16:07:01 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "gplpv";
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "0.11.0.373";
|
|
|
|
|
2021-08-05 21:33:18 +00:00
|
|
|
dontUnpack = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
mkdir -p x86
|
|
|
|
(cd x86; ${p7zip}/bin/7z e ${src_x86})
|
|
|
|
mkdir -p amd64
|
|
|
|
(cd amd64; ${p7zip}/bin/7z e ${src_amd64})
|
2021-12-06 16:07:01 +00:00
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/x86 $out/amd64
|
|
|
|
cp x86/* $out/x86/.
|
|
|
|
cp amd64/* $out/amd64/.
|
2021-12-06 16:07:01 +00:00
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = ''
|
|
|
|
A collection of open source Window PV drivers that allow
|
|
|
|
Windows to be para-virtualized.
|
|
|
|
The drivers are signed by Univention with a Software Publishers
|
|
|
|
Certificate obtained from the VeriSign CA.
|
2021-12-06 16:07:01 +00:00
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers";
|
2022-07-14 12:49:19 +00:00
|
|
|
maintainers = [ ];
|
2022-06-26 10:26:21 +00:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
2022-07-14 12:49:19 +00:00
|
|
|
}
|