summaryrefslogtreecommitdiff
path: root/pkgs/by-name/so/source-meta-json-schema/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/so/source-meta-json-schema/package.nix')
-rw-r--r--pkgs/by-name/so/source-meta-json-schema/package.nix37
1 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/by-name/so/source-meta-json-schema/package.nix b/pkgs/by-name/so/source-meta-json-schema/package.nix
new file mode 100644
index 000000000000..ed8ab7021c7e
--- /dev/null
+++ b/pkgs/by-name/so/source-meta-json-schema/package.nix
@@ -0,0 +1,37 @@
+{
+ stdenv,
+ lib,
+ fetchFromGitHub,
+ cmake,
+}:
+let
+ version = "9.1.0";
+in
+stdenv.mkDerivation (finalAttrs: {
+ pname = "source-meta-json-schema";
+ inherit version;
+
+ src = fetchFromGitHub {
+ owner = "sourcemeta";
+ repo = "jsonschema";
+ rev = "v${version}";
+ hash = "sha256-YxIRDTAAvkltT4HGUvPt/davarGRfE808OoI9UheqCA=";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ ];
+
+ meta = {
+ homepage = "https://github.com/sourcemeta/jsonschema";
+ description = "The 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;
+ };
+})