Skip to content

Commit 4a29096

Browse files
authored
Merge pull request #252997 from zeuner/g2fx-inria-gitlab-move
gf2x: switch to inria gitlab as predicted before
2 parents 1d2c473 + bed8239 commit 4a29096

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pkgs/development/libraries/gf2x/default.nix

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{ stdenv
22
, lib
3-
, fetchgit
3+
, fetchFromGitLab
44
, autoreconfHook
55
, buildPackages
66
, optimize ? false # impure hardware optimizations
@@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
99
pname = "gf2x";
1010
version = "1.3.0";
1111

12-
# upstream has plans to move to gitlab:
13-
# https://github.com/NixOS/nixpkgs/pull/45299#issuecomment-564477936
14-
src = fetchgit {
15-
url = "https://scm.gforge.inria.fr/anonscm/git/gf2x/gf2x.git";
16-
rev = "gf2x-${version}";
12+
src = fetchFromGitLab {
13+
domain = "gitlab.inria.fr";
14+
owner = "gf2x";
15+
repo = pname;
16+
rev = "${pname}-${version}";
1717
sha256 = "04g5jg0i4vz46b4w2dvbmahwzi3k6b8g515mfw7im1inc78s14id";
1818
};
1919

0 commit comments

Comments
 (0)