From 17c8525e51ac96ef83369a1071d573098cd8e45e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 28 Mar 2022 12:23:02 +0200 Subject: [PATCH] onlykey: replace git://github.com with https:// --- pkgs/tools/security/onlykey/default.nix | 2 +- pkgs/tools/security/onlykey/node-packages.nix | 4 ++-- pkgs/tools/security/onlykey/package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/security/onlykey/default.nix b/pkgs/tools/security/onlykey/default.nix index 312f580c0239..d924e7ccc3a4 100644 --- a/pkgs/tools/security/onlykey/default.nix +++ b/pkgs/tools/security/onlykey/default.nix @@ -20,7 +20,7 @@ let elem; # this must be updated anytime this package is updated. - onlykeyPkg = "onlykey-git://github.com/trustcrypto/OnlyKey-App.git#v${version}"; + onlykeyPkg = "onlykey-git+https://github.com/trustcrypto/OnlyKey-App.git#v${version}"; # define a shortcut to get to onlykey. onlykey = self."${onlykeyPkg}"; diff --git a/pkgs/tools/security/onlykey/node-packages.nix b/pkgs/tools/security/onlykey/node-packages.nix index d6713a0f42a8..d5e3cd84fed6 100644 --- a/pkgs/tools/security/onlykey/node-packages.nix +++ b/pkgs/tools/security/onlykey/node-packages.nix @@ -6316,12 +6316,12 @@ let }; in { - "onlykey-git://github.com/trustcrypto/OnlyKey-App.git#v5.3.3" = nodeEnv.buildNodePackage { + "onlykey-git+https://github.com/trustcrypto/OnlyKey-App.git#v5.3.3" = nodeEnv.buildNodePackage { name = "OnlyKey"; packageName = "OnlyKey"; version = "5.3.3"; src = fetchgit { - url = "git://github.com/trustcrypto/OnlyKey-App.git"; + url = "https://github.com/trustcrypto/OnlyKey-App.git"; rev = "0bd08ef5828d9493cd4c5f4909e9a4fc4c59a494"; sha256 = "d2386369fd9d9b7d5ea5d389434848c33fa34e26d713d439e8e2f2e447237bb0"; }; diff --git a/pkgs/tools/security/onlykey/package.json b/pkgs/tools/security/onlykey/package.json index d9a1a72c4297..06fa903f6a55 100644 --- a/pkgs/tools/security/onlykey/package.json +++ b/pkgs/tools/security/onlykey/package.json @@ -1,3 +1,3 @@ [ - {"onlykey": "git://github.com/trustcrypto/OnlyKey-App.git#v5.3.3"} + {"onlykey": "git+https://github.com/trustcrypto/OnlyKey-App.git#v5.3.3"} ]