gf2x: switch fetchFromGitLab

This commit is contained in:
Isidor Zeuner 2023-09-03 12:47:19 +02:00
parent f51b59e2dd
commit bed8239fd4

View file

@ -1,6 +1,6 @@
{ stdenv
, lib
, fetchgit
, fetchFromGitLab
, autoreconfHook
, buildPackages
, optimize ? false # impure hardware optimizations
@ -9,9 +9,11 @@ stdenv.mkDerivation rec {
pname = "gf2x";
version = "1.3.0";
src = fetchgit {
url = "https://gitlab.inria.fr/gf2x/gf2x";
rev = "gf2x-${version}";
src = fetchFromGitLab {
domain = "gitlab.inria.fr";
owner = "gf2x";
repo = pname;
rev = "${pname}-${version}";
sha256 = "04g5jg0i4vz46b4w2dvbmahwzi3k6b8g515mfw7im1inc78s14id";
};