nixpkgs/pkgs/by-name/lo/loco/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
861 B
Nix
Raw Normal View History

2024-10-06 01:08:36 +03:00
{
lib,
rustPlatform,
fetchCrate,
2025-04-01 10:58:20 -07:00
nix-update-script,
2024-10-06 01:08:36 +03:00
}:
2024-08-02 14:53:11 +02:00
rustPlatform.buildRustPackage rec {
2025-02-24 11:41:25 -08:00
pname = "loco";
2025-04-01 10:58:20 -07:00
version = "0.15.0";
2024-04-05 21:27:39 +02:00
2024-10-06 01:08:36 +03:00
src = fetchCrate {
inherit pname version;
2025-04-01 10:58:20 -07:00
hash = "sha256-sTPFDdiYmw+ODAcuBh4XXpSXVZbbYxfjr+WiTGit18E=";
2024-04-05 21:27:39 +02:00
};
useFetchCargoVendor = true;
2025-04-01 10:58:20 -07:00
cargoHash = "sha256-EsNFdk7bLRzyfncDRxqS0CQGdtPFdRRSlpTTxbQ8csI=";
2024-04-05 21:27:39 +02:00
2024-10-06 01:08:36 +03:00
#Skip trycmd integration tests
checkFlags = [ "--skip=cli_tests" ];
2024-04-05 21:27:39 +02:00
2025-04-01 10:58:20 -07:00
passthru = {
updateScript = nix-update-script { };
};
2024-10-06 01:09:05 +03:00
meta = {
2024-04-05 21:27:39 +02:00
description = "Loco CLI is a powerful command-line tool designed to streamline the process of generating Loco websites";
homepage = "https://loco.rs";
2024-06-16 22:48:03 +02:00
changelog = "https://github.com/loco-rs/loco/blob/master/CHANGELOG.md";
2024-10-06 01:09:05 +03:00
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ sebrut ];
mainProgram = "loco";
2024-04-05 21:27:39 +02:00
};
}