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,53 @@
{
stdenv,
lib,
fetchFromGitHub,
nodejs,
pnpm_8,
}:
stdenv.mkDerivation rec {
pname = "it-tools";
version = "2024.10.22-7ca5933";
src = fetchFromGitHub {
owner = "CorentinTh";
repo = "it-tools";
rev = "v${version}";
hash = "sha256-SQAZv+9tINRH10lewcuv8G2qwfulLOP8sGjX47LxeUk=";
};
nativeBuildInputs = [
nodejs
pnpm_8.configHook
];
pnpmDeps = pnpm_8.fetchDeps {
inherit pname version src;
fetcherVersion = 1;
hash = "sha256-m1eXBE5rakcq8NGnPC9clAAvNJQrN5RuSQ94zfgGZxw=";
};
buildPhase = ''
runHook preBuild
pnpm build
runHook postBuild
'';
installPhase = ''
runHook preInstall
mkdir -p $out/lib
cp -R ./dist/* $out/lib/
runHook postInstall
'';
meta = {
description = "Self-hostable website containing handy tools for developers, with great UX";
homepage = "https://it-tools.tech/";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ akotro ];
};
}

View File

@@ -0,0 +1,9 @@
source 'https://rubygems.org'
gem 'itamae'
# docker backend:
gem 'docker-api'
# ed25519 ssh key support:
gem 'bcrypt_pbkdf'
gem 'ed25519'

View File

@@ -0,0 +1,46 @@
GEM
remote: https://rubygems.org/
specs:
ansi (1.5.0)
base64 (0.2.0)
bcrypt_pbkdf (1.1.1)
docker-api (2.4.0)
excon (>= 0.64.0)
multi_json
ed25519 (1.4.0)
excon (1.2.5)
logger
hashie (5.0.0)
itamae (1.14.1)
ansi
hashie
schash (~> 0.1.0)
specinfra (>= 2.64.0, < 3.0.0)
thor (>= 1.0.0)
logger (1.7.0)
multi_json (1.15.0)
net-scp (4.1.0)
net-ssh (>= 2.6.5, < 8.0.0)
net-ssh (7.3.0)
net-telnet (0.2.0)
schash (0.1.2)
sfl (2.3)
specinfra (2.94.0)
base64
net-scp
net-ssh (>= 2.7)
net-telnet
sfl
thor (1.3.2)
PLATFORMS
ruby
DEPENDENCIES
bcrypt_pbkdf
docker-api
ed25519
itamae
BUNDLED WITH
2.6.6

View File

@@ -0,0 +1,192 @@
{
ansi = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "14ims9zfal4gs2wpx2m5rd8zsrl2k794d359shkrsgg3fhr2a22l";
type = "gem";
};
version = "1.5.0";
};
base64 = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "01qml0yilb9basf7is2614skjp8384h2pycfx86cr8023arfj98g";
type = "gem";
};
version = "0.2.0";
};
bcrypt_pbkdf = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "04rb3rp9bdxn1y3qiflfpj7ccwb8ghrfbydh5vfz1l9px3fpg41g";
type = "gem";
};
version = "1.1.1";
};
docker-api = {
dependencies = [
"excon"
"multi_json"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1rk3vpc7v8jrz432l24bgszwnjj1nsaygj79kcc1i1ycyhsffjw2";
type = "gem";
};
version = "2.4.0";
};
ed25519 = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "01n5rbyws1ijwc5dw7s88xx3zzacxx9k97qn8x11b6k8k18pzs8n";
type = "gem";
};
version = "1.4.0";
};
excon = {
dependencies = [ "logger" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "17asr18vawi08g3wbif0wdi8bnyj01d125saydl9j1f03fv0n16a";
type = "gem";
};
version = "1.2.5";
};
hashie = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1nh3arcrbz1rc1cr59qm53sdhqm137b258y8rcb4cvd3y98lwv4x";
type = "gem";
};
version = "5.0.0";
};
itamae = {
dependencies = [
"ansi"
"hashie"
"schash"
"specinfra"
"thor"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1zhx0cknipkjqp33qdxjlv7lcybgmh1jv9npp55vxaazd8cyfylx";
type = "gem";
};
version = "1.14.1";
};
logger = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr";
type = "gem";
};
version = "1.7.0";
};
multi_json = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0pb1g1y3dsiahavspyzkdy39j4q377009f6ix0bh1ag4nqw43l0z";
type = "gem";
};
version = "1.15.0";
};
net-scp = {
dependencies = [ "net-ssh" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0p8s7l4pr6hkn0l6rxflsc11alwi1kfg5ysgvsq61lz5l690p6x9";
type = "gem";
};
version = "4.1.0";
};
net-ssh = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1w1ypxa3n6mskkwb00b489314km19l61p5h3bar6zr8cng27c80p";
type = "gem";
};
version = "7.3.0";
};
net-telnet = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "16nkxc79nqm7fd6w1fba4kb98vpgwnyfnlwxarpdcgywz300fc15";
type = "gem";
};
version = "0.2.0";
};
schash = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0ia62xi56pkxy4y6wg3v5kwabjncyh3g78nqll4fs34zhdf7v8ad";
type = "gem";
};
version = "0.1.2";
};
sfl = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1qm4hvhq9pszi9zs1cl9qgwx1n4wxq0af0hq9sbf6qihqd8rwwwr";
type = "gem";
};
version = "2.3";
};
specinfra = {
dependencies = [
"base64"
"net-scp"
"net-ssh"
"net-telnet"
"sfl"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1m7vplx6w0w0mmij6n7zgc68kd1xbkhyb4qg25vmk8p21nbjbw6j";
type = "gem";
};
version = "2.94.0";
};
thor = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1nmymd86a0vb39pzj2cwv57avdrl6pl3lf5bsz58q594kqxjkw7f";
type = "gem";
};
version = "1.3.2";
};
}

View File

@@ -0,0 +1,22 @@
{
lib,
bundlerApp,
bundlerUpdateScript,
}:
bundlerApp {
pname = "itamae";
gemdir = ./.;
exes = [ "itamae" ];
passthru.updateScript = bundlerUpdateScript "itamae";
meta = with lib; {
description = "Simple and lightweight configuration management tool inspired by Chef";
homepage = "https://itamae.kitchen/";
license = with licenses; mit;
maintainers = with maintainers; [ refi64 ];
platforms = platforms.unix;
mainProgram = "itamae";
};
}

View File

@@ -0,0 +1,49 @@
{
fetchFromGitHub,
lib,
python3Packages,
}:
python3Packages.buildPythonApplication rec {
pname = "itch-dl";
version = "0.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "DragoonAethis";
repo = "itch-dl";
tag = version;
hash = "sha256-zwsiG38wOVi3pP0gQWkZqfAmdWKadjB65qiTg68tZWg=";
};
nativeBuildInputs = with python3Packages; [
pythonRelaxDepsHook
];
build-system = with python3Packages; [
hatchling
];
dependencies = with python3Packages; [
beautifulsoup4
lxml
requests
tqdm
urllib3
];
pythonRelaxDeps = [
"urllib3"
"beautifulsoup4"
"lxml"
];
meta = {
description = "Itch.io game downloader with website, game jam, collection and library support";
mainProgram = "itch-dl";
homepage = "https://github.com/DragoonAethis/itch-dl";
changelog = "https://github.com/DragoonAethis/itch-dl/releases/tag/${src.tag}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ jopejoe1 ];
};
}

View File

@@ -0,0 +1,105 @@
{
lib,
stdenvNoCC,
fetchzip,
fetchFromGitHub,
butler,
electron,
steam-run,
makeWrapper,
copyDesktopItems,
makeDesktopItem,
}:
let
version = "26.1.9";
itch-setup = fetchzip {
url = "https://broth.itch.zone/itch-setup/linux-amd64/1.26.0/itch-setup.zip";
stripRoot = false;
hash = "sha256-5MP6X33Jfu97o5R1n6Og64Bv4ZMxVM0A8lXeQug+bNA=";
};
sparseCheckout = "/release/images/itch-icons";
icons =
fetchFromGitHub {
owner = "itchio";
repo = "itch";
rev = "v${version}";
hash = "sha256-jugg+hdP0y0OkFhdQuEI9neWDuNf2p3+DQuwxe09Zck=";
sparseCheckout = [ sparseCheckout ];
}
+ sparseCheckout;
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "itch";
inherit version;
src = fetchzip {
url = "https://broth.itch.zone/itch/linux-amd64/${finalAttrs.version}/archive/default#.zip";
stripRoot = false;
hash = "sha256-4k6afBgOKGs7rzXAtIBpmuQeeT/Va8/0bZgNYjuJhgI=";
};
nativeBuildInputs = [
copyDesktopItems
makeWrapper
];
desktopItems = [
(makeDesktopItem {
name = "itch";
exec = "itch %U";
tryExec = "itch";
icon = "itch";
desktopName = "itch";
mimeTypes = [
"x-scheme-handler/itchio"
"x-scheme-handler/itch"
];
comment = "Install and play itch.io games easily";
categories = [ "Game" ];
})
];
# As taken from https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=itch-bin
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share/itch/resources/app
cp -r resources/app "$out/share/itch/resources/"
install -Dm644 LICENSE -t "$out/share/licenses/$pkgname/"
install -Dm644 LICENSES.chromium.html -t "$out/share/licenses/$pkgname/"
for icon in ${icons}/icon*.png
do
iconsize="''${icon#${icons}/icon}"
iconsize="''${iconsize%.png}"
icondir="$out/share/icons/hicolor/''${iconsize}x''${iconsize}/apps/"
install -Dm644 "$icon" "$icondir/itch.png"
done
runHook postInstall
'';
postFixup = ''
makeWrapper ${steam-run}/bin/steam-run $out/bin/itch \
--add-flags ${electron}/bin/electron \
--add-flags $out/share/itch/resources/app \
--add-flags "\''${NIXOS_OZONE_WL:+\''${WAYLAND_DISPLAY:+--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-wayland-ime=true}}" \
--set BROTH_USE_LOCAL butler,itch-setup \
--prefix PATH : ${butler}/bin/:${itch-setup}
'';
meta = {
description = "Best way to play itch.io games";
homepage = "https://github.com/itchio/itch";
changelog = "https://github.com/itchio/itch/releases/tag/v${version}-canary";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
sourceProvenance = [ lib.sourceTypes.binaryBytecode ];
maintainers = with lib.maintainers; [ pasqui23 ];
mainProgram = "itch";
};
})

View File

@@ -0,0 +1,36 @@
{
lib,
python3Packages,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "itchiodl";
version = "2.3.0";
src = fetchFromGitHub {
owner = "Emersont1";
repo = "itchio";
rev = "v${version}";
hash = "sha256-XuNkqTAT9LlSwruchGQbombAKHZvKhpnqLfvJdDcrj0=";
};
format = "pyproject";
nativeBuildInputs = with python3Packages; [
poetry-core
];
propagatedBuildInputs = with python3Packages; [
beautifulsoup4
clint
requests
];
meta = with lib; {
homepage = "https://github.com/Emersont1/itchio";
description = "itch.io download tool";
license = licenses.mit;
maintainers = with maintainers; [ fgaz ];
};
}

View File

@@ -0,0 +1,45 @@
{
lib,
buildGoModule,
fetchFromGitea,
}:
buildGoModule rec {
pname = "itd";
version = "1.1.0";
# https://gitea.elara.ws/Elara6331/itd/tags
src = fetchFromGitea {
domain = "gitea.elara.ws";
owner = "Elara6331";
repo = "itd";
rev = "v${version}";
hash = "sha256-95/9Qy0HhrX+ORuv6g1T4/Eq1hf539lYG5fTkLeY6B0=";
};
vendorHash = "sha256-ZkAxNs4yDUFBhhmIRtzxQlEQtsa/BTuHy0g3taFcrMM=";
preBuild = ''
echo r${version} > version.txt
'';
subPackages = [
"."
"cmd/itctl"
];
postInstall = ''
install -Dm644 itd.toml $out/etc/itd.toml
'';
meta = with lib; {
description = "Daemon to interact with the PineTime running InfiniTime";
homepage = "https://gitea.elara.ws/Elara6331/itd";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [
mindavi
raphaelr
];
};
}

View File

@@ -0,0 +1,56 @@
{
lib,
stdenv,
fetchpatch,
ninja,
libusb1,
meson,
boost,
fetchFromGitHub,
pkg-config,
microsoft-gsl,
}:
stdenv.mkDerivation rec {
pname = "ite-backlight";
version = "1.1";
src = fetchFromGitHub {
owner = "hexagonal-sun";
repo = "ite-backlight";
rev = "v${version}";
sha256 = "1hany4bn93mac9qyz97r1l858d48zdvvmn3mabzr3441ivqr9j0a";
};
nativeBuildInputs = [
ninja
pkg-config
meson
microsoft-gsl
];
buildInputs = [
boost
libusb1
];
patches = [
(fetchpatch {
name = "fix-gcc13-build-failure.patch";
url = "https://github.com/hexagonal-sun/ite-backlight/commit/dc8c19d4785d80cbe7a82869daee1f723d3f3fb2.patch";
hash = "sha256-iTRTVy7qB2z1ip135b8k3RufTBzeJaP1wdrRWN9tPsU=";
})
];
meta = with lib; {
description = "Commands to control ite-backlight devices";
longDescription = ''
This project aims to provide a set of simple utilities for controlling ITE 8291
keyboard backlight controllers.
'';
license = with licenses; [ mit ];
homepage = "https://github.com/hexagonal-sun/ite-backlight";
platforms = platforms.linux;
maintainers = with maintainers; [ hexagonal-sun ];
};
}

View File

@@ -0,0 +1,58 @@
{
fetchzip,
lib,
stdenvNoCC,
}:
/*
This cannot be built from source as it requires entitlements and
for that it needs to be code signed. Automatic updates will have
to be disabled via preferences instead of at build time. To do
that edit $HOME/Library/Preferences/com.googlecode.iterm2.plist
and add:
SUEnableAutomaticChecks = 0;
*/
stdenvNoCC.mkDerivation rec {
pname = "iterm2";
version = "3.5.14";
src = fetchzip {
url = "https://iterm2.com/downloads/stable/iTerm2-${
lib.replaceStrings [ "." ] [ "_" ] version
}.zip";
hash = "sha256-cF7gg4kT0z/7Qu7d6AyXpnvrSQ937JbFUgpXw5F4AWE=";
};
dontFixup = true;
installPhase = ''
runHook preInstall
APP_DIR="$out/Applications/iTerm2.app"
mkdir -p "$APP_DIR"
cp -r . "$APP_DIR"
mkdir -p "$out/bin"
cat << EOF > "$out/bin/iterm2"
#!${stdenvNoCC.shell}
open -na "$APP_DIR" --args "\$@"
EOF
chmod +x "$out/bin/iterm2"
runHook postInstall
'';
meta = with lib; {
description = "Replacement for Terminal and the successor to iTerm";
homepage = "https://www.iterm2.com/";
hydraPlatforms = [ ]; # The build is little more than copying the binary
license = licenses.gpl2;
maintainers = with maintainers; [
steinybot
tricktron
];
platforms = [
"x86_64-darwin"
"aarch64-darwin"
];
sourceProvenance = [ sourceTypes.binaryNativeCode ];
};
}

View File

@@ -0,0 +1,97 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
nasm,
pkg-config,
copyDesktopItems,
alsa-lib,
glew,
glib,
gtk3,
libmad,
libogg,
libpulseaudio,
libusb-compat-0_1,
libvorbis,
libXtst,
udev,
makeWrapper,
makeDesktopItem,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "itgmania";
version = "1.1.0";
src = fetchFromGitHub {
owner = "itgmania";
repo = "itgmania";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-C9qVUZdRnKbQgfgbXnzT+lI2+FEXBaMQv/U6UF5wyzo=";
};
nativeBuildInputs = [
cmake
nasm
pkg-config
makeWrapper
copyDesktopItems
];
buildInputs = [
alsa-lib
glew
glib
gtk3
libmad
libogg
libpulseaudio
libusb-compat-0_1
libvorbis
libXtst
udev
];
cmakeFlags = lib.optionals (!stdenv.hostPlatform.isx86) [ "-DWITH_MINIMAID=off" ];
postInstall = ''
makeWrapper $out/itgmania/itgmania $out/bin/itgmania \
--chdir $out/itgmania
mkdir -p $out/share/icons/hicolor/scalable/apps/
ln -s $out/itgmania/Data/logo.svg $out/share/icons/hicolor/scalable/apps/itgmania.svg
'';
desktopItems = [
(makeDesktopItem {
name = "itgmania";
desktopName = "ITGmania";
genericName = "Rhythm and dance game";
tryExec = "itgmania";
exec = "itgmania";
terminal = false;
icon = "itgmania";
type = "Application";
comment = "A cross-platform rhythm video game.";
categories = [
"Game"
"ArcadeGame"
];
})
];
meta = {
homepage = "https://www.itgmania.com/";
description = "Fork of StepMania 5.1, improved for the post-ITG community";
platforms = lib.platforms.linux;
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
ftsimas
maxwell-lt
];
mainProgram = "itgmania";
};
})

315
pkgs/by-name/it/itm-tools/Cargo.lock generated Normal file
View File

@@ -0,0 +1,315 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "addr2line"
version = "0.12.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "602d785912f476e480434627e8732e6766b760c045bbf897d9dfaa9f4fbd399c"
dependencies = [
"gimli",
]
[[package]]
name = "adler32"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "567b077b825e468cc974f0020d4082ee6e03132512f207ef1a02fd5d00d1f32d"
[[package]]
name = "ansi_term"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
dependencies = [
"winapi",
]
[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi",
"libc",
"winapi",
]
[[package]]
name = "backtrace"
version = "0.3.49"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05100821de9e028f12ae3d189176b41ee198341eb8f369956407fea2f5cc666c"
dependencies = [
"addr2line",
"cfg-if",
"libc",
"miniz_oxide",
"object",
"rustc-demangle",
]
[[package]]
name = "bitflags"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
[[package]]
name = "byteorder"
version = "1.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
[[package]]
name = "cfg-if"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
[[package]]
name = "clap"
version = "2.33.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bdfa80d47f954d53a35a64987ca1422f495b8d6483c0fe9f7117b36c2a792129"
dependencies = [
"ansi_term",
"atty",
"bitflags",
"strsim",
"textwrap",
"unicode-width",
"vec_map",
]
[[package]]
name = "either"
version = "1.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bb1f6b1ce1c140482ea30ddd3335fc0024ac7ee112895426e0a629a6c20adfe3"
[[package]]
name = "exitfailure"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ff5bd832af37f366c6c194d813a11cd90ac484f124f079294f28e357ae40515"
dependencies = [
"failure",
]
[[package]]
name = "failure"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d32e9bd16cc02eae7db7ef620b392808b89f6a5e16bb3497d159c6b92a0f4f86"
dependencies = [
"backtrace",
"failure_derive",
]
[[package]]
name = "failure_derive"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa4da3c766cd7a0db8242e326e9e4e081edd567072893ed320008189715366a4"
dependencies = [
"proc-macro2",
"quote",
"syn",
"synstructure",
]
[[package]]
name = "gimli"
version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcc8e0c9bce37868955864dbecd2b1ab2bdf967e6f28066d65aaac620444b65c"
[[package]]
name = "hermit-abi"
version = "0.1.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3deed196b6e7f9e44a2ae8d94225d80302d81208b1bb673fd21fe634645c85a9"
dependencies = [
"libc",
]
[[package]]
name = "itm"
version = "0.4.0"
source = "git+https://github.com/rust-embedded/itm#5dd476d03de0738062a876fd3845900ab04833a4"
dependencies = [
"byteorder",
"either",
"thiserror",
]
[[package]]
name = "itm-tools"
version = "0.1.0"
dependencies = [
"clap",
"exitfailure",
"failure",
"itm",
"rustc-demangle",
"xmas-elf",
]
[[package]]
name = "libc"
version = "0.2.71"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9457b06509d27052635f90d6466700c65095fdf75409b3fbdd903e988b886f49"
[[package]]
name = "miniz_oxide"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "791daaae1ed6889560f8c4359194f56648355540573244a5448a83ba1ecc7435"
dependencies = [
"adler32",
]
[[package]]
name = "object"
version = "0.20.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ab52be62400ca80aa00285d25253d7f7c437b7375c4de678f5405d3afe82ca5"
[[package]]
name = "proc-macro2"
version = "1.0.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "beae6331a816b1f65d04c45b078fd8e6c93e8071771f41b8163255bbd8d7c8fa"
dependencies = [
"unicode-xid",
]
[[package]]
name = "quote"
version = "1.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa563d17ecb180e500da1cfd2b028310ac758de548efdd203e18f283af693f37"
dependencies = [
"proc-macro2",
]
[[package]]
name = "rustc-demangle"
version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
[[package]]
name = "strsim"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "syn"
version = "1.0.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e8d5d96e8cbb005d6959f119f773bfaebb5684296108fb32600c00cde305b2cd"
dependencies = [
"proc-macro2",
"quote",
"unicode-xid",
]
[[package]]
name = "synstructure"
version = "0.12.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b834f2d66f734cb897113e34aaff2f1ab4719ca946f9a7358dba8f8064148701"
dependencies = [
"proc-macro2",
"quote",
"syn",
"unicode-xid",
]
[[package]]
name = "textwrap"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
"unicode-width",
]
[[package]]
name = "thiserror"
version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08"
dependencies = [
"thiserror-impl",
]
[[package]]
name = "thiserror-impl"
version = "1.0.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "unicode-width"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
[[package]]
name = "unicode-xid"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7fe0bb3479651439c9112f72b6c505038574c9fbb575ed1bf3b797fa39dd564"
[[package]]
name = "vec_map"
version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
[[package]]
name = "winapi"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "xmas-elf"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22678df5df766e8d1e5d609da69f0c3132d794edf6ab5e75e7abcd2270d4cf58"
dependencies = [
"zero",
]
[[package]]
name = "zero"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f1bc8a6b2005884962297587045002d8cfb8dcec9db332f4ca216ddc5de82c5"

View File

@@ -0,0 +1,46 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
}:
rustPlatform.buildRustPackage {
pname = "itm-tools";
version = "0-unstable-2019-11-15";
src = fetchFromGitHub {
owner = "japaric";
repo = "itm-tools";
rev = "e94155e44019d893ac8e6dab51cc282d344ab700";
sha256 = "19xkjym0i7y52cfhvis49c59nzvgw4906cd8bkz8ka38mbgfqgiy";
};
cargoLock = {
lockFile = ./Cargo.lock;
outputHashes = {
"itm-0.4.0" = "sha256-T61f1WvxEMhI5bzp8FuMYWiG1YOPJvWuBJfK/gjuNKI=";
};
};
nativeBuildInputs = [ pkg-config ];
postPatch = ''
ln -s ${./Cargo.lock} Cargo.lock
'';
doCheck = false;
meta = with lib; {
description = "Tools for analyzing ITM traces";
homepage = "https://github.com/japaric/itm-tools";
license = with licenses; [
asl20
mit
];
maintainers = with maintainers; [
hh
sb0
];
};
}

View File

@@ -0,0 +1,50 @@
{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
perl,
libitl,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "itools";
version = "1.1";
nativeBuildInputs = [
pkg-config
autoreconfHook
];
buildInputs = [
libitl
perl
];
outputs = [
"out"
"man"
];
src = fetchFromGitHub {
owner = "arabeyes-org";
repo = "itools";
rev = finalAttrs.version;
hash = "sha256-DxTZaq2SlEmy9k7iAdjctpPkk+2rIaF+xEcfXj/ERWw=";
};
meta = {
description = "Islamic command-line tools for prayer times and hijri dates";
longDescription = ''
The itools package is a set of user friendly applications utilizing Arabeyes' ITL library.
The package addresses two main areas - hijri date and prayertime calculation. The package
is envisioned to mimick the development of the underlying ITL library and is meant to
always give the end-user a simple means to access its functions.
'';
homepage = "https://www.arabeyes.org/ITL";
license = lib.licenses.gpl2Only;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ amyipdev ];
};
})

View File

@@ -0,0 +1,64 @@
{
stdenv,
lib,
fetchurl,
fetchpatch,
python3,
autoreconfHook,
versionCheckHook,
}:
stdenv.mkDerivation rec {
pname = "itstool";
version = "2.0.7";
src = fetchurl {
url = "http://files.itstool.org/${pname}/${pname}-${version}.tar.bz2";
hash = "sha256-a5p80poSu5VZj1dQ6HY87niDahogf4W3TYsydbJ+h8o=";
};
patches = [
# https://github.com/itstool/itstool/pull/51
(fetchpatch {
name = "fix-insufficiently-quoted-regular-expressions-pr51";
url = "https://github.com/itstool/itstool/commit/19f9580f27aa261ea383b395fdef7e153f3f9e6d.patch";
hash = "sha256-5J4mRXQu24o2rqVtaXN/ETgj6A8R0Ym+YkZhqhZTzIc=";
})
];
strictDeps = true;
postPatch = ''
# Do not let autoconf find Python, but set it directly. This fixes cross-compilation.
substituteInPlace configure.ac \
--replace-fail 'AM_PATH_PYTHON([2.6])' "" \
--replace-fail 'AC_MSG_ERROR(Python module $py_module is needed to run this package)' ""
substituteInPlace itstool.in \
--replace-fail "@PYTHON@" "${python3.interpreter}"
'';
nativeBuildInputs = [
autoreconfHook
python3.pkgs.wrapPython
];
pythonPath = [
python3.pkgs.libxml2
];
postFixup = ''
wrapPythonPrograms
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
homepage = "https://itstool.org/";
description = "XML to PO and back again";
mainProgram = "itstool";
license = lib.licenses.gpl3Plus;
platforms = lib.platforms.all;
maintainers = [ ];
};
}

View File

@@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchurl,
hmmer,
perl,
}:
stdenv.mkDerivation rec {
version = "1.1.1";
pname = "itsx";
src = fetchurl {
url = "http://microbiology.se/sw/ITSx_${version}.tar.gz";
sha256 = "0lrmy2n3ax7f208k0k8l3yz0j5cpz05hv4hx1nnxzn0c51z1pc31";
};
buildInputs = [
hmmer
perl
];
buildPhase = ''
sed -e "s,profileDB = .*,profileDB = \"$out/share/ITSx_db/HMMs\";," -i ITSx
sed "3 a \$ENV{\'PATH\'}='${hmmer}/bin:'.\"\$ENV{\'PATH\'}\";" -i ITSx
mkdir bin
mv ITSx bin
'';
installPhase = ''
mkdir -p $out/share/doc && cp -a bin $out/
cp *pdf $out/share/doc
cp -r ITSx_db $out/share
'';
meta = with lib; {
description = "Improved software detection and extraction of ITS1 and ITS2 from ribosomal ITS sequences of fungi and other eukaryotes for use in environmental sequencing";
mainProgram = "ITSx";
homepage = "https://microbiology.se/software/itsx/";
license = licenses.gpl3;
maintainers = [ maintainers.bzizou ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,37 @@
{
lib,
fetchzip,
stdenvNoCC,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "itsycal";
version = "0.15.6";
src = fetchzip {
url = "https://itsycal.s3.amazonaws.com/Itsycal-${finalAttrs.version}.zip";
hash = "sha256-e1h81Lsi9mC/3HfUbCk9JkLztGZSVRG6NeQb9voPDk0=";
};
installPhase = ''
runHook preInstall
mkdir -p "$out/Applications/Itsycal.app"
cp -R . "$out/Applications/Itsycal.app"
runHook postInstall
'';
meta = {
changelog = "https://www.mowglii.com/itsycal/versionhistory.html";
description = "Tiny menu bar calendar";
homepage = "https://www.mowglii.com/itsycal/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
FlameFlag
iedame
];
platforms = lib.platforms.darwin;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
};
})