riemann-c-client: fix sources location

The algernon repo in github is no longer available, so switching it to one of the mirrors which contains the same archive
This commit is contained in:
fomichevmi 2023-07-17 13:21:37 +02:00
parent 1128a6668a
commit 1dafcf11b3

View file

@ -1,14 +1,15 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, file , protobufc }:
{ lib, stdenv, fetchFromGitea, autoreconfHook, pkg-config, file , protobufc }:
stdenv.mkDerivation rec {
pname = "riemann-c-client";
version = "1.10.5";
src = fetchFromGitHub {
src = fetchFromGitea {
domain = "git.madhouse-project.org";
owner = "algernon";
repo = "riemann-c-client";
rev = "riemann-c-client-${version}";
sha256 = "sha256-LuI9XFDPx0qw/+kkpXd0FOMESERAp31R1+ttkGuJnPA=";
sha256 = "1w4wi5mr0vgbsx8pv9s08i409qqlfivsa979zyq4miyga1f3vqif";
};
nativeBuildInputs = [ autoreconfHook pkg-config ];
@ -19,7 +20,7 @@ stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = "https://github.com/algernon/riemann-c-client";
homepage = "https://git.madhouse-project.org/algernon/riemann-c-client";
description = "A C client library for the Riemann monitoring system";
license = licenses.gpl3;
maintainers = with maintainers; [ pradeepchhetri ];