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

57
pkgs/by-name/te/textadept/deps.nix generated Normal file
View File

@@ -0,0 +1,57 @@
{
# scintilla
"scintilla557.tgz" = {
url = "https://www.scintilla.org/scintilla557.tgz";
sha256 = "sha256-s34aI5/4x3zr1y22ziUmSzXL7Lv/rWD5zn6Dj1GVoh4=";
};
# scinterm
"scinterm_5.5.zip" = {
url = "https://github.com/orbitalquark/scinterm/archive/scinterm_5.5.zip";
sha256 = "sha256-G/CEzNVkwJl8CIFmSjtVEOX1bDqnnnO9hJR3VjLQf3k=";
};
# scintillua
"scintillua_6.5.zip" = {
url = "https://github.com/orbitalquark/scintillua/archive/scintillua_6.5.zip";
sha256 = "sha256-mXE4wcEenEf7vgUNyPBPzwu5vSiupbDub656+jlLP68=";
};
# lua
"lua-5.4.8.tar.gz" = {
url = "http://www.lua.org/ftp/lua-5.4.8.tar.gz";
sha256 = "sha256-TxjdrhVOeT5G7qtyfFnvHAwMK3ROe5QhlxDXb1MGKa4=";
};
# lpeg
"lpeg-1.1.0.tar.gz" = {
url = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz";
sha256 = "sha256-SxVdZ9IkbB/6ete8RmweqJm7xA/vAlfMnAPOy67UNSo=";
};
# lfs
"v1_8_0.zip" = {
url = "https://github.com/keplerproject/luafilesystem/archive/v1_8_0.zip";
sha256 = "sha256-46a+ynqKkFIu7THbbM3F7WWkM4JlAMaGJ4TidnG54Yo=";
};
# regex
"1.0.zip" = {
url = "https://github.com/orbitalquark/lua-std-regex/archive/1.0.zip";
sha256 = "sha256-W2hKHOfqYyo3qk+YvPJlzZfZ1wxZmMVphSlcaql+dOE=";
};
# cdk
"t20240619.tar.gz" = {
url = "https://github.com/ThomasDickey/cdk-snapshots/archive/refs/tags/t20240619.tar.gz";
sha256 = "sha256-aaLJbOI7MTeSnswBHGewMFVMxTKrAKARy7zPAdrKphE=";
};
# termkey
"libtermkey-0.22.tar.gz" = {
url = "http://www.leonerd.org.uk/code/libtermkey/libtermkey-0.22.tar.gz";
sha256 = "sha256-aUW9PEqqg9qD2AoEXFVj2k7dfQN0xiwNNa7AnrMBRgA=";
};
# reproc
"v14.2.5.zip" = {
url = "https://github.com/DaanDeMeyer/reproc/archive/refs/tags/v14.2.5.zip";
sha256 = "sha256-IbFow4rbIvS0g5HYGT28OSfx8uZ4wgWNaUSim2Ssxsk=";
};
# singleapp
"v3.4.0.zip" = {
url = "https://github.com/itay-grudev/SingleApplication/archive/refs/tags/v3.4.0.zip";
sha256 = "sha256-FwyzM+R9ALpGH9u2RXab4Sqi4Q+p3Qs+8EdfhjPGcXY=";
};
}

View File

@@ -0,0 +1,58 @@
{
lib,
stdenv,
fetchFromGitHub,
fetchurl,
cmake,
withQt ? true,
libsForQt5,
withCurses ? false,
ncurses,
}:
stdenv.mkDerivation (finalAttrs: {
version = "12.8";
pname = "textadept";
src = fetchFromGitHub {
owner = "orbitalquark";
repo = "textadept";
tag = "textadept_${finalAttrs.version}";
hash = "sha256-ba5YSZaWGGEFFAbHNNXv2/a4dWrG/o5mTySCmlPauWs=";
};
nativeBuildInputs = [ cmake ] ++ lib.optionals withQt [ libsForQt5.wrapQtAppsHook ];
buildInputs = lib.optionals withQt [ libsForQt5.qtbase ] ++ lib.optionals withCurses ncurses;
cmakeFlags =
lib.optional withQt [ "-DQT=ON" ]
++ lib.optional withCurses [
"-DCURSES=ON"
"-DQT=OFF"
];
preConfigure = ''
mkdir -p $PWD/build/_deps
''
+ lib.concatStringsSep "\n" (
lib.mapAttrsToList (
name: params: "ln -s ${fetchurl params} $PWD/build/_deps/${name}"
) (import ./deps.nix)
);
meta = {
description = "Extensible text editor based on Scintilla with Lua scripting";
homepage = "http://foicica.com/textadept";
downloadPage = "https://github.com/orbitalquark/textadept";
changelog = "https://github.com/orbitalquark/textadept/releases/tag/textadept_${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
raskin
mirrexagon
arcuru
];
platforms = lib.platforms.linux;
mainProgram = "textadept";
};
})