pkgs: extract lohr from 'services/lohr'

This commit is contained in:
Bruno BELANYI 2021-04-19 17:58:53 +00:00
parent b06f265291
commit e6d46b3c59
3 changed files with 24 additions and 5 deletions

21
pkgs/lohr/default.nix Normal file
View file

@ -0,0 +1,21 @@
{ fetchFromGitHub, lib, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "lohr";
version = "0.4.0";
src = fetchFromGitHub {
owner = "alarsyo";
repo = "lohr";
rev = "v${version}";
sha256 = "sha256-MplTVJG+SoeLMXQP+ix/zM3OSHuQmZnunn900YnyCBw=";
};
cargoSha256 = "sha256-iuMJj8tqetlmdfsrfudnU1afwUzjls/UdYLq1u0gr+g=";
meta = with lib; {
description = "Git mirroring daemon";
homepage = "https://github.com/alarsyo/lohr";
license = with licenses; [ mit asl20 ];
platforms = platforms.unix;
};
}