2021-06-16 20:08:44 +02:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
2021-04-19 19:58:53 +02:00
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lohr";
|
2023-12-14 13:06:25 +01:00
|
|
|
version = "0.4.5";
|
2021-04-19 19:58:53 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alarsyo";
|
|
|
|
repo = "lohr";
|
|
|
|
rev = "v${version}";
|
2023-12-14 13:06:25 +01:00
|
|
|
hash = "sha256-p6E/r+OxFTpxDpOKSlacOxvRLfHSKg1mHNAfTytfqDY=";
|
2021-04-19 19:58:53 +02:00
|
|
|
};
|
|
|
|
|
2023-12-14 13:06:25 +01:00
|
|
|
cargoHash = "sha256-hext0S0o9D9pN9epzXtD5dwAYMPCLpBBOBT4FX0mTMk=";
|
2021-04-19 19:58:53 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Git mirroring daemon";
|
|
|
|
homepage = "https://github.com/alarsyo/lohr";
|
|
|
|
license = with licenses; [ mit asl20 ];
|
2023-08-04 11:54:23 +02:00
|
|
|
mainProgram = "lohr";
|
2021-05-13 10:27:19 +02:00
|
|
|
maintainers = with maintainers; [ ambroisie ];
|
2023-08-04 11:54:10 +02:00
|
|
|
platforms = platforms.unix;
|
2021-04-19 19:58:53 +02:00
|
|
|
};
|
|
|
|
}
|