uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
44
pkgs/development/web/lucky-cli/default.nix
Normal file
44
pkgs/development/web/lucky-cli/default.nix
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{ lib, fetchFromGitHub, crystal, makeWrapper, openssl }:
|
||||
|
||||
crystal.buildCrystalPackage rec {
|
||||
pname = "lucky-cli";
|
||||
version = "0.29.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "luckyframework";
|
||||
repo = "lucky_cli";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-OmvKd35jR003qQnA/NBI4MjGRw044bYUYa59RKbz+lI=";
|
||||
};
|
||||
|
||||
# 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 = "A 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 "0.35.1";
|
||||
};
|
||||
}
|
||||
14
pkgs/development/web/lucky-cli/shard.lock
Normal file
14
pkgs/development/web/lucky-cli/shard.lock
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
version: 2.0
|
||||
shards:
|
||||
ameba:
|
||||
git: https://github.com/crystal-ameba/ameba.git
|
||||
version: 0.14.3
|
||||
|
||||
lucky_task:
|
||||
git: https://github.com/luckyframework/lucky_task.git
|
||||
version: 0.1.1
|
||||
|
||||
teeplate:
|
||||
git: https://github.com/luckyframework/teeplate.git
|
||||
version: 0.8.5
|
||||
|
||||
20
pkgs/development/web/lucky-cli/shards.nix
Normal file
20
pkgs/development/web/lucky-cli/shards.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
ameba = {
|
||||
owner = "crystal-ameba";
|
||||
repo = "ameba";
|
||||
rev = "v0.14.3";
|
||||
sha256 = "1cfr95xi6hsyxw1wlrh571hc775xhwmssk3k14i8b7dgbwfmm5x1";
|
||||
};
|
||||
lucky_task = {
|
||||
owner = "luckyframework";
|
||||
repo = "lucky_task";
|
||||
rev = "v0.1.1";
|
||||
sha256 = "0w0rnf22pvj3lp5z8c4sshzwhqgwpbjpm7nry9mf0iz3fa0v48f7";
|
||||
};
|
||||
teeplate = {
|
||||
owner = "luckyframework";
|
||||
repo = "teeplate";
|
||||
rev = "v0.8.5";
|
||||
sha256 = "1kr05qrp674rph1324wry57gzvgvcvlz0w27brlvdgd3gi4s8sdj";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue