push sheeet
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

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
{
lib,
fetchFromGitHub,
crystal,
makeWrapper,
openssl,
}:
crystal.buildCrystalPackage rec {
pname = "lucky-cli";
version = "1.1.0";
src = fetchFromGitHub {
owner = "luckyframework";
repo = "lucky_cli";
rev = "v${version}";
hash = "sha256-mDUx9cQoYpU9kSAls36kzNVYZ8a4aqHEMIWfzS41NBk=";
};
# the integration tests will try to clone a remote repos
postPatch = ''
rm -rf spec/integration
'';
format = "crystal";
lockFile = ./shard.lock;
shardsFile = ./shards.nix;
crystalBinaries.lucky.src = "src/lucky.cr";
buildInputs = [ openssl ];
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/lucky \
--prefix PATH : ${lib.makeBinPath [ crystal ]}
'';
meta = with lib; {
description = "Crystal library for creating and running tasks. Also generates Lucky projects";
homepage = "https://luckyframework.org/";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
mainProgram = "lucky";
platforms = platforms.unix;
broken = lib.versionOlder crystal.version "1.6.0";
};
}

View File

@@ -0,0 +1,18 @@
version: 2.0
shards:
ameba:
git: https://github.com/crystal-ameba/ameba.git
version: 1.5.0
lucky_task:
git: https://github.com/luckyframework/lucky_task.git
version: 0.3.0
lucky_template:
git: https://github.com/luckyframework/lucky_template.git
version: 0.2.0
nox:
git: https://github.com/crystal-loot/nox.git
version: 0.2.2

View File

@@ -0,0 +1,22 @@
{
ameba = {
url = "https://github.com/crystal-ameba/ameba.git";
rev = "v1.5.0";
sha256 = "1idivsbpmi40aqvs82fsv37nrgikirprxrj3ls9chsb876fq9p2d";
};
lucky_task = {
url = "https://github.com/luckyframework/lucky_task.git";
rev = "v0.3.0";
sha256 = "0lp2wv01wdcfr3h43n3dqgaymvypy0i6kbffb4mg4l30lijgpfb6";
};
lucky_template = {
url = "https://github.com/luckyframework/lucky_template.git";
rev = "v0.2.0";
sha256 = "1xix82d0xanq4xkcv83hm56nj5f2rsbrqhk70j5zr37d3kydfypl";
};
nox = {
url = "https://github.com/crystal-loot/nox.git";
rev = "v0.2.2";
sha256 = "1dfq0aknrxwp9wc0glri4w5j8pfbc6b1xrsxkahci109p6dhcna5";
};
}