gitolite: update source

Upstream switched to Codeberg.
https://groups.google.com/g/gitolite/c/l93EXDfX0cg/m/Pp5ZtYImAQAJ
This commit is contained in:
Thomas Gerbet
2025-10-10 14:28:01 +02:00
parent d8c903a0ad
commit a58183af15

View File

@@ -1,7 +1,7 @@
{ {
stdenv, stdenv,
coreutils, coreutils,
fetchFromGitHub, fetchFromGitea,
git, git,
lib, lib,
makeWrapper, makeWrapper,
@@ -10,14 +10,15 @@
nixosTests, nixosTests,
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation (finalAttrs: {
pname = "gitolite"; pname = "gitolite";
version = "3.6.14"; version = "3.6.14";
src = fetchFromGitHub { src = fetchFromGitea {
domain = "codeberg.org";
owner = "sitaramc"; owner = "sitaramc";
repo = "gitolite"; repo = "gitolite";
rev = "v${version}"; tag = "v${finalAttrs.version}";
hash = "sha256-BwpqvjpHzoypV91W/QReAgiNrmpxZ0IE3W/bpCVO1GE="; hash = "sha256-BwpqvjpHzoypV91W/QReAgiNrmpxZ0IE3W/bpCVO1GE=";
}; };
@@ -55,7 +56,7 @@ stdenv.mkDerivation rec {
installPhase = '' installPhase = ''
mkdir -p $out/bin mkdir -p $out/bin
perl ./install -to $out/bin perl ./install -to $out/bin
echo ${version} > $out/bin/VERSION echo ${finalAttrs.version} > $out/bin/VERSION
''; '';
passthru.tests = { passthru.tests = {
@@ -73,4 +74,4 @@ stdenv.mkDerivation rec {
maintainers.tomberek maintainers.tomberek
]; ];
}; };
} })