ungoogled-chromium: update repo links to ungoogled-software organisation

The main repository has moved from the Eloston user to the
ungoogled-software organisation.
This commit is contained in:
networkException 2023-04-07 09:41:31 +02:00
parent 7b9110eba4
commit ab757c51f5
No known key found for this signature in database
GPG Key ID: E3877443AE684391
3 changed files with 5 additions and 5 deletions

View File

@ -82,7 +82,7 @@ mkChromiumDerivation (base: rec {
of source code for Google Chrome (which has some additional features).
'';
homepage = if ungoogled
then "https://github.com/Eloston/ungoogled-chromium"
then "https://github.com/ungoogled-software/ungoogled-chromium"
else "https://www.chromium.org/";
maintainers = with lib.maintainers; if ungoogled
then [ squalus primeos michaeladler ]

View File

@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
version = rev;
src = fetchFromGitHub {
owner = "Eloston";
owner = "ungoogled-software";
repo = "ungoogled-chromium";
inherit rev sha256;
};

View File

@ -92,7 +92,7 @@ def get_channel_dependencies(version):
def get_latest_ungoogled_chromium_tag():
"""Returns the latest ungoogled-chromium tag using the GitHub API."""
api_tag_url = 'https://api.github.com/repos/Eloston/ungoogled-chromium/tags?per_page=1'
api_tag_url = 'https://api.github.com/repos/ungoogled-software/ungoogled-chromium/tags'
with urlopen(api_tag_url) as http_response:
tag_data = json.load(http_response)
return tag_data[0]['name']
@ -111,7 +111,7 @@ def get_latest_ungoogled_chromium_build():
def get_ungoogled_chromium_gn_flags(revision):
"""Returns ungoogled-chromium's GN build flags for the given revision."""
gn_flags_url = f'https://raw.githubusercontent.com/Eloston/ungoogled-chromium/{revision}/flags.gn'
gn_flags_url = f'https://raw.githubusercontent.com/ungoogled-software/ungoogled-chromium/{revision}/flags.gn'
return urlopen(gn_flags_url).read().decode()
@ -209,7 +209,7 @@ with urlopen(RELEASES_URL) as resp:
if channel_name == 'stable':
channel['chromedriver'] = get_matching_chromedriver(channel['version'])
elif channel_name == 'ungoogled-chromium':
ungoogled_repo_url = 'https://github.com/Eloston/ungoogled-chromium.git'
ungoogled_repo_url = 'https://github.com/ungoogled-software/ungoogled-chromium.git'
channel['deps']['ungoogled-patches'] = {
'rev': release['ungoogled_tag'],
'sha256': nix_prefetch_git(ungoogled_repo_url, release['ungoogled_tag'])['sha256']