Merge pull request #252997 from zeuner/g2fx-inria-gitlab-move

gf2x: switch to inria gitlab as predicted before
This commit is contained in:
7c6f434c 2023-09-03 12:24:45 +00:00 committed by GitHub
commit 4a29096075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
{ stdenv
, lib
, fetchgit
, fetchFromGitLab
, autoreconfHook
, buildPackages
, optimize ? false # impure hardware optimizations
@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
pname = "gf2x";
version = "1.3.0";
# upstream has plans to move to gitlab:
# https://github.com/NixOS/nixpkgs/pull/45299#issuecomment-564477936
src = fetchgit {
url = "https://scm.gforge.inria.fr/anonscm/git/gf2x/gf2x.git";
rev = "gf2x-${version}";
src = fetchFromGitLab {
domain = "gitlab.inria.fr";
owner = "gf2x";
repo = pname;
rev = "${pname}-${version}";
sha256 = "04g5jg0i4vz46b4w2dvbmahwzi3k6b8g515mfw7im1inc78s14id";
};