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
38 lines
847 B
Nix
38 lines
847 B
Nix
{
|
|
stdenv,
|
|
lib,
|
|
fetchFromGitHub,
|
|
cmake,
|
|
}:
|
|
let
|
|
version = "11.9.0";
|
|
in
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "source-meta-json-schema";
|
|
inherit version;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sourcemeta";
|
|
repo = "jsonschema";
|
|
rev = "v${version}";
|
|
hash = "sha256-POZRyex9eaa3F9ZlmIrVBDMBfvDM98drJdAvk2nkYSs=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/sourcemeta/jsonschema";
|
|
description = "CLI for working with JSON Schema. Covers formatting, linting, testing, bundling, and more for both local development and CI/CD pipelines ";
|
|
changelog = "https://github.com/sourcemeta/jsonschema/releases";
|
|
license = with lib.licenses; [
|
|
agpl3Plus
|
|
];
|
|
maintainers = with lib.maintainers; [
|
|
amerino
|
|
];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|