nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 37 lines 847 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 cmake, 6}: 7let 8 version = "14.0.3"; 9in 10stdenv.mkDerivation (finalAttrs: { 11 pname = "source-meta-json-schema"; 12 inherit version; 13 14 src = fetchFromGitHub { 15 owner = "sourcemeta"; 16 repo = "jsonschema"; 17 rev = "v${version}"; 18 hash = "sha256-wRB/syj79pz5walyuefCYcfN/JoRbnxuwWHE2w3LKs8="; 19 }; 20 21 nativeBuildInputs = [ 22 cmake 23 ]; 24 25 meta = { 26 homepage = "https://github.com/sourcemeta/jsonschema"; 27 description = "CLI for working with JSON Schema. Covers formatting, linting, testing, bundling, and more for both local development and CI/CD pipelines "; 28 changelog = "https://github.com/sourcemeta/jsonschema/releases"; 29 license = with lib.licenses; [ 30 agpl3Plus 31 ]; 32 maintainers = with lib.maintainers; [ 33 amerino 34 ]; 35 platforms = lib.platforms.all; 36 }; 37})