1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 19:51:17 +00:00

Merge pull request #303424 from otavio/git-repo

git-repo: 2.39 -> 2.45
This commit is contained in:
superherointj 2024-04-11 17:40:31 -03:00 committed by GitHub
commit b775ef296b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 3 deletions

View file

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "git-repo";
version = "2.39";
version = "2.45";
src = fetchFromGitHub {
owner = "android";
repo = "tools_repo";
rev = "v${version}";
hash = "sha256-Qw0x/YiXMDrlTy6boembfqVRvEYiMWOALJtaMrr7/WI=";
hash = "sha256-f765TcOHL8wdPa9qSmGegofjCXx1tF/K5bRQnYQcYVc=";
};
# Fix 'NameError: name 'ssl' is not defined'

View file

@ -18,11 +18,13 @@ diff --git a/repo b/repo
index 8b05def..f394b3e 100755
--- a/repo
+++ b/repo
@@ -236,6 +236,7 @@ import optparse
@@ -236,8 +236,9 @@ import optparse
import re
import shutil
import stat
+import ssl
import urllib.error
import urllib.request
if sys.version_info[0] == 3:
import urllib.request