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-04-01 17:31:42 +02:00
|
|
|
version = "0.4.2";
|
2021-04-19 19:58:53 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "alarsyo";
|
|
|
|
repo = "lohr";
|
|
|
|
rev = "v${version}";
|
2023-04-01 17:31:42 +02:00
|
|
|
hash = "sha256-2pN/Me5fCdE++TzBUswPXzjuUIIB7Uck+Scp361JgE4=";
|
2021-04-19 19:58:53 +02:00
|
|
|
};
|
|
|
|
|
2023-04-01 17:31:42 +02:00
|
|
|
cargoHash = "sha256-YHg4b6rKcnVJSDoWh9/o+p40NBog65Gd2/UwIDXiUe0=";
|
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 ];
|
|
|
|
platforms = platforms.unix;
|
2021-05-13 10:27:19 +02:00
|
|
|
maintainers = with maintainers; [ ambroisie ];
|
2021-04-19 19:58:53 +02:00
|
|
|
};
|
|
|
|
}
|