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,69 @@
{
lib,
stdenv,
fetchFromGitHub,
makeWrapper,
bash,
curl,
dnsutils,
gawk,
jq,
ncurses,
netcat,
}:
stdenv.mkDerivation rec {
pname = "twa";
version = "1.11.0";
src = fetchFromGitHub {
owner = "trailofbits";
repo = "twa";
rev = "v${version}";
hash = "sha256-B+UwH7oCtediLzurjYuLp56IxiKNAqyoW5QkwXX72MA=";
};
dontBuild = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [
bash
curl
dnsutils
gawk
jq
netcat
];
installPhase = ''
runHook preInstall
install -Dm 0755 twa "$out/bin/twa"
install -Dm 0755 tscore "$out/bin/tscore"
install -Dm 0644 twa.1 "$out/share/man/man1/twa.1"
install -Dm 0644 README.md "$out/share/doc/twa/README.md"
wrapProgram "$out/bin/twa" \
--prefix PATH : ${
lib.makeBinPath [
curl
dnsutils
gawk
jq
ncurses
netcat
]
}
runHook postInstall
'';
meta = with lib; {
description = "Tiny web auditor with strong opinions";
homepage = "https://github.com/trailofbits/twa";
license = licenses.mit;
maintainers = with maintainers; [ avaq ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,51 @@
{
lib,
fetchFromGitHub,
buildGoModule,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "tweag-credential-helper";
version = "0.0.8";
src = fetchFromGitHub {
owner = "tweag";
repo = "credential-helper";
tag = "v${finalAttrs.version}";
hash = "sha256-Evsw7l6zeHz3pDRNME8TIpYHnTbjlqY5abndjRLiTas=";
};
vendorHash = "sha256-LVXHCRgRop2wdNU/NG5FFVYf5iiQRSPoRSX7B7r2tuI=";
env.CGO_ENABLED = "0";
ldflags = [
"-s"
"-X main.version=${finalAttrs.version}"
];
subPackages = [
"cmd/credential-helper"
];
postInstall = "mv $out/bin/credential-helper $out/bin/tweag-credential-helper";
passthru.updateScript = nix-update-script { };
# Tests currently expect to run under Bazel
# and are not compatible with the Go test runner due to path differences.
# The issue needs to be resolved upstream.
doCheck = false;
meta = {
description = "Credential helper framework and agent for Bazel and similar tools implementing the credential-helper spec";
homepage = "https://github.com/tweag/credential-helper";
changelog = "https://github.com/tweag/credential-helper/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
mainProgram = "tweag-credential-helper";
maintainers = with lib.maintainers; [
malt3
];
platforms = lib.platforms.unix;
};
})

View File

@@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchurl,
ncurses,
}:
stdenv.mkDerivation rec {
pname = "tweak";
version = "3.02";
src = fetchurl {
url = "https://www.chiark.greenend.org.uk/~sgtatham/tweak/${pname}-${version}.tar.gz";
sha256 = "06js54pr5hwpwyxj77zs5s40n5aqvaw48dkj7rid2d47pyqijk2v";
};
buildInputs = [ ncurses ];
preBuild = "substituteInPlace Makefile --replace '$(DESTDIR)/usr/local' $out";
makeFlags = [
"CC:=$(CC)"
"LINK:=$(CC)"
];
meta = with lib; {
description = "Efficient hex editor";
homepage = "http://www.chiark.greenend.org.uk/~sgtatham/tweak";
license = licenses.mit;
platforms = platforms.unix;
mainProgram = "tweak";
};
}

View File

@@ -0,0 +1,31 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "tweego";
version = "2.1.1";
src = fetchFromGitHub {
owner = "tmedwards";
repo = "tweego";
rev = "v${version}";
hash = "sha256-LE85mSByTz7uFjs0XtrpfD7OARoMPE56FpjFw+FlGYw=";
};
proxyVendor = true;
vendorHash = "sha256-1O27CiCXgrD0RC+3jrVxAiq/RnI2s1FW2/uoBAd1fF8=";
preBuild = ''
go mod tidy
'';
meta = {
description = "Free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go";
homepage = "https://www.motoslave.net/tweego";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ chrispwill ];
mainProgram = "tweego";
};
}

View File

@@ -0,0 +1,32 @@
{
stdenv,
lib,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "tweeny";
version = "3.2.1";
src = fetchFromGitHub {
owner = "mobius3";
repo = "tweeny";
rev = "v${finalAttrs.version}";
sha256 = "sha256-9nFEI4gignIJaBFW9GDuSJJqeWli6YcKs/uYEL89VsE=";
};
nativeBuildInputs = [
cmake
];
doCheck = true;
meta = with lib; {
description = "Modern C++ tweening library";
license = licenses.mit;
homepage = "http://mobius3.github.io/tweeny";
maintainers = [ maintainers.doronbehar ];
platforms = with platforms; darwin ++ linux;
};
})

View File

@@ -0,0 +1,70 @@
{
lib,
stdenv,
fetchurl,
fetchpatch,
pkg-config,
smlnj,
rsync,
}:
stdenv.mkDerivation rec {
pname = "twelf";
version = "1.7.1";
src = fetchurl {
url = "http://twelf.plparty.org/releases/twelf-src-${version}.tar.gz";
sha256 = "0fi1kbs9hrdrm1x4k13angpjasxlyd1gc3ys8ah54i75qbcd9c4i";
};
patches = [
# Fix Emacs old-style backquotes: https://github.com/standardml/twelf/pull/3
(fetchpatch {
url = "https://github.com/standardml/twelf/commit/7b3f3dbb8b8ec8d16d843875fce1e2bd6a50e3ae.patch";
hash = "sha256-cSrgQFRPL+4zRtFXv3rLsAasjLfal0TZpXasEUtUSHc=";
})
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
smlnj
rsync
];
buildPhase = ''
export SMLNJ_HOME=${smlnj}
make smlnj
'';
installPhase = ''
mkdir -p $out/bin
rsync -av bin/{*,.heap} $out/bin/
bin/.mkexec ${smlnj}/bin/sml $out/ twelf-server twelf-server
substituteInPlace emacs/twelf-init.el \
--replace '(concat twelf-root "emacs")' '(concat twelf-root "share/emacs/site-lisp/twelf")'
mkdir -p $out/share/emacs/site-lisp/twelf/
rsync -av emacs/ $out/share/emacs/site-lisp/twelf/
mkdir -p $out/share/twelf/examples
rsync -av examples/ $out/share/twelf/examples/
mkdir -p $out/share/twelf/vim
rsync -av vim/ $out/share/twelf/vim/
'';
meta = {
description = "Logic proof assistant";
longDescription = ''
Twelf is a language used to specify, implement, and prove properties of
deductive systems such as programming languages and logics. Large
research projects using Twelf include the TALT typed assembly language,
a foundational proof-carrying-code system, and a type safety proof for
Standard ML.
'';
homepage = "http://twelf.org/wiki/Main_Page";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jwiegley ];
platforms = lib.platforms.unix;
};
}

View File

@@ -0,0 +1,46 @@
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "twemoji-color-font";
version = "15.1.0";
# We fetch the prebuilt font because building it takes 1.5 hours on hydra.
# Relevant issue: https://github.com/NixOS/nixpkgs/issues/97871
src = fetchurl {
url = "https://github.com/eosrei/twemoji-color-font/releases/download/v${finalAttrs.version}/TwitterColorEmoji-SVGinOT-Linux-${finalAttrs.version}.tar.gz";
sha256 = "sha256-yKUwLuTkwhiM54Xt2ExQxhagf26Z/huRrsuk4ds0EpU=";
};
dontBuild = true;
installPhase = ''
install -Dm755 TwitterColorEmoji-SVGinOT.ttf $out/share/fonts/truetype/TwitterColorEmoji-SVGinOT.ttf
install -Dm644 fontconfig/46-twemoji-color.conf $out/etc/fonts/conf.d/46-twemoji-color.conf
'';
meta = with lib; {
description = "Color emoji SVGinOT font using Twitter Unicode 10 emoji with diversity and country flags";
longDescription = ''
A color and B&W emoji SVGinOT font built from the Twitter Emoji for
Everyone artwork with support for ZWJ, skin tone diversity and country
flags.
The font works in all operating systems, but will currently only show
color emoji in Firefox, Thunderbird, Photoshop CC 2017, and Windows Edge
V38.14393+. This is not a limitation of the font, but of the operating
systems and applications. Regular B&W outline emoji are included for
backwards/fallback compatibility.
'';
homepage = "https://github.com/eosrei/twemoji-color-font";
downloadPage = "https://github.com/eosrei/twemoji-color-font/releases";
license = with licenses; [
cc-by-40
mit
];
maintainers = [ maintainers.fgaz ];
};
})

View File

@@ -0,0 +1,39 @@
{
lib,
fetchFromGitHub,
buildNpmPackage,
nodejs,
}:
buildNpmPackage rec {
pname = "twig-language-server";
version = "0.7.0";
src = fetchFromGitHub {
owner = "kaermorchen";
repo = "twig-language-server";
tag = "v${version}";
hash = "sha256-Jwi1+s2+TC656rXOukjLS4w1Y9VxwEdAe0y5Q3Iz0LA=";
};
npmDepsHash = "sha256-8M0CouDu3rjD3xGx5bheTG9pyN7Qe+O9FeTFZPmr+Mo=";
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,lib}
cp -R node_modules packages $out/lib
makeWrapper ${lib.getExe nodejs} $out/bin/twig-language-server \
--inherit-argv0 \
--prefix NODE_PATH : $out/lib/node_modules \
--add-flags $out/lib/packages/language-server/out/index.js
runHook postInstall
'';
meta = {
description = "Language server for Twig templates";
homepage = "https://github.com/kaermorchen/twig-language-server";
changelog = "https://github.com/kaermorchen/twig-language-server/releases/tag/v${version}";
license = lib.licenses.mpl20;
maintainers = with lib.maintainers; [ genga898 ];
mainProgram = "twig-language-server";
};
}

View File

@@ -0,0 +1,28 @@
{
lib,
fetchCrate,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "twiggy";
version = "0.8.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-FguDuah3MlC0wgz8VnXV5xepIVhTwYmQzijgX0sbdNY=";
};
cargoHash = "sha256-FaoEqCdMb3h93zGvc+EZ8LfYgMPY3dT/fScpRgGVeAo=";
meta = with lib; {
homepage = "https://rustwasm.github.io/twiggy/";
description = "Code size profiler for Wasm";
mainProgram = "twiggy";
license = with licenses; [
asl20
mit
];
maintainers = with maintainers; [ lucperkins ];
};
}

View File

@@ -0,0 +1,44 @@
{
fetchFromGitHub,
lib,
stdenvNoCC,
unstableGitUpdater,
}:
stdenvNoCC.mkDerivation {
pname = "twilight-kde";
version = "0-unstable-2023-03-09";
src = fetchFromGitHub {
owner = "yeyushengfan258";
repo = "Twilight-kde";
rev = "a5fc50a040693a53472d83d2d47e964d2cf2bcd3";
hash = "sha256-b9//jWOD9TPOBPIDl/66j6wsWvo82h6wsee0JoQcBD0=";
};
postPatch = ''
patchShebangs install.sh
substituteInPlace install.sh \
--replace '$HOME/.local' $out \
--replace '$HOME/.config' $out/share
'';
installPhase = ''
runHook preInstall
bash ./install.sh
runHook postInstall
'';
passthru.updateScript = unstableGitUpdater { };
meta = {
description = "Light, clean theme for KDE Plasma desktop";
homepage = "https://github.com/yeyushengfan258/Twilight-kde";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ dretyuiop ];
};
}

View File

@@ -0,0 +1,43 @@
{
lib,
stdenvNoCC,
nodejs-slim,
fetchzip,
testers,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "twilio-cli";
version = "6.2.0";
src = fetchzip {
url = "https://twilio-cli-prod.s3.amazonaws.com/twilio-v${finalAttrs.version}/twilio-v${finalAttrs.version}.tar.gz";
hash = "sha256-XEznvrqQCUiZD8sYRLngNMZL/q1+W8yI2tINu+BsgmI=";
};
buildInputs = [ nodejs-slim ];
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/libexec/twilio-cli
cp -R . $out/libexec/twilio-cli
ln -s $out/libexec/twilio-cli/bin/run $out/bin/twilio
runHook postInstall
'';
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
};
meta = with lib; {
description = "Unleash the power of Twilio from your command prompt";
homepage = "https://github.com/twilio/twilio-cli";
changelog = "https://github.com/twilio/twilio-cli/blob/${finalAttrs.version}/CHANGES.md";
license = licenses.mit;
maintainers = [ ];
platforms = nodejs-slim.meta.platforms;
mainProgram = "twilio";
};
})

View File

@@ -0,0 +1,63 @@
{
autoPatchelfHook,
curl,
dpkg,
dbus,
fetchurl,
lib,
libnl,
udev,
cryptsetup,
stdenv,
nixosTests,
}:
stdenv.mkDerivation rec {
pname = "twingate";
version = "2025.175.154516";
src = fetchurl {
url = "https://binaries.twingate.com/client/linux/DEB/x86_64/${version}/twingate-amd64.deb";
hash = "sha256-WqIG5AUfRxkJ1qzGs6cB/2fe/UUNOZiL5/v9QMXlmK8=";
};
buildInputs = [
dbus
curl
libnl
udev
cryptsetup
];
nativeBuildInputs = [
dpkg
autoPatchelfHook
];
postPatch = ''
while read file; do
substituteInPlace "$file" \
--replace "/usr/bin" "$out/bin" \
--replace "/usr/sbin" "$out/bin"
done < <(find etc usr/lib usr/share -type f)
'';
installPhase = ''
mkdir $out
mv etc $out/
mv usr/bin $out/bin
mv usr/sbin/* $out/bin
mv usr/lib $out/lib
mv usr/share $out/share
'';
passthru.tests = { inherit (nixosTests) twingate; };
meta = with lib; {
description = "Twingate Client";
homepage = "https://twingate.com";
license = licenses.unfree;
maintainers = with maintainers; [ tonyshkurenko ];
platforms = [ "x86_64-linux" ];
};
}

View File

@@ -0,0 +1,13 @@
diff --git a/cmd/root.go b/cmd/root.go
index 3d85c19..cbbe40c 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -16,7 +16,7 @@ import (
var cfgFile string
var rootCmd = &cobra.Command{
- Use: "twitch",
+ Use: "twitch-cli",
Short: "A simple CLI tool for the New Twitch API and Webhook products.",
}

View File

@@ -0,0 +1,65 @@
{
stdenv,
buildGoModule,
fetchFromGitHub,
installShellFiles,
lib,
testers,
twitch-cli,
}:
buildGoModule rec {
pname = "twitch-cli";
version = "1.1.25";
src = fetchFromGitHub {
owner = "twitchdev";
repo = "twitch-cli";
rev = "v${version}";
hash = "sha256-+6/o2vhj1iaT0hkyQRedn7ga1dhNZOupX4lOadnTDU0=";
};
patches = [
./application-name.patch
];
vendorHash = "sha256-LPpUnielSeGE0k68z+M565IqXQUIkAh5xloOqcbfh20=";
ldflags = [
"-s"
"-w"
"-X=main.buildVersion=${version}"
];
preCheck = ''
export HOME=$(mktemp -d)
'';
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
$out/bin/twitch-cli completion bash > twitch-cli.bash
$out/bin/twitch-cli completion fish > twitch-cli.fish
$out/bin/twitch-cli completion zsh > _twitch-cli
installShellCompletion --cmd twitch-cli \
--bash twitch-cli.bash \
--fish twitch-cli.fish \
--zsh _twitch-cli
'';
__darwinAllowLocalNetworking = true;
passthru.tests.version = testers.testVersion {
package = twitch-cli;
command = "HOME=$(mktemp -d) twitch-cli version";
version = "twitch-cli/${version}";
};
meta = with lib; {
description = "Official Twitch CLI to make developing on Twitch easier";
mainProgram = "twitch-cli";
homepage = "https://github.com/twitchdev/twitch-cli";
license = licenses.asl20;
maintainers = with maintainers; [ benediktbroich ];
};
}

View File

@@ -0,0 +1,84 @@
{
lib,
fetchFromGitHub,
python3Packages,
installShellFiles,
scdoc,
ffmpeg,
writableTmpDirAsHomeHook,
}:
python3Packages.buildPythonApplication rec {
pname = "twitch-dl";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "ihabunek";
repo = "twitch-dl";
tag = version;
hash = "sha256-Nn/Nwd1KvrkR+uGp8HmRGeBC7E0/Y1EVMpJAp7UDj7Q=";
};
nativeBuildInputs = [
python3Packages.setuptools
python3Packages.setuptools-scm
installShellFiles
scdoc
];
propagatedBuildInputs = with python3Packages; [
click
httpx
m3u8
];
nativeCheckInputs = [
python3Packages.pytestCheckHook
writableTmpDirAsHomeHook
];
disabledTestPaths = [
# Requires network access
"tests/test_api.py"
"tests/test_cli.py"
];
pythonImportsCheck = [
"twitchdl"
"twitchdl.cli"
"twitchdl.naming"
"twitchdl.entities"
"twitchdl.http"
"twitchdl.output"
"twitchdl.playlists"
"twitchdl.progress"
"twitchdl.twitch"
"twitchdl.utils"
"twitchdl.commands"
];
makeWrapperArgs = [
"--prefix"
"PATH"
":"
(lib.makeBinPath [ ffmpeg ])
];
postInstall = ''
scdoc < twitch-dl.1.scd > twitch-dl.1
installManPage twitch-dl.1
'';
meta = with lib; {
description = "CLI tool for downloading videos from Twitch";
homepage = "https://github.com/ihabunek/twitch-dl";
changelog = "https://github.com/ihabunek/twitch-dl/blob/${src.tag}/CHANGELOG.md";
license = licenses.gpl3Only;
maintainers = with maintainers; [
pbsds
hausken
];
mainProgram = "twitch-dl";
};
}

View File

@@ -0,0 +1,29 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage rec {
pname = "twitch-hls-client";
version = "1.5.0";
src = fetchFromGitHub {
owner = "2bc4";
repo = "twitch-hls-client";
rev = version;
hash = "sha256-B/gOqgn5g3L8Qs7a6vvjdHX4s+5KW2zg2z9mkzsdQqA=";
};
cargoHash = "sha256-5LEMYUwPu6ydmL0mZVgXHKGkjnamvhw9e6II/xEnr04=";
meta = with lib; {
description = "Minimal CLI client for watching/recording Twitch streams";
homepage = "https://github.com/2bc4/twitch-hls-client.git";
license = licenses.gpl3Only;
maintainers = with maintainers; [ lenivaya ];
mainProgram = "twitch-hls-client";
sourceProvenance = with lib.sourceTypes; [ fromSource ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,38 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "twitch-tui";
version = "2.6.19";
src = fetchFromGitHub {
owner = "Xithrius";
repo = "twitch-tui";
tag = "v${finalAttrs.version}";
hash = "sha256-hA66YcxbQem9ymOu3tGA4biKUCoJ2jKnUSK+9+0P2Eg=";
};
cargoHash = "sha256-DMUE3sTJEz2AxUctnjm0CkvOqMeAw5urLPZkkHvf9A8=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
];
meta = {
description = "Twitch chat in the terminal";
homepage = "https://github.com/Xithrius/twitch-tui";
changelog = "https://github.com/Xithrius/twitch-tui/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.lordmzte ];
mainProgram = "twt";
};
})

View File

@@ -0,0 +1,106 @@
# Based upon https://src.fedoraproject.org/rpms/twitter-twemoji-fonts
# The main difference is that we use “Twitter Color Emoji” name (which is recognized by upstream fontconfig)
{
lib,
stdenvNoCC,
fetchFromGitHub,
noto-fonts-color-emoji,
}:
let
version = "15.0.2";
twemojiSrc = fetchFromGitHub {
name = "twemoji";
owner = "jdecked";
repo = "twemoji";
rev = "v${version}";
hash = "sha256-FLOqXDpSFyClBlG5u3IRL0EKeu1mckCfRizJh++IWxo=";
};
in
stdenvNoCC.mkDerivation rec {
pname = "twitter-color-emoji";
inherit version;
srcs = [
noto-fonts-color-emoji.src
twemojiSrc
];
sourceRoot = noto-fonts-color-emoji.src.name;
postUnpack = ''
chmod -R +w ${twemojiSrc.name}
mv ${twemojiSrc.name} ${noto-fonts-color-emoji.src.name}
'';
inherit (noto-fonts-color-emoji) strictDeps depsBuildBuild nativeBuildInputs;
postPatch =
let
templateSubstitutions = lib.concatStringsSep "; " [
"s#Noto Color Emoji#Twitter Color Emoji#"
"s#NotoColorEmoji#TwitterColorEmoji#"
''s#Copyright .* Google Inc\.#Twitter, Inc and other contributors.#''
"s# Version .*# ${version}#"
"s#.*is a trademark.*##"
''s#Google, Inc\.#Twitter, Inc and other contributors#''
"s#http://www.google.com/get/noto/#https://twemoji.twitter.com/#"
"s#.*is licensed under.*# Creative Commons Attribution 4.0 International#"
"s#http://scripts.sil.org/OFL#http://creativecommons.org/licenses/by/4.0/#"
];
in
''
${noto-fonts-color-emoji.postPatch}
sed '${templateSubstitutions}' NotoColorEmoji.tmpl.ttx.tmpl > TwitterColorEmoji.tmpl.ttx.tmpl
pushd ${twemojiSrc.name}/assets/72x72/
for png in *.png; do
mv $png emoji_u''${png//-/_}
done
popd
'';
makeFlags = [
"EMOJI=TwitterColorEmoji"
"EMOJI_SRC_DIR=${twemojiSrc.name}/assets/72x72"
"BODY_DIMENSIONS=76x72"
# twemoji contains some codepoints noto doesn't like
"BYPASS_SEQUENCE_CHECK=True"
];
enableParallelBuilding = true;
installPhase = ''
install -Dm644 TwitterColorEmoji.ttf $out/share/fonts/truetype/TwitterColorEmoji.ttf
'';
meta = with lib; {
description = "Color emoji font with a flat visual style, designed and used by Twitter";
longDescription = ''
A bitmap color emoji font built from Twitter's Twemoji emoji set
with support for ZWJ, skin tone diversity and country flags.
This font uses Googles CBDT format making it work on Android and Linux graphical stack.
'';
homepage = "https://github.com/jdecked/twemoji";
# In noto-emoji-fonts source
## noto-emoji code is in ASL 2.0 license
## Emoji fonts are under OFL license
### third_party color-emoji code is in ASL 2.0 license
### third_party region-flags code is in Public Domain license
# In twemoji source
## Artwork is Creative Commons Attribution 4.0 International
## Non-artwork is MIT
# In Fedora twitter-twemoji-fonts source
## spec files are MIT: https://fedoraproject.org/wiki/Licensing:Main#License_of_Fedora_SPEC_Files
license = with licenses; [
asl20
ofl
cc-by-40
mit
];
maintainers = with maintainers; [ emily ];
};
}

View File

@@ -0,0 +1,34 @@
{
lib,
stdenv,
fetchurl,
unzip,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "bootstrap";
version = "5.3.8";
src = fetchurl {
url = "https://github.com/twbs/bootstrap/releases/download/v${finalAttrs.version}/bootstrap-${finalAttrs.version}-dist.zip";
hash = "sha256-MljIc8vLHi2B9DdK/qLqZDfZ7ukHcEEHP9gd1XnFums=";
};
nativeBuildInputs = [ unzip ];
dontBuild = true;
installPhase = ''
runHook preInstall
mkdir $out
cp -r * $out/
runHook postInstall
'';
meta = {
description = "Front-end framework for faster and easier web development";
homepage = "https://getbootstrap.com/";
license = lib.licenses.mit;
};
})

View File

@@ -0,0 +1,53 @@
{
lib,
fetchFromGitHub,
stdenv,
rustPlatform,
openssl,
pkg-config,
nix-update-script,
installShellFiles,
}:
rustPlatform.buildRustPackage rec {
pname = "twm";
version = "0.12.3";
src = fetchFromGitHub {
owner = "vinnymeller";
repo = "twm";
tag = "v${version}";
hash = "sha256-Hta9IvPViZFEiR+RXRmlPRwIu10D9B5dbXzhflxzBhY=";
};
cargoHash = "sha256-buiU+umHqyZ/3YoW2+5QpmF9AGEuNUihro5PFuWFSH4=";
nativeBuildInputs = [
pkg-config
installShellFiles
];
buildInputs = [
openssl
];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd twm \
--bash <($out/bin/twm --print-bash-completion) \
--zsh <($out/bin/twm --print-zsh-completion) \
--fish <($out/bin/twm --print-fish-completion)
$out/bin/twm --print-man > twm.1
installManPage twm.1
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "Customizable workspace manager for tmux";
homepage = "https://github.com/vinnymeller/twm";
changelog = "https://github.com/vinnymeller/twm/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = [ lib.maintainers.vinnymeller ];
mainProgram = "twm";
};
}

View File

@@ -0,0 +1,43 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
libsndfile,
}:
stdenv.mkDerivation {
pname = "twolame";
version = "2017-09-27";
src = fetchFromGitHub {
owner = "njh";
repo = "twolame";
rev = "977c8ac55d8ca6d5f35d1d413a119dac2b3b0333";
sha256 = "1rq3yc8ygzdqid9zk6pixmm4w9sk2vrlx217lhn5bjaglv7iyf7x";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [ libsndfile ];
doCheck = false; # fails with "../build-scripts/test-driver: line 107: -Mstrict: command not found"
meta = with lib; {
description = "MP2 encoder";
mainProgram = "twolame";
longDescription = ''
TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
tooLAME by Mike Cheng, which in turn is based upon the ISO dist10
code and portions of LAME.
'';
homepage = "https://www.twolame.org/";
license = with licenses; [ lgpl2Plus ];
platforms = with platforms; unix;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,28 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "twspace-crawler";
version = "1.12.9";
src = fetchFromGitHub {
owner = "HitomaruKonpaku";
repo = "twspace-crawler";
rev = "7875e534b257d4ba5a0cf8179a4772c87005fee6"; # version not tagged
hash = "sha256-pA31ak0Rwy4Rc1fVz+4QV1lcTYGUmPOd61FtLQGN1ek=";
};
npmDepsHash = "sha256-2fsYeSZYzadLmikUJbuHE4XMAp38jTZvtRo9xgaZVzg=";
meta = with lib; {
description = "Script to monitor & download Twitter Spaces 24/7";
homepage = "https://github.com/HitomaruKonpaku/twspace-crawler";
changelog = "https://github.com/HitomaruKonpaku/twspace-crawler/blob/${src.rev}/CHANGELOG.md";
license = licenses.isc;
maintainers = [ ];
mainProgram = "twspace-crawler";
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
python3Packages,
fetchPypi,
ffmpeg-headless,
}:
python3Packages.buildPythonApplication rec {
pname = "twspace-dl";
version = "2024.7.2.1";
format = "pyproject";
src = fetchPypi {
inherit version;
pname = "twspace_dl";
hash = "sha256-GLs+UGEOsdGcp/mEh+12Vs+XlY1goEql7UOAvVVi1pg=";
};
nativeBuildInputs = with python3Packages; [ poetry-core ];
propagatedBuildInputs = with python3Packages; [
mutagen
requests
];
makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ ffmpeg-headless ]}" ];
pythonImportsCheck = [ "twspace_dl" ];
meta = {
description = "Python module to download twitter spaces";
homepage = "https://github.com/HoloArchivists/twspace-dl";
changelog = "https://github.com/HoloArchivists/twspace-dl/releases/tag/${version}";
license = lib.licenses.gpl2Only;
maintainers = [ ];
mainProgram = "twspace_dl";
};
}

View File

@@ -0,0 +1,46 @@
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "twtxt";
version = "1.3.1";
pyproject = true;
src = fetchFromGitHub {
owner = "buckket";
repo = "twtxt";
tag = "v${version}";
sha256 = "sha256-CbFh1o2Ijinfb8X+h1GP3Tp+8D0D3/Czt/Uatd1B4cw=";
};
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
aiohttp
click
humanize
python-dateutil
setuptools
];
nativeCheckInputs = with python3.pkgs; [ pytestCheckHook ];
pythonImportsCheck = [ "twtxt" ];
disabledTests = [
# Disable test using relative date and time
"test_tweet_relative_datetime"
];
meta = {
description = "Decentralised, minimalist microblogging service for hackers";
homepage = "https://github.com/buckket/twtxt";
changelog = "https://github.com/buckket/twtxt/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ siraben ];
mainProgram = "twtxt";
};
}

View File

@@ -0,0 +1,3 @@
source "https://rubygems.org"
gem 'twurl'

View File

@@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
oauth (0.5.6)
twurl (0.9.6)
oauth (~> 0.4)
PLATFORMS
ruby
DEPENDENCIES
twurl
BUNDLED WITH
2.1.4

View File

@@ -0,0 +1,23 @@
{
oauth = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1zwd6v39yqfdrpg1p3d9jvzs9ljg55ana2p06m0l7qn5w0lgx1a0";
type = "gem";
};
version = "0.5.6";
};
twurl = {
dependencies = [ "oauth" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1jgsxa0cnkajnsxxlsrgl2wq3m7khaxvr0rcir4vwbc1hx210700";
type = "gem";
};
version = "0.9.6";
};
}

View File

@@ -0,0 +1,22 @@
{
lib,
bundlerApp,
bundlerUpdateScript,
}:
bundlerApp {
pname = "twurl";
gemdir = ./.;
exes = [ "twurl" ];
passthru.updateScript = bundlerUpdateScript "twurl";
meta = with lib; {
description = "OAuth-enabled curl for the Twitter API";
homepage = "https://github.com/twitter/twurl";
license = lib.licenses.mit;
maintainers = with maintainers; [ brecht ];
platforms = platforms.unix;
mainProgram = "twurl";
};
}