fracjson: init at 1.0.1

This commit is contained in:
asimon 2026-04-10 21:36:01 +02:00
commit 559e4af5fa
2 changed files with 99 additions and 0 deletions

62
pkgs/by-name/fr/fracjson/deps.json generated Normal file
View file

@ -0,0 +1,62 @@
[
{
"pname": "Microsoft.Bcl.AsyncInterfaces",
"version": "6.0.0",
"hash": "sha256-49+H/iFwp+AfCICvWcqo9us4CzxApPKC37Q5Eqrw+JU="
},
{
"pname": "Microsoft.NETCore.Platforms",
"version": "1.1.0",
"hash": "sha256-FeM40ktcObQJk4nMYShB61H/E8B7tIKfl9ObJ0IOcCM="
},
{
"pname": "NETStandard.Library",
"version": "2.0.3",
"hash": "sha256-Prh2RPebz/s8AzHb2sPHg3Jl8s31inv9k+Qxd293ybo="
},
{
"pname": "System.Buffers",
"version": "4.5.1",
"hash": "sha256-wws90sfi9M7kuCPWkv1CEYMJtCqx9QB/kj0ymlsNaxI="
},
{
"pname": "System.CommandLine",
"version": "2.0.2",
"hash": "sha256-PK3wKHjY8FHkPV75Z4ouxKU67WcuVSiMFjAkBs+iSAo="
},
{
"pname": "System.Memory",
"version": "4.5.4",
"hash": "sha256-3sCEfzO4gj5CYGctl9ZXQRRhwAraMQfse7yzKoRe65E="
},
{
"pname": "System.Numerics.Vectors",
"version": "4.5.0",
"hash": "sha256-qdSTIFgf2htPS+YhLGjAGiLN8igCYJnCCo6r78+Q+c8="
},
{
"pname": "System.Runtime.CompilerServices.Unsafe",
"version": "6.0.0",
"hash": "sha256-bEG1PnDp7uKYz/OgLOWs3RWwQSVYm+AnPwVmAmcgp2I="
},
{
"pname": "System.Text.Encodings.Web",
"version": "6.0.0",
"hash": "sha256-UemDHGFoQIG7ObQwRluhVf6AgtQikfHEoPLC6gbFyRo="
},
{
"pname": "System.Text.Json",
"version": "6.0.10",
"hash": "sha256-UijYh0dxFjFinMPSTJob96oaRkNm+Wsa+7Ffg6mRnsc="
},
{
"pname": "System.Threading.Tasks.Extensions",
"version": "4.5.4",
"hash": "sha256-owSpY8wHlsUXn5xrfYAiu847L6fAKethlvYx97Ri1ng="
},
{
"pname": "Wcwidth",
"version": "4.0.1",
"hash": "sha256-r9HxW/S4CjLPd7f646KdYoXGUKgllrPqhMYOmJStwB4="
}
]

View file

@ -0,0 +1,37 @@
{
buildDotnetModule,
dotnetCorePackages,
fetchFromGitHub,
lib,
}:
buildDotnetModule (finalAttrs: {
pname = "fracjson";
version = "1.0.1";
src = fetchFromGitHub {
owner = "j-brooke";
repo = "FracturedJson";
tag = "cli-v${finalAttrs.version}";
sha256 = "sha256-JdCDL6kTGUT2bgKLXw9aHThuSNxeSOtFm2besvFw814=";
};
projectFile = "Cli/Cli.csproj";
nugetDeps = ./deps.json;
dotnet-sdk = dotnetCorePackages.sdk_8_0;
dotnet-runtime = dotnetCorePackages.runtime_8_0;
# Compression in single-file bundles requires self-contained builds;
# override the .csproj setting for framework-dependent Nix packaging.
dotnetInstallFlags = [ "-p:EnableCompressionInSingleFile=false" ];
__structuredAttrs = true;
strictDeps = true;
meta = {
description = "JSON formatter that produces compact, highly readable output";
homepage = "https://github.com/j-brooke/FracturedJson";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ allsimon ];
platforms = lib.platforms.all;
};
})