loco-cli: 0.2.6 -> 0.2.9 (#346745)

This commit is contained in:
h7x4
2024-10-06 23:55:27 +02:00
committed by GitHub
2 changed files with 16 additions and 1624 deletions
-1606
View File
File diff suppressed because it is too large Load Diff
+16 -18
View File
@@ -1,30 +1,28 @@
{ lib, rustPlatform, fetchFromGitHub }:
{
lib,
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
pname = "loco-cli";
version = "0.2.6";
version = "0.2.9";
src = fetchFromGitHub {
owner = "loco-rs";
repo = "loco";
rev = "51e0362";
hash = "sha256-ZiAl+Ru2ggLy7RRqQySwKRbWtGesR7ZgREIpHKrJ00Q=";
sparseCheckout = [ "loco-cli" ];
src = fetchCrate {
inherit pname version;
hash = "sha256-AhL+k5XEf8m1pyOECTlPwALUG/ELJeACfV2kulxlzaA=";
};
cargoLock.lockFile = ./Cargo.lock;
cargoHash = "sha256-BtunTti1cPbG1Qiv39tLdbXHM413UzsCckyqL5CJEUA=";
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
#Skip trycmd integration tests
checkFlags = [ "--skip=cli_tests" ];
sourceRoot = "${src.name}/loco-cli";
meta = with lib; {
mainProgram = "loco";
meta = {
description = "Loco CLI is a powerful command-line tool designed to streamline the process of generating Loco websites";
homepage = "https://loco.rs";
changelog = "https://github.com/loco-rs/loco/blob/master/CHANGELOG.md";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ sebrut ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ sebrut ];
mainProgram = "loco";
};
}