Merge pull request #301911 from SebRut/add-loco-cli

Add loco-cli
This commit is contained in:
Weijia Wang 2024-04-07 19:22:26 +02:00 committed by GitHub
commit 3039e4d2cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 1646 additions and 0 deletions

View File

@ -17829,6 +17829,17 @@
fingerprint = "0AF6 4C3B 1F12 14B3 8C8C 5786 1FA2 DBE6 7438 7CC3";
}];
};
sebrut = {
email = "kontakt@sebastian-rutofski.de";
github = "sebrut";
githubId = 3962409;
name = "Sebastian Rutofski";
keys = [
{
fingerprint = "F1D4 8061 2830 3AF6 42DC 3867 C37F 3374 2A95 C547";
}
];
};
sebtm = {
email = "mail@sebastian-sellmeier.de";
github = "SebTM";

1606
pkgs/by-name/lo/loco-cli/Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,29 @@
{ lib, rustPlatform, fetchFromGitHub, stdenv }:
rustPlatform.buildRustPackage {
pname = "loco-cli";
version = "0.2.6";
src = fetchFromGitHub {
owner = "loco-rs";
repo = "loco";
rev = "51e0362";
hash = "sha256-ZiAl+Ru2ggLy7RRqQySwKRbWtGesR7ZgREIpHKrJ00Q=";
sparseCheckout = [ "loco-cli" ];
};
cargoLock.lockFile = ./Cargo.lock;
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
sourceRoot = "source/loco-cli";
meta = with lib; {
mainProgram = "loco";
description = "Loco CLI is a powerful command-line tool designed to streamline the process of generating Loco websites.";
homepage = "https://loco.rs";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ sebrut ];
};
}