loco-cli: 0.2.6 -> 0.2.9

This commit is contained in:
nartsisss
2024-10-06 13:26:20 +03:00
parent ed3a6c9bec
commit 2fe851739f
2 changed files with 12 additions and 1620 deletions
-1606
View File
File diff suppressed because it is too large Load Diff
+12 -14
View File
@@ -1,23 +1,21 @@
{ 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
'';
sourceRoot = "${src.name}/loco-cli";
#Skip trycmd integration tests
checkFlags = [ "--skip=cli_tests" ];
meta = with lib; {
mainProgram = "loco";