loco-cli: init at 0.2.6

This commit is contained in:
Sebastian Rutofski 2024-04-05 21:27:39 +02:00
parent e89c0b6255
commit 52d3267290
No known key found for this signature in database
GPG Key ID: C37F33742A95C547
2 changed files with 1635 additions and 0 deletions

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 ];
};
}