usb-modeswitch, usb-modeswitch-data: use https to download sources (#475859)

This commit is contained in:
Ramses
2026-01-19 18:36:10 +00:00
committed by GitHub
2 changed files with 5 additions and 6 deletions
+4 -5
View File
@@ -1,5 +1,4 @@
{
lib,
stdenv,
fetchurl,
tcl,
@@ -7,13 +6,13 @@
udevCheckHook,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "usb-modeswitch-data";
version = "20251207";
src = fetchurl {
url = "http://www.draisberghof.de/usb_modeswitch/${pname}-${version}.tar.bz2";
sha256 = "sha256-C7EtZK7l5GfDGvYaU/uCj/eqWcVKgsqF7u3kxWkL+mY=";
url = "https://www.draisberghof.de/usb_modeswitch/${finalAttrs.pname}-${finalAttrs.version}.tar.bz2";
hash = "sha256-C7EtZK7l5GfDGvYaU/uCj/eqWcVKgsqF7u3kxWkL+mY=";
};
doInstallCheck = true;
@@ -44,4 +43,4 @@ stdenv.mkDerivation rec {
description = "Device database and the rules file for 'multi-mode' USB devices";
inherit (usb-modeswitch.meta) license maintainers platforms;
};
}
})
+1 -1
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation (finalAttrs: {
version = "2.6.2";
src = fetchurl {
url = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${finalAttrs.version}.tar.bz2";
url = "https://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${finalAttrs.version}.tar.bz2";
hash = "sha256-96vTN3hKnRvTnLilh1GK/28qQ9kWFF6v2Asbi3FG22Y=";
};