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,3 @@
source "https://rubygems.org"
gem "jsduck"

View File

@@ -0,0 +1,23 @@
GEM
remote: https://rubygems.org/
specs:
dimensions (1.2.0)
jsduck (5.3.4)
dimensions (~> 1.2.0)
json (~> 1.8.0)
parallel (~> 0.7.1)
rdiscount (~> 2.1.6)
rkelly-remix (~> 0.0.4)
json (1.8.6)
parallel (0.7.1)
rdiscount (2.1.8)
rkelly-remix (0.0.7)
PLATFORMS
ruby
DEPENDENCIES
jsduck
BUNDLED WITH
2.1.4

View File

@@ -0,0 +1,57 @@
{
dimensions = {
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1pqb7yzjcpbgbyi196ifqbd1wy570cn12bkzcvpcha4xilhajja0";
type = "gem";
};
version = "1.2.0";
};
jsduck = {
dependencies = [
"dimensions"
"json"
"parallel"
"rdiscount"
"rkelly-remix"
];
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0hac7g9g6gg10bigbm8dskwwbv1dfch8ca353gh2bkwf244qq2xr";
type = "gem";
};
version = "5.3.4";
};
json = {
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0qmj7fypgb9vag723w1a49qihxrcf5shzars106ynw2zk352gbv5";
type = "gem";
};
version = "1.8.6";
};
parallel = {
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1kzz6ydg7r23ks2b7zbpx4vz3h186n19vhgnjcwi7xwd6h2f1fsq";
type = "gem";
};
version = "0.7.1";
};
rdiscount = {
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "0vcyy90r6wfg0b0y5wqp3d25bdyqjbwjhkm1xy9jkz9a7j72n70v";
type = "gem";
};
version = "2.1.8";
};
rkelly-remix = {
source = {
remotes = [ "https://rubygems.org" ];
sha256 = "1g7hjl9nx7f953y7lncmfgp0xgxfxvgfm367q6da9niik6rp1y3j";
type = "gem";
};
version = "0.0.7";
};
}

View File

@@ -0,0 +1,46 @@
{
stdenv,
lib,
bundlerEnv,
makeWrapper,
bundlerUpdateScript,
}:
let
rubyEnv = bundlerEnv {
name = "jsduck";
gemfile = ./Gemfile;
lockfile = ./Gemfile.lock;
gemset = ./gemset.nix;
};
in
stdenv.mkDerivation {
pname = "jsduck";
version = (import ./gemset.nix).jsduck.version;
dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ rubyEnv ];
installPhase = ''
mkdir -p $out/bin
makeWrapper ${rubyEnv}/bin/jsduck $out/bin/jsduck
'';
passthru.updateScript = bundlerUpdateScript "jsduck";
meta = with lib; {
description = "Simple JavaScript Duckumentation generator";
mainProgram = "jsduck";
homepage = "https://github.com/senchalabs/jsduck";
license = with licenses; gpl3;
maintainers = with maintainers; [
periklis
nicknovitski
];
platforms = platforms.unix;
# rdiscount fails to compile with:
# mktags.c:44:1: error: return type defaults to int [-Wimplicit-int]
broken = true;
};
}

View File

@@ -0,0 +1,48 @@
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch,
jansson,
}:
stdenv.mkDerivation {
pname = "jshon";
version = "20170302";
src = fetchFromGitHub {
owner = "keenerd";
repo = "jshon";
rev = "d919aeaece37962251dbe6c1ee50f0028a5c90e4";
sha256 = "1x4zfmsjq0l2y994bxkhx3mn5vzjxxr39iib213zjchi9h6yxvnc";
};
buildInputs = [ jansson ];
env.NIX_CFLAGS_COMPILE = "-Wno-error=strict-prototypes";
patches = [
(fetchpatch {
# https://github.com/keenerd/jshon/pull/62
url = "https://github.com/keenerd/jshon/commit/96b4e9dbf578be7b31f29740b608aa7b34df3318.patch";
sha256 = "0kwbn3xb37iqb5y1n8vhzjiwlbg5jmki3f38pzakc24kzc5ksmaa";
})
];
postPatch = ''
substituteInPlace Makefile --replace "/usr/" "/"
'';
preInstall = ''
export DESTDIR=$out
'';
meta = with lib; {
homepage = "http://kmkeen.com/jshon";
description = "JSON parser designed for maximum convenience within the shell";
mainProgram = "jshon";
license = licenses.free;
platforms = platforms.all;
maintainers = with maintainers; [ rushmorem ];
};
}

View File

@@ -0,0 +1,67 @@
{
stdenv,
lib,
fetchFromGitHub,
fetchpatch2,
makeBinaryWrapper,
jre_headless,
maven,
pcsclite,
yubico-piv-tool,
opensc,
}:
let
jre = jre_headless;
in
maven.buildMavenPackage rec {
pname = "jsign";
# For build from non-release, increment version by one and add -SNAPSHOT
# e.g. 7.3-SNAPSHOT
version = "7.2";
src = fetchFromGitHub {
owner = "ebourg";
repo = "jsign";
tag = version;
hash = "sha256-ngAwtd4C3KeLq9sM15B8tWS34AH81azYEjXg3+Gy5NA=";
};
mvnHash = "sha256-N91gwM3vsDZQM/BptF5RgRQ/A8g56NOJ6bc2SkxLnBs=";
nativeBuildInputs = [ makeBinaryWrapper ];
# The tests try to access the network
doCheck = false;
installPhase = ''
runHook preInstall
mkdir -p $out/bin $out/share
install -Dm644 jsign/target/jsign-${version}.jar $out/share/jsign.jar
makeWrapper ${jre}/bin/java $out/bin/jsign \
--prefix LD_LIBRARY_PATH : ${
lib.makeLibraryPath [
yubico-piv-tool
opensc
]
} \
--add-flags "-Dsun.security.smartcardio.library=${lib.getLib pcsclite}/lib/libpcsclite.so.1 -jar $out/share/jsign.jar"
runHook postInstall
'';
meta = {
description = "Authenticode signing for Windows executables, installers & scripts";
homepage = "https://ebourg.github.io/jsign";
license = lib.licenses.asl20;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [
johnazoidberg
];
mainProgram = "jsign";
# Build doesn't work, upstream says running the .jar is supported on darwin though
broken = stdenv.hostPlatform.isDarwin;
};
}

View File

@@ -0,0 +1,31 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule {
pname = "jsluice";
version = "0-unstable-2023-06-23";
src = fetchFromGitHub {
owner = "BishopFox";
repo = "jsluice";
rev = "f10429e1016a9573da0157eacde8f7feb9deb8c7";
hash = "sha256-l9rwC1ljtt7Q+FYKdQFhtnLJDS8OwMJXIIpZgya0zwU=";
};
vendorHash = "sha256-u4E+b/vChXArovtaZ4LODaINWit86i5K4GyHLR0JSyU=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Tool for extracting URLs, paths, secrets, and other data from JavaScript source code";
homepage = "https://github.com/BishopFox/jsluice";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,43 @@
{
stdenv,
lib,
fetchFromGitHub,
gfortran,
cmake,
}:
stdenv.mkDerivation rec {
pname = "json-fortran";
version = "9.0.5";
src = fetchFromGitHub {
owner = "jacobwilliams";
repo = "json-fortran";
rev = version;
hash = "sha256-4IyysBcGKJKET8A5Bbbd5WJtlNh/7EdHuXsR6B/VDh0=";
};
nativeBuildInputs = [
cmake
gfortran
];
cmakeFlags = [
"-DUSE_GNU_INSTALL_CONVENTION=ON"
];
# Due to some misconfiguration in CMake the Fortran modules end up in $out/$out.
# Move them back to the desired location.
postInstall = ''
mv $out/$out/include $out/.
rm -r $out/nix
'';
meta = with lib; {
description = "Modern Fortran JSON API";
homepage = "https://github.com/jacobwilliams/json-fortran";
license = licenses.mit;
platforms = platforms.linux;
maintainers = [ maintainers.sheepforce ];
};
}

View File

@@ -0,0 +1,27 @@
diff --git a/json-glib/tests/meson.build b/json-glib/tests/meson.build
index 1eb56c8..dca444e 100644
--- a/json-glib/tests/meson.build
+++ b/json-glib/tests/meson.build
@@ -21,8 +21,9 @@ test_data = [
'stream-load.json',
]
-installed_test_bindir = json_libexecdir / 'installed-tests' / json_api_name
-installed_test_datadir = json_datadir / 'installed-tests' / json_api_name
+installed_test_prefix = get_option('installed_test_prefix')
+installed_test_bindir = installed_test_prefix / 'libexec' / 'installed-tests' / json_api_name
+installed_test_datadir = installed_test_prefix / 'share' / 'installed-tests' / json_api_name
install_data(test_data, install_dir: installed_test_bindir)
diff --git a/meson_options.txt b/meson_options.txt
index 5a96998..383aa6c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -13,3 +13,6 @@ option('tests',
option('installed_tests',
type: 'boolean', value: true,
description: 'Enable installed tests')
+option('installed_test_prefix',
+ description: 'Prefix for installed tests',
+ type: 'string')

View File

@@ -0,0 +1,112 @@
{
lib,
stdenv,
fetchurl,
docutils,
glib,
meson,
mesonEmulatorHook,
ninja,
nixosTests,
pkg-config,
gettext,
withIntrospection ?
lib.meta.availableOn stdenv.hostPlatform gobject-introspection
&& stdenv.hostPlatform.emulatorAvailable buildPackages,
buildPackages,
gobject-introspection,
gi-docgen,
libxslt,
fixDarwinDylibNames,
gnome,
}:
stdenv.mkDerivation rec {
pname = "json-glib";
version = "1.10.8";
outputs = [
"out"
"dev"
"installedTests"
]
++ lib.optional withIntrospection "devdoc";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
hash = "sha256-VcXBQaVkJFuPj752mGY8h6RaczPCosVvBvgRq3OyEt0=";
};
patches = [
# Add option for changing installation path of installed tests.
./meson-add-installed-tests-prefix-option.patch
];
strictDeps = true;
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
docutils # for rst2man, rst2html5
meson
ninja
pkg-config
gettext
glib
libxslt
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
fixDarwinDylibNames
]
++ lib.optionals withIntrospection [
gobject-introspection
gi-docgen
]
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
propagatedBuildInputs = [
glib
];
mesonFlags = [
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
(lib.mesonEnable "introspection" withIntrospection)
(lib.mesonEnable "documentation" withIntrospection)
];
doCheck = true;
postFixup = ''
# Move developer documentation to devdoc output.
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
if [[ -d "$out/share/doc" ]]; then
find -L "$out/share/doc" -type f -regex '.*\.devhelp2?' -print0 \
| while IFS= read -r -d ''' file; do
moveToOutput "$(dirname "''${file/"$out/"/}")" "$devdoc"
done
fi
'';
passthru = {
tests = {
installedTests = nixosTests.installed-tests.json-glib;
};
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "Library providing (de)serialization support for the JavaScript Object Notation (JSON) format";
homepage = "https://gitlab.gnome.org/GNOME/json-glib";
license = licenses.lgpl21Plus;
teams = [ teams.gnome ];
platforms = with platforms; unix;
};
}

View File

@@ -0,0 +1,40 @@
{
lib,
fetchFromGitHub,
fetchpatch,
buildGoModule,
}:
buildGoModule rec {
pname = "json-plot";
version = "1.1.12";
src = fetchFromGitHub {
owner = "sgreben";
repo = "jp";
rev = version;
hash = "sha256-WWARAh/CF3lGli3VLRzAGaCA8xQyryPi8WcuwvdInjk=";
};
vendorHash = "sha256-EPrlaUHAGATNFv3qgWKGmJdu9EHsV/0DJKEvQck+fWc=";
patches = [
# Add Go Modules support
(fetchpatch {
url = "https://github.com/sgreben/jp/commit/9516fb4d7c5b011071b4063ea8e8e9667e57a777.patch";
hash = "sha256-Vz5HnStrCpMN1L7dne7JDX5F57up3EBPPf/9hN9opRc=";
})
];
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Dead simple terminal plots from JSON (or CSV) data. Bar charts, line charts, scatter plots, histograms and heatmaps are supported";
homepage = "https://github.com/sgreben/jp";
license = licenses.mit;
maintainers = with maintainers; [ urandom ];
mainProgram = "jp";
};
}

View File

@@ -0,0 +1,52 @@
{
callPackage,
fetchFromGitHub,
jsonSchemaCatalogs,
lib,
nix-update-script,
rustPlatform,
versionCheckHook,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "json-schema-catalog-rs";
version = "0.2.0";
src = fetchFromGitHub {
owner = "roberth";
repo = "json-schema-catalog-rs";
tag = finalAttrs.version;
hash = "sha256-AEtE57WYmuTaU1hQUw2NyA+hj9odIktZVQ+mDE2+Sdc=";
};
cargoHash = "sha256-fW2sODIFRXcDfzPnmYW0sH/dLe8sbRjQLtLWDlAJPxQ=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgram = "${placeholder "out"}/bin/json-schema-catalog";
versionCheckProgramArg = "--version";
passthru = {
tests = {
run = callPackage ./test-run.nix { json-schema-catalog-rs = finalAttrs.finalPackage; };
jsonSchemaCatalogs = jsonSchemaCatalogs.tests.override {
json-schema-catalog-rs = finalAttrs.finalPackage;
};
};
updateScript = nix-update-script { };
};
meta = {
description = "CLI for working with JSON Schema Catalogs";
longDescription = ''
A JSON Schema Catalog file provides a mapping from schema URIs to schema locations.
By constructing and using a catalog, you can avoid the need to download and parse schemas from the internet.
This is particularly useful when working with large schemas or when you need to work, test or build offline.
'';
homepage = "https://github.com/roberth/json-schema-catalog-rs";
license = lib.licenses.asl20;
maintainers = [ lib.maintainers.roberth ];
mainProgram = "json-schema-catalog";
};
})

View File

@@ -0,0 +1,54 @@
{
json-schema-catalog-rs,
runCommand,
}:
let
sample = builtins.toFile "example-schema.json" (
builtins.toJSON {
"$schema" = "http://json-schema.org/draft-07/schema#";
"$id" = "https://example.com/example-2.9.json";
"title" = "Example Schema";
}
);
in
runCommand "json-schema-catalog-rs-test-run"
{
nativeBuildInputs = [
json-schema-catalog-rs
];
inherit sample;
expectedOutput = ''
{
"groups": [
{
"baseLocation": "/nix/store",
"name": "Example Schema",
"schemas": [
{
"id": "https://example.com/example-2.9.json",
"location": "${baseNameOf sample}"
}
]
}
],
"name": "Catalog"
}
'';
passAsFile = [
"expectedOutput"
];
}
''
set -u
# Test version
json-schema-catalog --version | grep ${json-schema-catalog-rs.version}
# Test a simple command
json-schema-catalog new "$sample" > out.json
diff -U3 "$expectedOutputPath" out.json
touch $out
''

View File

@@ -0,0 +1,40 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
nodejs,
nix-update-script,
}:
buildNpmPackage rec {
pname = "json-sort-cli";
version = "3.0.0";
src = fetchFromGitHub {
owner = "tillig";
repo = "json-sort-cli";
tag = "v${version}";
hash = "sha256-KJCT1QwjXAmAlsLxAgNV7XXtpSytlCEbPTZYFoEZgww=";
};
npmDepsHash = "sha256-V+uKK3y3ImTHT6HSCmzlQUB+BqGYHyQyIB35uiIRNmg=";
dontNpmBuild = true;
doCheck = true;
checkPhase = ''
runHook preCheck
npm run test
runHook postCheck
'';
passthru.updateScript = nix-update-script { };
meta = {
description = "CLI interface to json-stable-stringify";
homepage = "https://github.com/tillig/json-sort-cli";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hasnep ];
inherit (nodejs.meta) platforms;
mainProgram = "json-sort";
};
}

196
pkgs/by-name/js/json2cdn/deps.json generated Normal file
View File

@@ -0,0 +1,196 @@
{
"!comment": "This is a nixpkgs Gradle dependency lockfile. For more details, refer to the Gradle section in the nixpkgs manual.",
"!version": 1,
"https://plugins.gradle.org/m2": {
"com/fasterxml#oss-parent/38": {
"pom": "sha256-yD+PRd/cqNC2s2YcYLP4R4D2cbEuBvka1dHBodH5Zug="
},
"com/fasterxml#oss-parent/50": {
"pom": "sha256-9dpV3XuI+xcMRoAdF3dKZS+y9FgftbHQpfyGqhgrhXc="
},
"com/fasterxml#oss-parent/58": {
"pom": "sha256-VnDmrBxN3MnUE8+HmXpdou+qTSq+Q5Njr57xAqCgnkA="
},
"com/fasterxml/jackson#jackson-bom/2.17.2": {
"pom": "sha256-H0crC8IATVz0IaxIhxQX+EGJ5481wElxg4f9i0T7nzI="
},
"com/fasterxml/jackson#jackson-parent/2.17": {
"pom": "sha256-rubeSpcoOwQOQ/Ta1XXnt0eWzZhNiSdvfsdWc4DIop0="
},
"com/fasterxml/woodstox#woodstox-core/6.5.1": {
"jar": "sha256-ySjWBmXGQV+xw5d1z5XPxE9/RYDPWrAbHDgOv/12iH8=",
"pom": "sha256-SDllThaxcU509Rq8s3jYNWgUq49NUnPR3S8c6KOQrdw="
},
"com/gradleup/shadow#com.gradleup.shadow.gradle.plugin/8.3.5": {
"pom": "sha256-bc9S5Y+1rG4aD6CVCbfashy3iqlLV3opZThgchAXjKY="
},
"com/gradleup/shadow#shadow-gradle-plugin/8.3.5": {
"jar": "sha256-VOCN0gqCd14zF6RyWhpeTsixscDzRt5wKknZ7UgVtzU=",
"module": "sha256-+kwoQEsU00woznA078s3q513u//7O6xbyLf7BGqtliI=",
"pom": "sha256-cIF5r4UBl3extKmnI2gPYIX67YERrJFJYeZ1S0lEG6k="
},
"commons-io#commons-io/2.17.0": {
"jar": "sha256-SqTKSPPf0wt4Igt4gdjLk+rECT7JQ2G2vvqUh5mKVQs=",
"pom": "sha256-SEqTn/9TELjLXGuQKcLc8VXT+TuLjWKF8/VrsroJ/Ek="
},
"jakarta/platform#jakarta.jakartaee-bom/9.1.0": {
"pom": "sha256-35jgJmIZ/buCVigm15o6IHdqi6Aqp4fw8HZaU4ZUyKQ="
},
"jakarta/platform#jakartaee-api-parent/9.1.0": {
"pom": "sha256-p3AsSHAmgCeEtXl7YjMKi41lkr8PRzeyXGel6sgmWcA="
},
"org/apache#apache/31": {
"pom": "sha256-VV0MnqppwEKv+SSSe5OB6PgXQTbTVe6tRFIkRS5ikcw="
},
"org/apache#apache/33": {
"pom": "sha256-14vYUkxfg4ChkKZSVoZimpXf5RLfIRETg6bYwJI6RBU="
},
"org/apache/ant#ant-launcher/1.10.15": {
"jar": "sha256-XIVRmQMHoDIzbZjdrtVJo5ponwfU1Ma5UGAb8is9ahs=",
"pom": "sha256-ea+EKil53F/gAivAc8SYgQ7q2DvGKD7t803E3+MNrJU="
},
"org/apache/ant#ant-parent/1.10.15": {
"pom": "sha256-SYhPGHPFEHzCN/QoXER3R5uwgEvwc3OUgBsI114rvrA="
},
"org/apache/ant#ant/1.10.15": {
"jar": "sha256-djrNpKaViMnqiBepUoUf8ML8S/+h0IHCVl3EB/KdV5Q=",
"pom": "sha256-R4DmHoeBbu4fIdGE7Jl7Zfk9tfS5BCwXitsp4j50JdY="
},
"org/apache/commons#commons-parent/74": {
"pom": "sha256-gOthsMh/3YJqBpMTsotnLaPxiFgy2kR7Uebophl+fss="
},
"org/apache/groovy#groovy-bom/4.0.22": {
"module": "sha256-Ul0/SGvArfFvN+YAL9RlqygCpb2l9MZWf778copo5mY=",
"pom": "sha256-Hh9rQiKue/1jMgA+33AgGDWZDb1GEGsWzduopT4832U="
},
"org/apache/logging#logging-parent/11.3.0": {
"pom": "sha256-pcmFtW/hxYQzOTtQkabznlufeFGN2PySE0aQWZtk19A="
},
"org/apache/logging/log4j#log4j-api/2.24.1": {
"jar": "sha256-bne7Ip/I3K8JA4vutekDCyLp4BtRtFiwGDzmaevMku8=",
"pom": "sha256-IzAaISnUEAiZJfSvQa7LUlhKPcxFJoI+EyNOyst+c+M="
},
"org/apache/logging/log4j#log4j-bom/2.24.1": {
"pom": "sha256-vGPPsrS5bbS9cwyWLoJPtpKMuEkCwUFuR3q1y3KwsNM="
},
"org/apache/logging/log4j#log4j-core/2.24.1": {
"jar": "sha256-ALzziEcsqApocBQYF2O2bXdxd/Isu/F5/WDhsaybybA=",
"pom": "sha256-JyQstBek3xl47t/GlYtFyJgg+WzH9NFtH0gr/CN24M0="
},
"org/apache/logging/log4j#log4j/2.24.1": {
"pom": "sha256-+NcAm1Rl2KhT0QuEG8Bve3JnXwza71OoDprNFDMkfto="
},
"org/apache/maven#maven-api-meta/4.0.0-alpha-9": {
"jar": "sha256-MsT1yturaAw0lS+ctXBFehODzOxMmlewOSYH1xkcaUk=",
"pom": "sha256-2ePDXW/aysuNGLn2QoYJDH/65yjWbLJq9aJmgZUNvnk="
},
"org/apache/maven#maven-api-xml/4.0.0-alpha-9": {
"jar": "sha256-KbJijQ8CgRlxWRaEnBnu1FsyzcZ+sTVReYxzr6SqI9Y=",
"pom": "sha256-N2bjAzOTTJIvUlj6M0uHXyi7ABJ/8D3vANl/KlOnrps="
},
"org/apache/maven#maven-api/4.0.0-alpha-9": {
"pom": "sha256-ZYvglXcymzX5TemWdb8O/HI26ZYbXHhfMyqkfyKUcfA="
},
"org/apache/maven#maven-bom/4.0.0-alpha-9": {
"pom": "sha256-4EfSnTUI/yd6Wsk1u5J/NUkQLMbTec5a4p4pYzeE0Rw="
},
"org/apache/maven#maven-parent/41": {
"pom": "sha256-di/N1M6GIcX6Ciz2SVrSaXKoCT60Mqo+QCvC1OJQDFM="
},
"org/apache/maven#maven-xml-impl/4.0.0-alpha-9": {
"jar": "sha256-JucCuIHVeuTuiNAsAJQLpkBjcF7mkgWuiVi/g5qLBrE=",
"pom": "sha256-us0USYVzbUMmuuRChHM78eMTKX3NolNGTkYpsddoGPc="
},
"org/apache/maven#maven/4.0.0-alpha-9": {
"pom": "sha256-5QzZ/zefQ3H3/ywsrFF5YfPS9n7fgJCHU8e9UGuRPX4="
},
"org/codehaus/plexus#plexus-utils/4.0.2": {
"jar": "sha256-iVcnTnX+LCeLFCjdFqDa7uHdOBUstu/4Fhd6wo/Mtpc=",
"pom": "sha256-UVHBO918w6VWlYOn9CZzkvAT/9MRXquNtfht5CCjZq8="
},
"org/codehaus/plexus#plexus-xml/4.0.4": {
"jar": "sha256-Bp54tTcQjcYSSmcHP8mYJkeR9rZJnpVaOOcrs+T+Gt8=",
"pom": "sha256-Ohb3yn7CRzFFtGHgpylREI1H4SThjIRMCFsaY3jGEVE="
},
"org/codehaus/plexus#plexus/18": {
"pom": "sha256-tD7onIiQueW8SNB5/LTETwgrUTklM1bcRVgGozw92P0="
},
"org/codehaus/woodstox#stax2-api/4.2.1": {
"jar": "sha256-Z4Vn5ItRpCxlxpnyZlOa09Z21LGlsK19iezoudV3JXk=",
"pom": "sha256-edpBDIwPRqP46K2zDWwkzNYGW272v96HvZfpiB6gouc="
},
"org/eclipse/ee4j#project/1.0.7": {
"pom": "sha256-IFwDmkLLrjVW776wSkg+s6PPlVC9db+EJg3I8oIY8QU="
},
"org/jdom#jdom2/2.0.6.1": {
"jar": "sha256-CyD0XjoP2PDRLNxTFrBndukCsTZdsAEYh2+RdcYPMCw=",
"pom": "sha256-VXleEBi4rmR7k3lnz4EKmbCFgsI3TnhzwShzTIyRS/M="
},
"org/junit#junit-bom/5.10.1": {
"module": "sha256-IbCvz//i7LN3D16wCuehn+rulOdx+jkYFzhQ2ueAZ7c=",
"pom": "sha256-IcSwKG9LIAaVd/9LIJeKhcEArIpGtvHIZy+6qzN7w/I="
},
"org/junit#junit-bom/5.10.2": {
"module": "sha256-3iOxFLPkEZqP5usXvtWjhSgWaYus5nBxV51tkn67CAo=",
"pom": "sha256-Fp3ZBKSw9lIM/+ZYzGIpK/6fPBSpifqSEgckzeQ6mWg="
},
"org/junit#junit-bom/5.10.3": {
"module": "sha256-qnlAydaDEuOdiaZShaqa9F8U2PQ02FDujZPbalbRZ7s=",
"pom": "sha256-EJN9RMQlmEy4c5Il00cS4aMUVkHKk6w/fvGG+iX2urw="
},
"org/junit#junit-bom/5.11.0": {
"module": "sha256-9+2+Z/IgQnCMQQq8VHQI5cR29An1ViNqEXkiEnSi7S0=",
"pom": "sha256-5nRZ1IgkJKxjdPQNscj0ouiJRrNAugcsgL6TKivkZE0="
},
"org/mockito#mockito-bom/4.11.0": {
"pom": "sha256-2FMadGyYj39o7V8YjN6pRQBq6pk+xd+eUk4NJ9YUkdo="
},
"org/mockito#mockito-bom/5.7.0": {
"pom": "sha256-dlcAW89JAw1nzF1S3rxm3xj0jVTbs+1GZ/1yWwZ5+6A="
},
"org/ow2#ow2/1.5.1": {
"pom": "sha256-Mh3bt+5v5PU96mtM1tt0FU1r+kI5HB92OzYbn0hazwU="
},
"org/ow2/asm#asm-commons/9.7.1": {
"jar": "sha256-mlebVNKSrZvhcdQxP9RznGNVksK1rDpFm70QSc3exqA=",
"pom": "sha256-C/HTHaDJ+djtwvJ9u/279z8acVtyzS+ijz8ZWZTXStE="
},
"org/ow2/asm#asm-tree/9.7.1": {
"jar": "sha256-mSmIH1nra4QOhtVFcMd7Wc5yHRBObf16QJeJkcLTtB8=",
"pom": "sha256-E7kF9l5/1DynZ09Azao3Z5ukhYxsnZ+48Xp6/ZuqvJ4="
},
"org/ow2/asm#asm/9.7.1": {
"jar": "sha256-jK3UOsXrbQneBfrsyji5F6BAu5E5x+3rTMgcdAtxMoE=",
"pom": "sha256-cimwOzCnPukQCActnkVppR2FR/roxQ9SeEGu9MGwuqg="
},
"org/springframework#spring-framework-bom/5.3.39": {
"module": "sha256-+ItA4qUDM7QLQvGB7uJyt17HXdhmbLFFvZCxW5fhg+M=",
"pom": "sha256-9tSBCT51dny6Gsfh2zj49pLL4+OHRGkzcada6yHGFIs="
},
"org/vafer#jdependency/2.11": {
"jar": "sha256-zdoDAD+pVRMVpMw/wWPxhJXxkbSaj3CjquIy8Emn/dA=",
"pom": "sha256-2mymcCFlPxUMHVNDLKxApzkH0tkqjzR65eRAHk+iJ+c="
}
},
"https://repo.maven.apache.org/maven2": {
"net/dzikoysk#cdn/1.14.5": {
"jar": "sha256-b6UUnYLuivwmm7smUNf640+AlL9lqwAICy/9/2jPVSQ=",
"module": "sha256-UsikplDNlyOU1/kC+he0WhKRygBXeXbdV54TzyuYEdE=",
"pom": "sha256-5A7plAKWPAECL6CzHPirlqCFF90zbQyDnT8QIkqUcWM="
},
"org/jetbrains#annotations/24.0.0": {
"jar": "sha256-/xEvVM6HS4romc/WjwMV2WyfQGozi47KgMdtEOLlovc=",
"pom": "sha256-q4eN2sP6teB48NqVHqvWf77d09KvFzn+t/lHFgJ1Xws="
},
"org/panda-lang#expressible/1.3.0": {
"jar": "sha256-gTSJ4Qw1ZLhKDz7/9PFquzQEvm4Q57sNV0VR4x17zy8=",
"module": "sha256-A0rSBhKjKa4hZwBB4XGvrA7CW9TIe7AM9PC2PQr9wYU=",
"pom": "sha256-esOPx5+wqc/E4fC8crQokrZY9xGBiBIz8D5xlxLqlQA="
},
"org/panda-lang#panda-utilities/0.5.3-alpha": {
"jar": "sha256-cFc+CXSX74ATKBCJWK6Y/+FjoxsztrtluF1yoRQ9wBk=",
"module": "sha256-jurn7hW9iI+bP4zjiVolcYEdufYA5OVm3aqe0o4OPBI=",
"pom": "sha256-LwKg1mw25wyVN2y/JwxGyDNLvedgarSOtuRAJdKjJVc="
}
}
}

View File

@@ -0,0 +1,62 @@
{
lib,
stdenv,
fetchFromGitHub,
gradle_8,
jre_headless,
makeBinaryWrapper,
tests,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "json2cdn";
version = "0.1.0";
src = fetchFromGitHub {
owner = "uku3lig";
repo = "json2cdn";
tag = finalAttrs.version;
hash = "sha256-pHmzeZHZyr3FyfkXwrdPk+lcHQKH6t4pnDD9ImMgSV8=";
};
nativeBuildInputs = [
gradle_8
makeBinaryWrapper
];
mitmCache = gradle_8.fetchDeps {
inherit (finalAttrs) pname;
data = ./deps.json;
};
# this is required for using mitm-cache on Darwin
__darwinAllowLocalNetworking = true;
gradleBuildTask = "shadowJar";
installPhase = ''
runHook preInstall
install -Dm644 build/libs/json2cdn-${finalAttrs.version}-all.jar $out/lib/json2cdn.jar
makeWrapper ${lib.getExe jre_headless} $out/bin/json2cdn --add-flags "-jar $out/lib/json2cdn.jar"
runHook postInstall
'';
passthru = {
tests.formats-cdn = tests.pkgs-lib.formats.passthru.entries.pass-cdnAtoms;
};
meta = {
description = "Converts a JSON file to dzikoysk's CDN format";
homepage = "https://github.com/uku3lig/json2cdn";
sourceProvenance = with lib.sourceTypes; [
fromSource
binaryBytecode
];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ uku3lig ];
inherit (jre_headless.meta) platforms;
mainProgram = "json2cdn";
};
})

View File

@@ -0,0 +1,32 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "json2hcl";
version = "0.2.0";
src = fetchFromGitHub {
owner = "kvz";
repo = "json2hcl";
rev = "v${version}";
sha256 = "sha256-h7DudYVWvDRCbjoIgOoCIudf7ZfUfWXp5OJ4ni0nm6c=";
};
vendorHash = "sha256-GxYuFak+5CJyHgC1/RsS0ub84bgmgL+bI4YKFTb+vIY=";
ldflags = [
"-s"
"-w"
];
meta = with lib; {
description = "Convert JSON to HCL, and vice versa";
mainProgram = "json2hcl";
homepage = "https://github.com/kvz/json2hcl";
license = licenses.mit;
maintainers = with maintainers; [ matthewbauer ];
};
}

View File

@@ -0,0 +1,36 @@
{
buildNpmPackage,
fetchFromGitHub,
lib,
jq,
}:
buildNpmPackage {
name = "json2ts";
version = "15.0.2";
src = fetchFromGitHub {
owner = "bcherny";
repo = "json-schema-to-typescript";
rev = "118d6a8e7a5a9397d1d390ce297f127ae674a623";
hash = "sha256-ldAFfw3E0A0lIJyDSsshgPRPR7OmV/FncPsDhC3waT8=";
};
nativeBuildInputs = [ jq ];
npmDepsHash = "sha256-kLKau4SBxI9bMAd7X8/FQfCza2sYl/+0bg2LQcOQIJo=";
# forceConsistentCasingInFileNames: false is needed for typescript on darwin
# https://www.typescriptlang.org/tsconfig/#forceConsistentCasingInFileNames
postConfigure = ''
jq '.compilerOptions.forceConsistentCasingInFileNames = false' tsconfig.json > temp.json
mv temp.json tsconfig.json
'';
meta = with lib; {
mainProgram = "json2ts";
description = "Compile JSON Schema to TypeScript type declarations";
homepage = "https://github.com/bcherny/json-schema-to-typescript";
changelog = "https://github.com/bcherny/json-schema-to-typescript/blob/master/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ hsjobeki ];
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation rec {
pname = "json2tsv";
version = "1.2";
src = fetchurl {
url = "https://codemadness.org/releases/json2tsv/json2tsv-${version}.tar.gz";
hash = "sha256-ET5aeuspXn+BNfIxytkACR+Zrr1smDFvdh03fptQ/YQ=";
};
postPatch = ''
substituteInPlace jaq --replace "json2tsv" "$out/bin/json2tsv"
'';
makeFlags = [ "RANLIB:=$(RANLIB)" ];
installFlags = [ "PREFIX=$(out)" ];
meta = with lib; {
description = "JSON to TSV converter";
homepage = "https://codemadness.org/json2tsv.html";
license = licenses.isc;
maintainers = with maintainers; [ sikmir ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,44 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "json-c";
version = "0.18";
src = fetchFromGitHub {
owner = "json-c";
repo = "json-c";
rev = "json-c-0.18-20240915";
hash = "sha256-UyMXr8Vc6kDOx1/lD2YKPiHdaTotXAF9ak0yQuwrSUA=";
};
outputs = [
"out"
"dev"
];
nativeBuildInputs = [ cmake ];
cmakeFlags = [
(lib.cmakeBool "BUILD_APPS" false)
];
meta = with lib; {
description = "JSON implementation in C";
longDescription = ''
JSON-C implements a reference counting object model that allows you to
easily construct JSON objects in C, output them as JSON formatted strings
and parse JSON formatted strings back into the C representation of JSON
objects.
'';
homepage = "https://github.com/json-c/json-c/wiki";
changelog = "https://github.com/json-c/json-c/blob/${finalAttrs.src.rev}/ChangeLog";
maintainers = with maintainers; [ lovek323 ];
platforms = platforms.unix;
license = licenses.mit;
};
})

View File

@@ -0,0 +1,31 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "jsoncons";
version = "1.4.2";
src = fetchFromGitHub {
owner = "danielaparker";
repo = "jsoncons";
tag = "v${finalAttrs.version}";
hash = "sha256-aWJTJiEBpWVvNl3l8MB30NakqXVni+VoalV66Sg2g9M=";
};
nativeBuildInputs = [ cmake ];
env.NIX_CFLAGS_COMPILE = "-std=c++20 -Wno-error";
meta = {
description = "C++, header-only library for constructing JSON and JSON-like data formats";
homepage = "https://danielaparker.github.io/jsoncons/";
changelog = "https://github.com/danielaparker/jsoncons/blob/v${finalAttrs.version}/CHANGELOG.md";
license = lib.licenses.boost;
maintainers = with lib.maintainers; [ sikmir ];
platforms = lib.platforms.all;
};
})

View File

@@ -0,0 +1,69 @@
{
lib,
stdenv,
fetchFromGitHub,
cmake,
python3,
validatePkgConfig,
secureMemory ? false,
enableStatic ? stdenv.hostPlatform.isStatic,
}:
stdenv.mkDerivation rec {
pname = "jsoncpp";
version = "1.9.6";
outputs = [
"out"
"dev"
];
src = fetchFromGitHub {
owner = "open-source-parsers";
repo = "jsoncpp";
rev = version;
sha256 = "sha256-3msc3B8NyF8PUlNaAHdUDfCpcUmz8JVW2X58USJ5HRw=";
};
/*
During darwin bootstrap, we have a cp that doesn't understand the
--reflink=auto flag, which is used in the default unpackPhase for dirs
*/
unpackPhase = ''
cp -a ${src} ${src.name}
chmod -R +w ${src.name}
export sourceRoot=${src.name}
'';
postPatch = lib.optionalString secureMemory ''
sed -i 's/#define JSONCPP_USING_SECURE_MEMORY 0/#define JSONCPP_USING_SECURE_MEMORY 1/' include/json/version.h
'';
nativeBuildInputs = [
cmake
python3
validatePkgConfig
];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_OBJECT_LIBS=OFF"
"-DJSONCPP_WITH_CMAKE_PACKAGE=ON"
"-DBUILD_STATIC_LIBS=${if enableStatic then "ON" else "OFF"}"
]
# the test's won't compile if secureMemory is used because there is no
# comparison operators and conversion functions between
# std::basic_string<..., Json::SecureAllocator<char>> vs.
# std::basic_string<..., [default allocator]>
++ lib.optional (
(stdenv.buildPlatform != stdenv.hostPlatform) || secureMemory
) "-DJSONCPP_WITH_TESTS=OFF";
meta = with lib; {
homepage = "https://github.com/open-source-parsers/jsoncpp";
description = "C++ library for interacting with JSON";
maintainers = with maintainers; [ ttuegel ];
license = licenses.mit;
platforms = platforms.all;
};
}

View File

@@ -0,0 +1,42 @@
{
lib,
buildGoModule,
fetchFromGitHub,
testers,
jsonfmt,
}:
buildGoModule rec {
pname = "jsonfmt";
version = "0.5.1";
src = fetchFromGitHub {
owner = "caarlos0";
repo = "jsonfmt";
rev = "v${version}";
hash = "sha256-4SNpW/+4S4sEwjM7b9ClqKqwqFFVbCVv5VnftGIHtjo=";
};
vendorHash = "sha256-6pCgBCwHgTRnLDNfveBEKbs7kiXSSacD0B82A2Sbl1U=";
ldflags = [
"-s"
"-w"
"-X=main.version=${version}"
];
passthru.tests = {
version = testers.testVersion {
package = jsonfmt;
};
};
meta = with lib; {
description = "Formatter for JSON files";
homepage = "https://github.com/caarlos0/jsonfmt";
changelog = "https://github.com/caarlos0/jsonfmt/releases/tag/${src.rev}";
license = licenses.mit;
maintainers = with maintainers; [ figsoda ];
mainProgram = "jsonfmt";
};
}

View File

@@ -0,0 +1,29 @@
{
lib,
rustPlatform,
fetchCrate,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jsonkdl";
version = "1.1.0";
src = fetchCrate {
inherit (finalAttrs) pname version;
hash = "sha256-2oDHEq2VSMmlhyfxp01R1sSyHf7Q5MvFV1Iz8rsF9Hc=";
};
cargoHash = "sha256-s0SGqkTAbuAr/SJAHKsR1oowcqYh8RdAHryfIdEzRgU=";
meta = {
description = "JSON to KDL converter";
homepage = "https://github.com/joshprk/jsonkdl";
changelog = "https://github.com/joshprk/jsonkdl/releases/tag/v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
joshprk
kiara
];
mainProgram = "jsonkdl";
};
})

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
{
lib,
buildNpmPackage,
fetchFromGitHub,
}:
buildNpmPackage rec {
pname = "jsonld-cli";
version = "2.0.0";
src = fetchFromGitHub {
owner = "digitalbazaar";
repo = "jsonld-cli";
rev = "v${version}";
hash = "sha256-GandTCcRYd0c0SlSdsCAcaTKfwD4g1cwHuoxA62aD74=";
};
postPatch = "cp ${./package-lock.json} package-lock.json";
npmDepsHash = "sha256-6oQKHeX5P2UsXRFK7ZwmJYasuNT5Ch/bYCIUAXq5zUM=";
dontNpmBuild = true;
meta = {
description = "JSON-LD command line interface tool";
homepage = "https://github.com/digitalbazaar/jsonld-cli";
changelog = "https://github.com/digitalbazaar/jsonld-cli/blob/main/CHANGELOG.md";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ msladecek ];
mainProgram = "jsonld";
};
}

View File

@@ -0,0 +1,33 @@
{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "jsonnet-bundler";
version = "0.6.0";
src = fetchFromGitHub {
owner = "jsonnet-bundler";
repo = "jsonnet-bundler";
rev = "v${version}";
hash = "sha256-VaYfjDSDst1joN2MnDVdz9SGGMamhYxfNM/a2mJf8Lo=";
};
vendorHash = null;
ldflags = [
"-s"
"-w"
"-X main.Version=${version}"
];
meta = with lib; {
description = "Jsonnet package manager";
homepage = "https://github.com/jsonnet-bundler/jsonnet-bundler";
license = licenses.asl20;
maintainers = with maintainers; [ preisschild ];
mainProgram = "jb";
};
}

View File

@@ -0,0 +1,34 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "jsonnet-language-server";
version = "0.16.0";
src = fetchFromGitHub {
owner = "grafana";
repo = "jsonnet-language-server";
tag = "v${version}";
hash = "sha256-xvN2fq94sD6E/HwZrLSr3TIO5eeuyhvj4UmJCIUFSH0=";
};
vendorHash = "sha256-Kb/ejDUdS+YZnVpzxscOnVVpQcdVicDdJvfUTc6Kg0o=";
ldflags = [
"-s"
"-w"
"-X 'main.version=${version}'"
];
meta = {
description = "Language Server Protocol server for Jsonnet";
mainProgram = "jsonnet-language-server";
homepage = "https://github.com/grafana/jsonnet-language-server";
changelog = "https://github.com/grafana/jsonnet-language-server/releases/tag/v${version}";
license = lib.licenses.agpl3Only;
maintainers = with lib.maintainers; [ hardselius ];
};
}

View File

@@ -0,0 +1,61 @@
{
stdenv,
lib,
jekyll,
cmake,
fetchFromGitHub,
gtest,
}:
stdenv.mkDerivation rec {
pname = "jsonnet";
version = "0.21.0";
outputs = [
"out"
"doc"
];
src = fetchFromGitHub {
rev = "v${version}";
owner = "google";
repo = "jsonnet";
sha256 = "sha256-QHp0DOu/pqcgN7di219cHzfFb7fWtdGGE6J1ZXgbOGQ=";
};
nativeBuildInputs = [
jekyll
cmake
];
buildInputs = [ gtest ];
cmakeFlags = [
"-DUSE_SYSTEM_GTEST=ON"
"-DBUILD_STATIC_LIBS=${if stdenv.hostPlatform.isStatic then "ON" else "OFF"}"
]
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
"-DBUILD_SHARED_BINARIES=${if stdenv.hostPlatform.isStatic then "OFF" else "ON"}"
];
enableParallelBuilding = true;
# Upstream writes documentation in html, not in markdown/rst, so no
# other output formats, sorry.
postBuild = ''
jekyll build --source ../doc --destination ./html
'';
postInstall = ''
mkdir -p $out/share/doc/jsonnet
cp -r ./html $out/share/doc/jsonnet
'';
meta = {
description = "Purely-functional configuration language that helps you define JSON data";
maintainers = with lib.maintainers; [
benley
];
license = lib.licenses.asl20;
homepage = "https://github.com/google/jsonnet";
platforms = lib.platforms.unix;
};
}

View File

@@ -0,0 +1,72 @@
{
stdenv,
lib,
fetchurl,
meson,
ninja,
glib,
json-glib,
pkg-config,
gobject-introspection,
vala,
gi-docgen,
gnome,
}:
stdenv.mkDerivation rec {
pname = "jsonrpc-glib";
version = "3.44.2";
outputs = [
"out"
"dev"
"devdoc"
];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "llSWtuExTzRotIKl2ANA3DsDQKVALXeDytJBVK7nc5Y=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
vala
gi-docgen
];
buildInputs = [
glib
json-glib
];
mesonFlags = [
"-Denable_gtk_doc=true"
];
# Tests fail non-deterministically
# https://gitlab.gnome.org/GNOME/jsonrpc-glib/issues/2
doCheck = false;
postFixup = ''
# Cannot be in postInstall, otherwise _multioutDocs hook in preFixup will move right back.
moveToOutput "share/doc" "$devdoc"
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
description = "Library to communicate using the JSON-RPC 2.0 specification";
homepage = "https://gitlab.gnome.org/GNOME/jsonrpc-glib";
license = licenses.lgpl21Plus;
teams = [ teams.gnome ];
platforms = platforms.unix;
};
}

View File

@@ -0,0 +1,39 @@
{
lib,
fetchCrate,
rustPlatform,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "jsonschema-cli";
version = "0.33.0";
src = fetchCrate {
pname = "jsonschema-cli";
inherit (finalAttrs) version;
hash = "sha256-09u50o4dg7keJgFC4xlRJ0LtkR7ZxmxnqLdEVKpE77E=";
};
cargoHash = "sha256-zY4PtuQuUMvuR7gr42iytR2CW7bQBfbB0L6JE8cSQh8=";
nativeInstallCheckInputs = [
versionCheckHook
];
doInstallCheck = true;
versionCheckProgramArg = "--version";
passthru.updateScript = nix-update-script { };
meta = {
description = "Fast command-line tool for JSON Schema validation";
homepage = "https://github.com/Stranger6667/jsonschema";
changelog = "https://github.com/Stranger6667/jsonschema/releases/tag/rust-v${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [
kachick
];
mainProgram = "jsonschema-cli";
};
})

View File

@@ -0,0 +1,40 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule rec {
pname = "jsonschema";
version = "0.7.0";
src = fetchFromGitHub {
owner = "santhosh-tekuri";
repo = "jsonschema";
tag = "cmd/jv/v${version}";
hash = "sha256-bMDDji5daBmjSeGxeS4PZfmTg+b8OVHsP8+m3jtpQJc=";
};
sourceRoot = "${src.name}/cmd/jv";
env.GOWORK = "off";
passthru.updateScript = nix-update-script {
extraArgs = [ "--version-regex=cmd/jv/v([\\d\\.]+)" ];
};
vendorHash = "sha256-s7kEdA4yuExuzwN3hHgeZmtkES3Zw1SALoEHSNtdAww=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "JSON schema compilation and validation";
homepage = "https://github.com/santhosh-tekuri/jsonschema";
changelog = "https://github.com/santhosh-tekuri/jsonschema/releases/tag/${src.tag}";
license = lib.licenses.asl20;
mainProgram = "jv";
maintainers = with lib.maintainers; [ ibizaman ];
};
}

View File

@@ -0,0 +1,35 @@
{
lib,
fetchFromGitHub,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "jsonwatch";
version = "0.11.0";
src = fetchFromGitHub {
owner = "dbohdan";
repo = "jsonwatch";
tag = "v${version}";
hash = "sha256-qhVqAhUAbLb5wHnLNHr6BxffyH1G5B09eOJQoqSzWEk=";
};
cargoHash = "sha256-D29pmt97DYfpYa9EwK+IlggR3zQFGzOy/Ky01UGI3tg=";
meta = with lib; {
description = "Like watch -d but for JSON";
longDescription = ''
jsonwatch is a command line utility with which you can track
changes in JSON data delivered by a shell command or a web
(HTTP/HTTPS) API. jsonwatch requests data from the designated
source repeatedly at a set interval and displays the
differences when the data changes.
'';
homepage = "https://github.com/dbohdan/jsonwatch";
changelog = "https://github.com/dbohdan/jsonwatch/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "jsonwatch";
};
}

View File

@@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchMavenArtifact,
jre_minimal,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "jspecify";
version = "1.0.0";
src = fetchMavenArtifact {
groupId = "org.jspecify";
artifactId = "jspecify";
version = finalAttrs.version;
hash = "sha256-H61ua+dVd4Hk0zcp1Jrhzcj92m/kd7sMxozjUer9+6s=";
};
installPhase = ''
runHook preInstall
install -Dm444 ${finalAttrs.src.jar} $out/share/java/${finalAttrs.pname}-${finalAttrs.version}.jar
runHook postInstall
'';
meta = {
homepage = "https://jspecify.dev";
description = "Standard Annotations for Java Static Analysis";
license = lib.licenses.asl20;
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
inherit (jre_minimal.meta) platforms;
maintainers = with lib.maintainers; [ msgilligan ];
};
})

View File

@@ -0,0 +1,46 @@
{
stdenv,
lib,
fetchFromGitLab,
cmake,
pkg-config,
gtkmm3,
libsigcxx,
xorg,
}:
stdenv.mkDerivation {
pname = "jstest-gtk";
version = "2018-07-10";
src = fetchFromGitLab {
owner = "jstest-gtk";
repo = "jstest-gtk";
rev = "62f6e2d7d44620e503149510c428df9e004c9f3b";
sha256 = "0icbbhrj5aqljhiavdy3hic60vp0zzfzyg0d6vpjaqkbzd5pv9d8";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
gtkmm3
libsigcxx
xorg.libX11
];
meta = with lib; {
description = "Simple joystick tester based on Gtk+";
longDescription = ''
It provides you with a list of attached joysticks, a way to display which
buttons and axis are pressed, a way to remap axis and buttons and a way
to calibrate your joystick.
'';
homepage = "https://jstest-gtk.gitlab.io/";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ wucke13 ];
platforms = platforms.linux;
mainProgram = "jstest-gtk";
};
}

View File

@@ -0,0 +1,27 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule {
pname = "jsubfinder";
version = "0-unstable-2022-05-31";
src = fetchFromGitHub {
owner = "ThreatUnkown";
repo = "jsubfinder";
rev = "e21de1ebc174bb69485f1c224e8063c77d87e4ad";
hash = "sha256-QjRYJyk0uFGa6FCCYK9SIJhoyam4ALsQJ26DsmbNk8s=";
};
vendorHash = "sha256-pr4KkszyzEl+yLJousx29tr7UZDJf0arEfXBb7eumww=";
meta = with lib; {
description = "Tool to search for in Javascript hidden subdomains and secrets";
mainProgram = "jsubfinder";
homepage = "https://github.com/ThreatUnkown/jsubfinder";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@@ -0,0 +1,52 @@
{
lib,
stdenv,
fetchurl,
commonsDaemon,
jdk,
makeWrapper,
jre,
}:
stdenv.mkDerivation rec {
pname = "jsvc";
version = "1.4.1";
src = fetchurl {
url = "https://downloads.apache.org//commons/daemon/source/commons-daemon-${version}-src.tar.gz";
sha256 = "sha256-yPsiNFbqbfDGHzxlr7So8sZt395BABYEJ7jOmLEhUTE=";
};
buildInputs = [ commonsDaemon ];
nativeBuildInputs = [
jdk
makeWrapper
];
preConfigure = ''
cd ./src/native/unix/
sh ./support/buildconf.sh
'';
preBuild = ''
export JAVA_HOME=${jre}
'';
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp jsvc $out/bin/jsvc
chmod +x $out/bin/jsvc
wrapProgram $out/bin/jsvc --set JAVA_HOME "${jre}"
runHook postInstall
'';
meta = {
homepage = "https://commons.apache.org/proper/commons-daemon";
description = "Part of the Apache Commons Daemon software, a set of utilities and Java support classes for running Java applications as server processes";
maintainers = with lib.maintainers; [ rsynnest ];
license = lib.licenses.asl20;
platforms = with lib.platforms; unix;
mainProgram = "jsvc";
};
}