Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
testers,
|
|
kickstart,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "kickstart";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Keats";
|
|
repo = "kickstart";
|
|
rev = "v${version}";
|
|
hash = "sha256-4POxv6fIrp+wKb9V+6Y2YPx3FXp3hpnkq+62H9TwGII=";
|
|
};
|
|
|
|
cargoHash = "sha256-J9sGXJbGbO9UgZfgqxqzbiJz9j6WMpq3qC2ys7OJnII=";
|
|
|
|
buildFeatures = [ "cli" ];
|
|
|
|
checkFlags = [
|
|
# remote access
|
|
"--skip=generation::tests::can_generate_from_remote_repo_with_subdir"
|
|
"--skip=generation::tests::can_generate_from_remote_repo"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = nix-update-script { };
|
|
tests.version = testers.testVersion {
|
|
package = kickstart;
|
|
};
|
|
};
|
|
|
|
meta = {
|
|
description = "Scaffolding tool to get new projects up and running quickly";
|
|
homepage = "https://github.com/Keats/kickstart";
|
|
changelog = "https://github.com/Keats/kickstart/releases/tag/v${version}";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ gaelreyrol ];
|
|
mainProgram = "kickstart";
|
|
};
|
|
}
|