evtest: source from gitlab instead of anongit (#475261)

This commit is contained in:
Bjørn Forsman
2025-12-30 13:11:08 +00:00
committed by GitHub
+6 -4
View File
@@ -1,7 +1,7 @@
{
lib,
stdenv,
fetchgit,
fetchFromGitLab,
autoreconfHook,
pkg-config,
libxml2,
@@ -17,9 +17,11 @@ stdenv.mkDerivation rec {
];
buildInputs = [ libxml2 ];
src = fetchgit {
url = "git://anongit.freedesktop.org/${pname}";
rev = "refs/tags/${pname}-${version}";
src = fetchFromGitLab {
domain = "gitlab.freedesktop.org";
owner = "libevdev";
repo = "evtest";
tag = "evtest-${version}";
sha256 = "sha256-M7AGcHklErfRIOu64+OU397OFuqkAn4dqZxx7sDfklc=";
};