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,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule (finalAttrs: {
pname = "cf-hero";
version = "1.0.4";
src = fetchFromGitHub {
owner = "musana";
repo = "CF-Hero";
tag = "v${finalAttrs.version}";
hash = "sha256-n0kcapHBz6Dap6KKJByCwBZmXmcO/aK88X78Yit6rx4=";
};
vendorHash = "sha256-Yf+iZ3UIpP9EtOWW1jh3h3zTFK1D7mcOh113Q4fbAhA=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Tool that uses multiple data sources to discover the origin IP addresses of Cloudflare-protected web applications";
homepage = "https://github.com/musana/CF-Hero";
changelog = "https://github.com/musana/CF-Hero/releases/tag/${finalAttrs.src.tag}";
# No licensing details present, https://github.com/musana/CF-Hero/issues/16
license = lib.licenses.unfree;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "cf-hero";
};
})

View File

@@ -0,0 +1,52 @@
{
buildGoModule,
fetchFromGitHub,
lib,
cf-terraforming,
testers,
installShellFiles,
stdenv,
}:
buildGoModule rec {
pname = "cf-terraforming";
version = "0.24.0";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "cf-terraforming";
rev = "v${version}";
sha256 = "sha256-jj8bU6n5dpuF9Gg+xh/JXYWODR1C+Q3Lq9oaKJRnm7E=";
};
vendorHash = "sha256-JrHt7Av305bwl/RUf2ORz/lRVnoZfUVE4T400DQwjl0=";
ldflags = [
"-X github.com/cloudflare/cf-terraforming/internal/app/cf-terraforming/cmd.versionString=${version}"
];
# The test suite insists on downloading a binary release of Terraform from
# Hashicorp at runtime, which isn't going to work in a nix build
doCheck = false;
passthru.tests = testers.testVersion {
package = cf-terraforming;
command = "cf-terraforming version";
};
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd cf-terraforming \
--bash <($out/bin/cf-terraforming completion bash) \
--fish <($out/bin/cf-terraforming completion fish) \
--zsh <($out/bin/cf-terraforming completion zsh)
'';
meta = with lib; {
description = "Command line utility to facilitate terraforming your existing Cloudflare resources";
homepage = "https://github.com/cloudflare/cf-terraforming/";
license = licenses.mpl20;
maintainers = with maintainers; [ benley ];
mainProgram = "cf-terraforming";
};
}

View File

@@ -0,0 +1,31 @@
{
buildGoModule,
fetchFromGitHub,
lib,
nix-update-script,
}:
buildGoModule rec {
pname = "cf-tool";
version = "202405140250";
src = fetchFromGitHub {
owner = "sempr";
repo = "cf-tool";
rev = version;
hash = "sha256-D+mJJw1+ImCrFpsv8HmaAwWqjYvUWouh8mgQ7hJxMrc=";
};
vendorHash = "sha256-R+mzfH9f422+WTiwIbDoBeEc+YYbW3tisUPlqrnFWbg=";
doCheck = false;
passthru.updateScript = nix-update-script { };
meta = with lib; {
description = "Codeforces CLI (Submit, Parse, Test, etc.). Support Contests, Gym, Groups, acmsguru, Windows, macOS, Linux, 7 MB";
homepage = "https://github.com/sempr/cf-tool";
license = licenses.mit;
maintainers = with maintainers; [ bot-wxt1221 ];
mainProgram = "cf";
};
}

View File

@@ -0,0 +1,39 @@
{
buildGoModule,
fetchFromGitHub,
lib,
testers,
cf-vault,
}:
buildGoModule rec {
pname = "cf-vault";
version = "0.0.18";
src = fetchFromGitHub {
owner = "jacobbednarz";
repo = "cf-vault";
rev = version;
sha256 = "sha256-vp9ufjNZabY/ck2lIT+QpD6IgaVj1BkBRTjPxkb6IjQ=";
};
ldflags = [
"-s"
"-w"
"-X github.com/jacobbednarz/cf-vault/cmd.Rev=${version}"
];
vendorHash = "sha256-7qFB1Y1AnqMgdu186tAXCdoYOhCMz8pIh6sY02LbIgs=";
passthru.tests.version = testers.testVersion {
package = cf-vault;
command = "cf-vault version";
};
meta = with lib; {
description = "Tool for managing your Cloudflare credentials, securely";
homepage = "https://github.com/jacobbednarz/cf-vault/";
license = licenses.mit;
maintainers = with maintainers; [ viraptor ];
mainProgram = "cf-vault";
};
}

View File

@@ -0,0 +1,80 @@
{
lib,
python3Packages,
fetchFromGitHub,
qt6,
}:
python3Packages.buildPythonApplication rec {
pname = "cfclient";
version = "2025.2";
pyproject = true;
src = fetchFromGitHub {
owner = "bitcraze";
repo = "crazyflie-clients-python";
tag = version;
hash = "sha256-LCGTMLIfGH59KFwQACyuEQTh/zkGgzXd3e6MkFTgKhA=";
};
strictDeps = true;
buildInputs = [
qt6.qtbase
];
nativeBuildInputs = [
qt6.wrapQtAppsHook
];
dontWrapQtApps = true;
build-system = with python3Packages; [
setuptools
setuptools-scm
];
pythonRelaxDeps = [
"numpy"
"pyqt6"
"pyzmq"
"vispy"
];
dependencies = with python3Packages; [
appdirs
cflib
numpy
pyopengl
pyserial
pysdl2
pyqtgraph
pyqt6
pyqt6-sip
pyyaml
pyzmq
scipy
setuptools
vispy
];
# No tests
doCheck = false;
# Use wrapQtApp for Python scripts as the manual mentions that wrapQtAppsHook only applies to binaries
postFixup = ''
wrapQtApp "$out/bin/cfclient" \
--set QT_QPA_PLATFORM "wayland" \
--set XDG_CURRENT_DESKTOP "Wayland" \
''${qtWrapperArgs[@]}
'';
meta = {
description = "Host applications and library for Crazyflie drones written in Python";
homepage = "https://github.com/bitcraze/crazyflie-clients-python";
changelog = "https://github.com/bitcraze/crazyflie-clients-python/releases/tag/${version}";
license = lib.licenses.gpl2Only;
maintainers = [ lib.maintainers.brianmcgillion ];
platforms = lib.platforms.linux;
};
}

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchFromGitHub,
libpng,
bison,
flex,
ffmpeg,
icu,
}:
stdenv.mkDerivation rec {
pname = "cfdg";
version = "3.4.2";
src = fetchFromGitHub {
owner = "MtnViewJohn";
repo = "context-free";
rev = "Version${version}";
sha256 = "sha256-PtkvhX5PIeN/5UDpAaVwBwfp8ykjsjfH+8iGdbNQOfI=";
};
nativeBuildInputs = [
bison
flex
];
buildInputs = [
libpng
ffmpeg
icu
];
postPatch = ''
sed -e "/YY_NO_UNISTD/a#include <stdio.h>" -i src-common/cfdg.l
sed -e '1i#include <algorithm>' -i src-common/{cfdg,builder,ast}.cpp
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp cfdg $out/bin/
mkdir -p $out/share/doc/${pname}-${version}
cp *.txt $out/share/doc/${pname}-${version}
runHook postInstall
'';
meta = with lib; {
description = "Context-free design grammar - a tool for graphics generation";
maintainers = with maintainers; [ raskin ];
platforms = platforms.linux;
homepage = "https://contextfreeart.org/";
license = licenses.gpl2Only;
mainProgram = "cfdg";
};
}

View File

@@ -0,0 +1,6 @@
{
downloadPage = "https://contextfreeart.org/mediawiki/index.php/Download_page";
baseName = "cfdg";
sourceRegexp = ".*[.]tgz";
versionExtractorSedScript = ''s/[^0-9]*([0-9.]*)[.]tgz/\1/'';
}

View File

@@ -0,0 +1,34 @@
{
lib,
fetchFromGitHub,
rustPlatform,
pkg-config,
openssl,
}:
rustPlatform.buildRustPackage rec {
pname = "cfdyndns";
version = "0.2.1";
src = fetchFromGitHub {
owner = "nrdxp";
repo = "cfdyndns";
rev = "v${version}";
hash = "sha256-OV1YRcZDzYy1FP1Bqp9m+Jxgu6Vc0aWpbAffNcdIW/4=";
};
cargoHash = "sha256-VA4oT8WeXdxjr/tKbrRuZPLpXmmXbeKC5d6laRHr+uo=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl ];
meta = with lib; {
description = "CloudFlare Dynamic DNS Client";
mainProgram = "cfdyndns";
homepage = "https://github.com/nrdxp/cfdyndns";
license = lib.licenses.mit;
maintainers = with maintainers; [
colemickens
];
platforms = with platforms; linux;
};
}

View File

@@ -0,0 +1,14 @@
diff --git a/cfitsio.pc.cmake b/cfitsio.pc.cmake
index 949b80e..6ffcaa6 100644
--- a/cfitsio.pc.cmake
+++ b/cfitsio.pc.cmake
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir="@CMAKE_INSTALL_FULL_LIBDIR@"
+includedir="@CMAKE_INSTALL_FULL_INCLUDEDIR@"
Name: cfitsio
Description: FITS File Subroutine Library

View File

@@ -0,0 +1,108 @@
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
gitUpdater,
cmake,
bzip2,
curl,
zlib,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "cfitsio";
version = "4.6.2";
src = fetchFromGitHub {
owner = "HEASARC";
repo = finalAttrs.pname;
tag = "${finalAttrs.pname}-${finalAttrs.version}";
hash = "sha256-WLsX23hNhaITjCvMEV7NUEvyDfQiObSJt1qFC12z7wY=";
};
outputs = [
"bin"
"dev"
"out"
"doc"
];
patches = [
./cfitsio-pc-cmake.patch
(fetchpatch {
name = "cfitsio-fix-cmake-4.patch";
url = "https://github.com/HEASARC/cfitsio/commit/101e0880fca41e2223df7eec56d9e84e90b9ed56.patch";
hash = "sha256-rufuqOBfE7ItTYwsGdu9G4BXSz4vZd52XmJi09kqrCM=";
})
];
nativeBuildInputs = [
cmake
];
buildInputs = [
bzip2
curl
zlib
];
cmakeFlags = [
"-DUSE_PTHREADS=ON"
"-DTESTS=ON"
"-DUTILS=ON"
"-DUSE_BZIP2=ON"
];
env = lib.optionalAttrs stdenv.hostPlatform.isFreeBSD {
# concerning. upstream defines XOPEN_SOURCE=700 which makes FreeBSD very insistent on
# not showing us gethostbyname()
NIX_CFLAGS_COMPILE = "-D__BSD_VISIBLE=1";
};
hardeningDisable = [ "format" ];
doCheck = true;
doInstallCheck = true;
# On testing cfitsio: https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/README
installCheckPhase = ''
./TestProg > testprog.lis
diff -s testprog.lis ../testprog.out
cmp testprog.fit ../testprog.std
'';
# Fixup installation
# Remove installed test tools and benchmark
postInstall = ''
install -Dm644 -t "$out/share/doc/${finalAttrs.pname}" ../docs/*.pdf
rm "$out/bin/cookbook"
rmdir "$out/bin"
rm "$bin/bin/smem" "$bin/bin/speed"
'';
passthru = {
updateScript = gitUpdater { rev-prefix = "${finalAttrs.pname}-"; };
};
meta = {
homepage = "https://heasarc.gsfc.nasa.gov/fitsio/";
description = "Library for reading and writing FITS data files";
longDescription = ''
CFITSIO is a library of C and Fortran subroutines for reading and
writing data files in FITS (Flexible Image Transport System) data
format. CFITSIO provides simple high-level routines for reading and
writing FITS files that insulate the programmer from the internal
complexities of the FITS format. CFITSIO also provides many
advanced features for manipulating and filtering the information in
FITS files.
'';
changelog = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/changes.txt";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
returntoreality
xbreak
];
platforms = lib.platforms.unix;
};
})

View File

@@ -0,0 +1,59 @@
{
lib,
stdenv,
fetchurl,
gettext,
emacs,
}:
stdenv.mkDerivation rec {
pname = "cflow";
version = "1.8";
src = fetchurl {
url = "mirror://gnu/cflow/cflow-${version}.tar.bz2";
hash = "sha256-gyFie1W2x4d/akP8xvn4RqlLFHaggaA1Rl96eNNJmrg=";
};
postPatch = ''
substituteInPlace "config.h.in" \
--replace-fail "[[__maybe_unused__]]" "__attribute__((__unused__))"
substituteInPlace "src/cflow.h" \
--replace-fail "/usr/bin/cpp" "${stdenv.cc.cc}/bin/cpp"
'';
buildInputs = [
gettext
]
++
# We don't have Emacs/GTK/etc. on {Dar,Cyg}win.
lib.optional (!(lib.lists.any (x: stdenv.hostPlatform.system == x) [ "i686-cygwin" ])) emacs;
doCheck = true;
meta = with lib; {
description = "Tool to analyze the control flow of C programs";
mainProgram = "cflow";
longDescription = ''
GNU cflow analyzes a collection of C source files and prints a
graph, charting control flow within the program.
GNU cflow is able to produce both direct and inverted flowgraphs
for C sources. Optionally a cross-reference listing can be
generated. Two output formats are implemented: POSIX and GNU
(extended).
The package also provides Emacs major mode for examining the
produced flowcharts in Emacs.
'';
license = licenses.gpl3Plus;
homepage = "https://www.gnu.org/software/cflow/";
maintainers = [ ];
platforms = platforms.linux ++ platforms.darwin;
};
}

View File

@@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation rec {
pname = "cfm";
version = "0.6.6";
src = fetchFromGitHub {
owner = "willeccles";
repo = "cfm";
rev = "v${version}";
sha256 = "sha256-uXL0RO9P+NYSZ0xCv91KzjHOJJI500YUT8IJkFS86pE=";
};
makeFlags = [
"DESTDIR=${placeholder "out"}"
"PREFIX="
];
meta = with lib; {
homepage = "https://github.com/willeccles/cfm";
description = "Simple and fast TUI file manager with no dependencies";
license = licenses.mpl20;
maintainers = with maintainers; [ lom ];
platforms = platforms.all;
mainProgram = "cfm";
};
}

View File

@@ -0,0 +1,39 @@
{
buildNpmPackage,
fetchFromGitHub,
gitUpdater,
lib,
versionCheckHook,
}:
buildNpmPackage rec {
pname = "cfn-changeset-viewer";
version = "0.2.1";
src = fetchFromGitHub {
owner = "trek10inc";
repo = "cfn-changeset-viewer";
tag = version;
hash = "sha256-PPMmU5GMxxzBiTNAv/Rbtvkl5QK1BZjW4TJLT7xlpw4=";
};
npmDepsHash = "sha256-ICaGtofENMaAjk/KGRn8RgpMAICSttx4AIcbi1HsW8Q=";
dontNpmBuild = true;
nativeInstallCheckInputs = [
versionCheckHook
];
versionCheckProgramArg = "--version";
doInstallCheck = true;
passthru.updateScript = gitUpdater { };
meta = {
description = "CLI to view the changes calculated in a CloudFormation ChangeSet in a more human-friendly way";
homepage = "https://github.com/trek10inc/cfn-changeset-viewer";
license = lib.licenses.mit;
mainProgram = "cfn-changeset-viewer";
maintainers = with lib.maintainers; [ surfaceflinger ];
};
}

View File

@@ -0,0 +1,5 @@
source 'https://rubygems.org'
gem 'cfn-nag'
gem 'logger'
gem 'ostruct'
gem 'syslog'

View File

@@ -0,0 +1,61 @@
GEM
remote: https://rubygems.org/
specs:
aws-eventstream (1.4.0)
aws-partitions (1.1124.0)
aws-sdk-core (3.226.2)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.992.0)
aws-sigv4 (~> 1.9)
base64
jmespath (~> 1, >= 1.6.1)
logger
aws-sdk-kms (1.106.0)
aws-sdk-core (~> 3, >= 3.225.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.191.0)
aws-sdk-core (~> 3, >= 3.225.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.12.1)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.3.0)
cfn-model (0.6.6)
kwalify (= 0.7.2)
psych (~> 3)
cfn-nag (0.8.10)
aws-sdk-s3 (~> 1.76)
cfn-model (= 0.6.6)
lightly (~> 0.3.2)
logging (~> 2.2.2)
netaddr (~> 2.0.4)
optimist (~> 3.0.0)
rexml
jmespath (1.6.2)
kwalify (0.7.2)
lightly (0.3.3)
little-plugger (1.1.4)
logger (1.7.0)
logging (2.2.2)
little-plugger (~> 1.1)
multi_json (~> 1.10)
multi_json (1.15.0)
netaddr (2.0.6)
optimist (3.0.1)
ostruct (0.6.2)
psych (3.3.4)
rexml (3.4.1)
syslog (0.3.0)
logger
PLATFORMS
ruby
DEPENDENCIES
cfn-nag
logger
ostruct
syslog
BUNDLED WITH
2.6.9

View File

@@ -0,0 +1,258 @@
{
aws-eventstream = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0fqqdqg15rgwgz3mn4pj91agd20csk9gbrhi103d20328dfghsqi";
type = "gem";
};
version = "1.4.0";
};
aws-partitions = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1m9bh8c78nc44xgq3sdcxabpg16hz7gx83cbffcxw31hq7im7g3a";
type = "gem";
};
version = "1.1124.0";
};
aws-sdk-core = {
dependencies = [
"aws-eventstream"
"aws-partitions"
"aws-sigv4"
"base64"
"jmespath"
"logger"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1iy9qkwmv9bwfx7ywbp6v0hj2xc8fcmzvsn1b4yqlvpsrisbb1gg";
type = "gem";
};
version = "3.226.2";
};
aws-sdk-kms = {
dependencies = [
"aws-sdk-core"
"aws-sigv4"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "01v0a2213fqrgajvafrpmi3n8pmbj1a2xkxfyv5fsvblakqy6dqp";
type = "gem";
};
version = "1.106.0";
};
aws-sdk-s3 = {
dependencies = [
"aws-sdk-core"
"aws-sdk-kms"
"aws-sigv4"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1lyz0i052hskibapsynvvf6pf3r7shy01li1kny5r4p2mvdl3db2";
type = "gem";
};
version = "1.191.0";
};
aws-sigv4 = {
dependencies = [ "aws-eventstream" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "003ch8qzh3mppsxch83ns0jra8d222ahxs96p9cdrl0grfazywv9";
type = "gem";
};
version = "1.12.1";
};
base64 = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0yx9yn47a8lkfcjmigk79fykxvr80r4m1i35q82sxzynpbm7lcr7";
type = "gem";
};
version = "0.3.0";
};
cfn-model = {
dependencies = [
"kwalify"
"psych"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1b3ix36yfnfwyxb4w9ss8a7nc6w15m1wbj3q8rarsqjrs3xj6wjs";
type = "gem";
};
version = "0.6.6";
};
cfn-nag = {
dependencies = [
"aws-sdk-s3"
"cfn-model"
"lightly"
"logging"
"netaddr"
"optimist"
"rexml"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0cyk4pimz1g5lqf4vw2p9kf8ji3v53zfi8jix8sgz4ndy81ylah5";
type = "gem";
};
version = "0.8.10";
};
jmespath = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1cdw9vw2qly7q7r41s7phnac264rbsdqgj4l0h4nqgbjb157g393";
type = "gem";
};
version = "1.6.2";
};
kwalify = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1ngxg3ysq5vip9dn3d32ajc7ly61kdin86hfycm1hkrcvkkn1vjf";
type = "gem";
};
version = "0.7.2";
};
lightly = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0sgj2r6j7qxb9vqzkx5isjbphi38rplk4h8838am0cjcpq5h3jb3";
type = "gem";
};
version = "0.3.3";
};
little-plugger = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1frilv82dyxnlg8k1jhrvyd73l6k17mxc5vwxx080r4x1p04gwym";
type = "gem";
};
version = "1.1.4";
};
logger = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "00q2zznygpbls8asz5knjvvj2brr3ghmqxgr83xnrdj4rk3xwvhr";
type = "gem";
};
version = "1.7.0";
};
logging = {
dependencies = [
"little-plugger"
"multi_json"
];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "06j6iaj89h9jhkx1x3hlswqrfnqds8br05xb1qra69dpvbdmjcwn";
type = "gem";
};
version = "2.2.2";
};
multi_json = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0pb1g1y3dsiahavspyzkdy39j4q377009f6ix0bh1ag4nqw43l0z";
type = "gem";
};
version = "1.15.0";
};
netaddr = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1d7iccg9cjcsfl0fd0iiqfc5s7yh2602dgscbji5lrn2q879ghz7";
type = "gem";
};
version = "2.0.6";
};
optimist = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1vg2chy1cfmdj6c1gryl8zvjhhmb3plwgyh1jfnpq4fnfqv7asrk";
type = "gem";
};
version = "3.0.1";
};
ostruct = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1h6gazp5837xbz1aqvq9x0a5ffpw32nhvknn931a4074k6i04wvd";
type = "gem";
};
version = "0.6.2";
};
psych = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "186i2hc6sfvg4skhqf82kxaf4mb60g65fsif8w8vg1hc9mbyiaph";
type = "gem";
};
version = "3.3.4";
};
rexml = {
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1jmbf6lf7pcyacpb939xjjpn1f84c3nw83dy3p1lwjx0l2ljfif7";
type = "gem";
};
version = "3.4.1";
};
syslog = {
dependencies = [ "logger" ];
groups = [ "default" ];
platforms = [ ];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "023lbh48fcn72gwyh1x52ycs1wx1bnhdajmv0qvkidmdsmxnxzjd";
type = "gem";
};
version = "0.3.0";
};
}

View File

@@ -0,0 +1,28 @@
{
lib,
bundlerEnv,
bundlerUpdateScript,
ruby,
}:
bundlerEnv {
pname = "cfn-nag";
version = "0.8.10";
inherit ruby;
gemdir = ./.;
passthru.updateScript = bundlerUpdateScript "cfn-nag";
meta = {
description = "Linting tool for CloudFormation templates";
homepage = "https://github.com/stelligent/cfn_nag";
mainProgram = "cfn_nag";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
momeemt
mathstlouis
];
platforms = lib.platforms.unix;
};
}

View File

@@ -0,0 +1,24 @@
{
lib,
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage rec {
pname = "cfonts";
version = "1.3.0";
src = fetchCrate {
inherit pname version;
hash = "sha256-rgdqQzJyb1/bYB3S1MD/53vdQ+GaxOvGHuPE6dxMRB0=";
};
cargoHash = "sha256-Gf4W7ACyyVSCXV2RmpAfrE7Xircjk34Llk2j58cWXtU=";
meta = with lib; {
homepage = "https://github.com/dominikwilkowski/cfonts";
description = "Silly little command line tool for sexy ANSI fonts in the console";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ leifhelm ];
mainProgram = "cfonts";
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
makeWrapper,
fetchurl,
jre,
}:
stdenv.mkDerivation rec {
pname = "cfr";
version = "0.152";
src = fetchurl {
url = "http://www.benf.org/other/cfr/cfr_${version}.jar";
sha256 = "sha256-9obo897Td9e8h9IWqQ6elRLfQVbnWwbGVaFmSK6HZbI=";
};
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
jar=$out/share/java/cfr_${version}.jar
install -Dm444 $src $jar
makeWrapper ${jre}/bin/java $out/bin/cfr --add-flags "-jar $jar"
'';
meta = with lib; {
description = "Another java decompiler";
mainProgram = "cfr";
longDescription = ''
CFR will decompile modern Java features - Java 8 lambdas (pre and post
Java beta 103 changes), Java 7 String switches etc, but is written
entirely in Java 6.
'';
homepage = "http://www.benf.org/other/cfr/";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
license = licenses.mit;
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,70 @@
{
lib,
fetchFromGitHub,
python3,
}:
python3.pkgs.buildPythonApplication rec {
pname = "cfripper";
version = "1.18.0";
pyproject = true;
src = fetchFromGitHub {
owner = "Skyscanner";
repo = "cfripper";
tag = "v${version}";
hash = "sha256-9cnOy7XBN3BRjUh6ST9RsKpAPJ8wrzJHtKMKhp7sg1g=";
};
pythonRelaxDeps = [
"pluggy"
];
build-system = with python3.pkgs; [
setuptools
setuptools-scm
];
nativeBuildInputs = [
];
dependencies = with python3.pkgs; [
boto3
cfn-flip
click
pluggy
pycfmodel
pydash
pyyaml
setuptools
];
nativeCheckInputs = with python3.pkgs; [
moto
pytestCheckHook
];
disabledTestPaths = [
# Tests are failing
"tests/test_boto3_client.py"
"tests/config/test_pluggy.py"
];
disabledTests = [
# Assertion fails
"test_multiple_resources_with_wildcard_resources_are_detected"
];
pythonImportsCheck = [
"cfripper"
];
meta = with lib; {
description = "Tool for analysing CloudFormation templates";
homepage = "https://github.com/Skyscanner/cfripper";
changelog = "https://github.com/Skyscanner/cfripper/releases/tag/${src.tag}";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
mainProgram = "cfripper";
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
makeWrapper,
gawk,
}:
stdenv.mkDerivation rec {
pname = "cfs-zen-tweaks";
version = "1.3.0";
src = fetchFromGitHub {
owner = "igo95862";
repo = "cfs-zen-tweaks";
rev = version;
hash = "sha256-E3sNWWXm0NEqLCzFccd/nfYby+/b/MVjIHeGlDxV1W4=";
};
preConfigure = ''
substituteInPlace set-cfs-zen-tweaks.sh \
--replace '$(gawk' '$(${gawk}/bin/gawk'
'';
preFixup = ''
chmod +x $out/lib/cfs-zen-tweaks/set-cfs-zen-tweaks.sh
'';
nativeBuildInputs = [ cmake ];
meta = with lib; {
description = "Tweak Linux CPU scheduler for desktop responsiveness";
homepage = "https://github.com/igo95862/cfs-zen-tweaks";
license = licenses.gpl2Only;
platforms = platforms.linux;
maintainers = with maintainers; [ mkg20001 ];
};
}

View File

@@ -0,0 +1,42 @@
{
lib,
stdenv,
rustPlatform,
fetchFromGitHub,
installShellFiles,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cfspeedtest";
version = "1.4.1";
src = fetchFromGitHub {
owner = "code-inflation";
repo = "cfspeedtest";
tag = "v${finalAttrs.version}";
hash = "sha256-MWHZllH0QVylmvwEwCX2uhNSEx9p5xEeW0u/zGyjNZE=";
};
cargoHash = "sha256-wTytRbue26KVaGb3LarTCNdq56psIayVDul4iQkwH2s=";
nativeBuildInputs = [ installShellFiles ];
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
installShellCompletion --cmd cfspeedtest \
--bash <($out/bin/cfspeedtest --generate-completion bash) \
--fish <($out/bin/cfspeedtest --generate-completion fish) \
--zsh <($out/bin/cfspeedtest --generate-completion zsh)
'';
meta = {
description = "Unofficial CLI for speed.cloudflare.com";
homepage = "https://github.com/code-inflation/cfspeedtest";
changelog = "https://github.com/code-inflation/cfspeedtest/releases/tag/${finalAttrs.src.tag}";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [
colemickens
stepbrobd
];
mainProgram = "cfspeedtest";
};
})

View File

@@ -0,0 +1,49 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nixosTests,
}:
buildGoModule rec {
pname = "cfssl";
version = "1.6.5";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "cfssl";
rev = "v${version}";
sha256 = "sha256-Xczpv6tLJiy2dXoGJ0QUmXwOn0p6S+lm2oz61oytQec=";
};
subPackages = [
"cmd/cfssl"
"cmd/cfssljson"
"cmd/cfssl-bundle"
"cmd/cfssl-certinfo"
"cmd/cfssl-newkey"
"cmd/cfssl-scan"
"cmd/multirootca"
"cmd/mkbundle"
];
vendorHash = null;
doCheck = false;
ldflags = [
"-s"
"-w"
"-X github.com/cloudflare/cfssl/cli/version.version=v${version}"
];
passthru.tests = { inherit (nixosTests) cfssl; };
meta = with lib; {
homepage = "https://cfssl.org/";
description = "Cloudflare's PKI and TLS toolkit";
license = licenses.bsd2;
maintainers = with maintainers; [ mbrgm ];
mainProgram = "cfssl";
};
}

View File

@@ -0,0 +1,44 @@
{
lib,
fetchFromGitHub,
python3,
pkgs,
}:
python3.pkgs.buildPythonApplication rec {
pname = "cfv";
version = "3.1.0";
pyproject = true;
src = fetchFromGitHub {
owner = "cfv-project";
repo = "cfv";
tag = "v${version}";
sha256 = "1wxf30gsijsdvhv5scgkq0bqi8qi4dgs9dwppdrca5wxgy7a8sn5";
};
build-system = with python3.pkgs; [
setuptools
];
checkPhase = ''
runHook preCheck
cd test
ulimit -n 4096
python3 test.py
runHook postCheck
'';
nativeCheckInputs = [
pkgs.cksfv
];
meta = {
description = "Utility to verify and create a wide range of checksums";
homepage = "https://github.com/cfv-project/cfv";
changelog = "https://github.com/cfv-project/cfv/releases/tag/v${version}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ jjtt ];
mainProgram = "cfv";
};
}