├── .gitignore ├── example ├── src │ └── simple.clj ├── README.md ├── deps.edn ├── build.clj ├── flake.lock ├── flake.nix └── deps.lock.json ├── utils.nix ├── flake.lock ├── flake.nix ├── README.md ├── default.nix ├── locker.py ├── createHome.nix └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | result 2 | 3 | example/result 4 | example/target 5 | -------------------------------------------------------------------------------- /example/src/simple.clj: -------------------------------------------------------------------------------- 1 | (ns simple 2 | (:require [clojure.data.csv :as csv]) 3 | (:import (org.bouncycastle.asn1 ASN1Absent)) 4 | (:gen-class)) 5 | 6 | (defn -main [& args] 7 | (println (csv/read-csv "h1,h2\nfoo,bar\nbaz,qux")) 8 | (println "Thankfully" (str ASN1Absent/INSTANCE))) 9 | -------------------------------------------------------------------------------- /example/README.md: -------------------------------------------------------------------------------- 1 | # Generating the lockfile 2 | 3 | To generate the lockfile of all the deps: 4 | 5 | ```sh 6 | nix run .#locker 7 | ``` 8 | 9 | Run this after modifying `deps.edn`. 10 | 11 | # Building uberjar using the lockfile classpath 12 | 13 | ```sh 14 | nix build .#uberjar 15 | ``` 16 | 17 | Run uberjar: 18 | 19 | ```sh 20 | ./result/bin/simple 21 | ``` 22 | 23 | # Starting a devshell with the locked classpath 24 | 25 | ``` 26 | nix develop 27 | ``` 28 | 29 | It will print out the current locked classpath. -------------------------------------------------------------------------------- /example/deps.edn: -------------------------------------------------------------------------------- 1 | ; adapted from https://clojure.org/guides/tools_build#_setup 2 | {:paths ["src"] ;; project paths 3 | :deps {org.clojure/data.csv {:mvn/version "1.0.0"} 4 | ;; Requires maven-metadata.xml for its bcprov-jdk18on dependency 5 | org.bouncycastle/bcutil-jdk18on {:mvn/version "1.81"}} 6 | 7 | :aliases 8 | {;; Run with clj -T:build function-in-build 9 | :build {:extra-deps {io.github.clojure/tools.build {:git/sha "1309f935b098123eb807c972a053eeab77f6f4cd"}} 10 | :ns-default build}}} 11 | -------------------------------------------------------------------------------- /example/build.clj: -------------------------------------------------------------------------------- 1 | ; adapted from https://clojure.org/guides/tools_build#_compiled_uberjar_application_build 2 | (ns build 3 | (:require [clojure.tools.build.api :as b])) 4 | 5 | (def lib 'simple) 6 | (def version (format "1.2.%s" (b/git-count-revs nil))) 7 | (def class-dir "target/classes") 8 | (def basis (b/create-basis {:project "deps.edn"})) 9 | (def uber-file (format "target/uber.jar" (name lib) version)) 10 | 11 | (defn clean [_] 12 | (b/delete {:path "target"})) 13 | 14 | (defn uber [_] 15 | (clean nil) 16 | (b/copy-dir {:src-dirs ["src" "resources"] 17 | :target-dir class-dir}) 18 | (b/compile-clj {:basis basis 19 | :src-dirs ["src"] 20 | :class-dir class-dir}) 21 | (b/uber {:class-dir class-dir 22 | :uber-file uber-file 23 | :basis basis 24 | :main 'simple})) 25 | -------------------------------------------------------------------------------- /utils.nix: -------------------------------------------------------------------------------- 1 | { pkgs }: 2 | 3 | rec { 4 | shellEnv = homeDirectory: pkgs.writeTextFile { 5 | name = "clojure-nix-locker.shell-env"; 6 | text = '' 7 | export HOME="${homeDirectory}" 8 | export JAVA_TOOL_OPTIONS="-Duser.home=${homeDirectory}" 9 | ''; 10 | meta = { 11 | description = '' 12 | Can be sourced in shell scripts to export environment 13 | variables so that `clojure` uses the locked dependencies. 14 | ''; 15 | }; 16 | }; 17 | wrapPrograms = homeDirectory: name: paths: 18 | let script = pkgs.lib.concatMapStrings (path: '' 19 | makeWrapper "${path}" "$out/bin/$(basename "${path}")" \ 20 | --run "source ${shellEnv homeDirectory}" 21 | '') 22 | paths; 23 | in 24 | pkgs.runCommandNoCC name { buildInputs = [ pkgs.makeWrapper ]; } '' 25 | mkdir -p $out/bin 26 | ${script} 27 | ''; 28 | wrapClojure = homeDirectory: clojure: 29 | wrapPrograms homeDirectory "locked-clojure" ["${clojure}/bin/clojure" 30 | "${clojure}/bin/clj"]; 31 | } 32 | -------------------------------------------------------------------------------- /flake.lock: -------------------------------------------------------------------------------- 1 | { 2 | "nodes": { 3 | "flake-utils": { 4 | "locked": { 5 | "lastModified": 1659877975, 6 | "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", 7 | "owner": "numtide", 8 | "repo": "flake-utils", 9 | "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", 10 | "type": "github" 11 | }, 12 | "original": { 13 | "owner": "numtide", 14 | "repo": "flake-utils", 15 | "type": "github" 16 | } 17 | }, 18 | "nixpkgs": { 19 | "locked": { 20 | "lastModified": 1661772043, 21 | "narHash": "sha256-J02+gLWJXFYKnA5XRPd/5M+Lj6ayfbxSG/yYh0ghHxE=", 22 | "owner": "nixos", 23 | "repo": "nixpkgs", 24 | "rev": "0c1c5b34f9604237450a2ece38c2e9168fa088b3", 25 | "type": "github" 26 | }, 27 | "original": { 28 | "owner": "nixos", 29 | "repo": "nixpkgs", 30 | "type": "github" 31 | } 32 | }, 33 | "root": { 34 | "inputs": { 35 | "flake-utils": "flake-utils", 36 | "nixpkgs": "nixpkgs" 37 | } 38 | } 39 | }, 40 | "root": "root", 41 | "version": 7 42 | } 43 | -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | description = "Build clojure projects with nix by creating a lockfile for maven and git dependencies"; 3 | inputs = { 4 | nixpkgs.url = "github:nixos/nixpkgs"; 5 | flake-utils.url = "github:numtide/flake-utils"; 6 | }; 7 | 8 | outputs = { self, nixpkgs, flake-utils, ... }: { 9 | 10 | lib = rec { 11 | customLocker = 12 | { pkgs 13 | , # The directory of this lockfile's project. If specified, a clean 14 | # version of this repository (including uncommitted changes but 15 | # without untracked files) will be available for lockfile generation 16 | src ? null 17 | , # The path to the lockfile, e.g. `"./deps.lock.json"` 18 | lockfile 19 | , # Specify the maven repositories to use, overriding the defaults 20 | mavenRepos ? [ 21 | "https://repo1.maven.org/maven2/" 22 | "https://repo.clojars.org/" 23 | ] 24 | , # the command to produce the dependencies 25 | command 26 | }: 27 | let locked = ((import ./default.nix { inherit pkgs; }).lockfile { inherit src lockfile mavenRepos; }); 28 | in 29 | { 30 | locker = locked.commandLocker command; 31 | homeDirectory = locked.homeDirectory; 32 | shellEnv = locked.shellEnv; 33 | }; 34 | }; 35 | 36 | overlays.default = final: prev: { 37 | standaloneLocker = (import ./default.nix { pkgs = final; }).standaloneLocker; 38 | }; 39 | 40 | templates.default = { 41 | path = ./example; 42 | description = "A template for using clojure-nix-locker."; 43 | }; 44 | } 45 | // 46 | flake-utils.lib.eachDefaultSystem (system: 47 | let pkgs = import nixpkgs { 48 | inherit system; 49 | overlays = [ self.overlays.default ]; 50 | }; 51 | in 52 | { 53 | packages = rec { 54 | inherit (pkgs) standaloneLocker; 55 | default = standaloneLocker; 56 | }; 57 | } 58 | ); 59 | } 60 | -------------------------------------------------------------------------------- /example/flake.lock: -------------------------------------------------------------------------------- 1 | { 2 | "nodes": { 3 | "clojure-nix-locker": { 4 | "inputs": { 5 | "flake-utils": [ 6 | "flake-utils" 7 | ], 8 | "nixpkgs": [ 9 | "nixpkgs" 10 | ] 11 | }, 12 | "locked": { 13 | "lastModified": 1751366240, 14 | "narHash": "sha256-Gqk/f8775U0gpJa8Fb1RGW1WtylKFnXJxnVScZF9pWQ=", 15 | "owner": "bevuta", 16 | "repo": "clojure-nix-locker", 17 | "rev": "c99db6452027c3704fe640449b05c31e69039e88", 18 | "type": "github" 19 | }, 20 | "original": { 21 | "owner": "bevuta", 22 | "repo": "clojure-nix-locker", 23 | "type": "github" 24 | } 25 | }, 26 | "flake-utils": { 27 | "inputs": { 28 | "systems": "systems" 29 | }, 30 | "locked": { 31 | "lastModified": 1731533236, 32 | "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 33 | "owner": "numtide", 34 | "repo": "flake-utils", 35 | "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 36 | "type": "github" 37 | }, 38 | "original": { 39 | "owner": "numtide", 40 | "repo": "flake-utils", 41 | "type": "github" 42 | } 43 | }, 44 | "nixpkgs": { 45 | "locked": { 46 | "lastModified": 1749619289, 47 | "narHash": "sha256-qX6gXVjaCXXbcn6A9eSLUf8Fm07MgPGe5ir3++y2O1Q=", 48 | "owner": "NixOS", 49 | "repo": "nixpkgs", 50 | "rev": "f72be405a10668b8b00937b452f2145244103ebc", 51 | "type": "github" 52 | }, 53 | "original": { 54 | "id": "nixpkgs", 55 | "type": "indirect" 56 | } 57 | }, 58 | "root": { 59 | "inputs": { 60 | "clojure-nix-locker": "clojure-nix-locker", 61 | "flake-utils": "flake-utils", 62 | "nixpkgs": "nixpkgs" 63 | } 64 | }, 65 | "systems": { 66 | "locked": { 67 | "lastModified": 1681028828, 68 | "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 69 | "owner": "nix-systems", 70 | "repo": "default", 71 | "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 72 | "type": "github" 73 | }, 74 | "original": { 75 | "owner": "nix-systems", 76 | "repo": "default", 77 | "type": "github" 78 | } 79 | } 80 | }, 81 | "root": "root", 82 | "version": 7 83 | } 84 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # clojure-nix-locker 2 | 3 | Simple and flexible tool to build clojure projects with Nix. 4 | 5 | ## Usage 6 | 7 | The [example/](example) directory has a small clojure program and the nix code required to build it. 8 | 9 | ### Stable non-flake way 10 | 11 | To generate/update the lockfile: 12 | ```sh 13 | nix-shell --run clojure-nix-locker 14 | ``` 15 | 16 | To build: 17 | ```sh 18 | nix-build -A uberjar 19 | ``` 20 | 21 | ### With flakes 22 | 23 | You can generate a flake example with: 24 | 25 | ```sh 26 | mkdir play-with-clojure-nix-locker && cd play-with-clojure-nix-locker && nix flake init -t github:bevuta/clojure-nix-locker 27 | ``` 28 | 29 | The [example README](example/README.md) has some next steps. 30 | 31 | ## Why another tool? 32 | 33 | There are two existing projects with a similar goal already, [clj2nix](https://github.com/hlolli/clj2nix) and [clj-nix](https://github.com/jlesquembre/clj-nix). 34 | Both of these are designed to be used roughly like this: 35 | 36 | - At lock-time, call into `clojure.tools.deps` to resolve all dependencies, then generate a lockfile from this. 37 | - At nix-eval-time, use the information from the lockfile to compute the classpath. 38 | - At build-time, invoke clojure and pass it the precomputed classpath. 39 | 40 | By contrast, `clojure-nix-locker` is designed around letting classpath computation happen later, at build-time. 41 | It works roughly like this: 42 | 43 | - At lock-time, call arbitrary user-provided commands (like `clojure -P`) to pre-populate the caches in `.m2` and `.gitlibs`, then crawl those to generate the lockfile. 44 | - At nix-eval-time, use the information from the lockfile to recreate these caches in a way that's "close enough" to the real thing. 45 | - At build-time, invoke clojure as normal. If the prefetching was done correctly, it will resolve its dependencies just fine without hitting the network. 46 | 47 | This approach results in a pretty simple implementation and loose coupling to the clojure tooling. 48 | As a consequence, things like aliases "just work" without requiring `clojure-nix-locker` to know about them. 49 | 50 | Of course, this has its downsides too: 51 | 52 | - If the directory layout of these caches changes, this tool breaks. 53 | - Whatever classpath(s) your clojure tools compute at build-time will only work for the duration of that build. 54 | 55 | ## License 56 | 57 | Distributed under the GNU General Public License, Version 3. See `LICENSE` for more details. 58 | -------------------------------------------------------------------------------- /example/flake.nix: -------------------------------------------------------------------------------- 1 | { 2 | description = "Example clojure project"; 3 | 4 | inputs = { 5 | nixpkgs.url = "nixpkgs"; 6 | flake-utils.url = "github:numtide/flake-utils"; 7 | 8 | clojure-nix-locker.url = "github:bevuta/clojure-nix-locker"; 9 | clojure-nix-locker.inputs.nixpkgs.follows = "nixpkgs"; 10 | clojure-nix-locker.inputs.flake-utils.follows = "flake-utils"; 11 | }; 12 | 13 | outputs = { self, nixpkgs, flake-utils, clojure-nix-locker, ... }: 14 | flake-utils.lib.eachDefaultSystem (system: 15 | let 16 | pkgs = nixpkgs.legacyPackages.${system}; 17 | my-clojure-nix-locker = clojure-nix-locker.lib.customLocker { 18 | inherit pkgs; 19 | command = "${pkgs.clojure}/bin/clojure -T:build uber"; 20 | lockfile = "./deps.lock.json"; 21 | src = ./.; 22 | }; 23 | in rec { 24 | packages.uberjar = pkgs.stdenv.mkDerivation { 25 | pname = "clojure-nix-locker-example"; 26 | version = "0.1"; 27 | 28 | src = ./.; 29 | 30 | nativeBuildInputs = with pkgs; [ 31 | makeWrapper 32 | clojure 33 | git 34 | ]; 35 | 36 | buildPhase = '' 37 | source ${my-clojure-nix-locker.shellEnv} 38 | 39 | # Now compile as in https://clojure.org/guides/tools_build#_compiled_uberjar_application_build 40 | clojure -T:build uber 41 | ''; 42 | 43 | installPhase = '' 44 | mkdir -p $out 45 | mv target/uber.jar $out/uber.jar 46 | 47 | makeWrapper ${pkgs.openjdk}/bin/java $out/bin/simple \ 48 | --argv0 simple \ 49 | --add-flags "-jar $out/uber.jar" 50 | ''; 51 | }; 52 | # use via `nix run .#locker` 53 | apps.locker = flake-utils.lib.mkApp { 54 | drv = my-clojure-nix-locker.locker; 55 | }; 56 | devShells.default = pkgs.mkShell { 57 | shellHook = '' 58 | # Trace all Bash executions 59 | set -o xtrace 60 | 61 | source ${my-clojure-nix-locker.shellEnv} 62 | 63 | echo "Current locked classpath:" 64 | ${pkgs.clojure}/bin/clojure -Spath 65 | 66 | set +o xtrace 67 | 68 | echo 69 | echo "Note that \$HOME is overridden and read-only: $HOME" 70 | echo 71 | ''; 72 | inputsFrom = [ 73 | packages.uberjar 74 | ]; 75 | buildInputs = with pkgs; [ 76 | openjdk 77 | cacert # for maven and tools.gitlibs 78 | clojure 79 | clj-kondo 80 | coreutils 81 | # This provides the standalone `clojure-nix-locker` script in the shell 82 | # You can use it, or `nix run .#locker` 83 | # Both does the same 84 | my-clojure-nix-locker.locker 85 | ]; 86 | }; 87 | }); 88 | } 89 | -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- 1 | { pkgs ? import {} }: 2 | let 3 | lib = pkgs.lib; 4 | es = lib.escapeShellArg; 5 | 6 | standaloneLocker = pkgs.writers.writePython3Bin "standalone-clojure-nix-locker" { 7 | libraries = [ pkgs.python3Packages.GitPython ]; 8 | flakeIgnore = [ 9 | "E501" # We don't care about lines being too long 10 | "W504" # Allow line breaks after binary operators for multi-line conditionals 11 | ]; 12 | } ./locker.py; 13 | 14 | utils = import ./utils.nix { inherit pkgs; }; 15 | in { 16 | inherit standaloneLocker; 17 | 18 | lockfile = 19 | { # The git repository of this lockfile's project. If specified, a clean 20 | # version of this repository (including uncommitted changes but without 21 | # untracked files) will be available for lockfile generation 22 | src ? null 23 | , # The path to the lockfile, e.g. `./deps.lock.json` 24 | lockfile 25 | , # Specify the maven repositories to use, overriding the defaults 26 | mavenRepos ? 27 | [ 28 | "https://repo1.maven.org/maven2/" 29 | "https://repo.clojars.org/" 30 | ] 31 | , # Extra inputs for the dependency "prep" phase 32 | extraPrepInputs ? [ ] 33 | }: rec { 34 | commandLocker = command: pkgs.writeShellApplication { 35 | name = "clojure-nix-locker"; 36 | runtimeInputs = [ 37 | pkgs.babashka 38 | pkgs.coreutils 39 | pkgs.git 40 | pkgs.gnutar 41 | pkgs.gzip 42 | pkgs.nix-prefetch-git 43 | ]; 44 | text = '' 45 | tmp=$(mktemp -d) 46 | trap 'rm -rf "$tmp"' exit 47 | mkdir "$tmp"/{root,home} 48 | pushd "$tmp/root" 49 | 50 | ${lib.optionalString (src != null) 51 | (if builtins.pathExists (src + "/.git") then '' 52 | # Copies all git-tracked files (including uncommitted changes and submodules) 53 | # Why not `git archive $(git stash create)`? Because that doesn't include submodules 54 | # Why not `git worktree create`? Because that doesn't include uncommitted changes 55 | # Why --ignore-failed-read? Because `git ls-files` includes deleted files 56 | git -C ${es (toString src)} ls-files -z \ 57 | | tar -C ${es (toString src)} --ignore-failed-read -cz --null -T - \ 58 | | tar -xzf - 59 | '' else '' 60 | cp -rT ${es (toString src)} . 61 | '') 62 | } 63 | 64 | # flakes are copied to the nix store first and the files are therefore RO 65 | chmod -R +w . 66 | 67 | # Ensures that clojure creates all the caches in our empty separate home directory 68 | export JAVA_TOOL_OPTIONS="-Duser.home=$tmp/home" 69 | 70 | ${command} 71 | 72 | popd 73 | 74 | ${standaloneLocker}/bin/standalone-clojure-nix-locker "$tmp/home" > ${es (toString lockfile)} 75 | ''; 76 | }; 77 | homeDirectory = import ./createHome.nix { 78 | inherit pkgs src lockfile mavenRepos extraPrepInputs; 79 | }; 80 | shellEnv = utils.shellEnv homeDirectory; 81 | wrapClojure = utils.wrapClojure homeDirectory; 82 | wrapPrograms = utils.wrapPrograms homeDirectory; 83 | }; 84 | } 85 | -------------------------------------------------------------------------------- /locker.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | import json 3 | from hashlib import sha256 4 | from git import Repo 5 | import subprocess 6 | import argparse 7 | import re 8 | import xml.etree.ElementTree as ET 9 | 10 | parser = argparse.ArgumentParser( 11 | description='Locks clojure maven and git dependencies') 12 | parser.add_argument( 13 | 'home', 14 | metavar='HOME', 15 | type=Path, 16 | help='the home directory whose dependencies should be locked. All dependencies from the .m2 and .gitlibs folders are taken into account') 17 | args = parser.parse_args() 18 | 19 | result = {'maven': {}, 'git': {}} 20 | 21 | mavenDir = args.home.joinpath('.m2', 'repository').resolve() 22 | 23 | 24 | def stabilize_maven_metadata(orig_file): 25 | """Accepts a path of a maven-metadata.xml file and transforms its content so that it's stable 26 | across multiple runs (i.e. server-side changes in the file due to e.g. new releases don't affect 27 | it) but still sufficient to satisfy version range dependencies within the locked 28 | repository. Returns the stabilized content as a string.""" 29 | orig = ET.parse(orig_file) 30 | stable = ET.Element("metadata") 31 | stable.append(orig.find("./groupId")) 32 | stable.append(orig.find("./artifactId")) 33 | versioning = ET.SubElement(stable, "versioning") 34 | versions = ET.SubElement(versioning, "versions") 35 | for version_dir in f.parent.iterdir(): 36 | if version_dir.is_dir(): 37 | ET.SubElement(versions, "version").text = version_dir.name 38 | stable_str = ET.tostring(stable, encoding='utf-8', xml_declaration=True).decode('utf-8') 39 | return re.sub(r'>\s+<', '><', stable_str).strip() 40 | 41 | 42 | if mavenDir.exists(): 43 | for f in mavenDir.rglob('*'): 44 | mvn_meta_file = None 45 | if (f.is_dir() or 46 | (f.suffix != ".jar" and 47 | f.suffix != ".pom" and 48 | # Needed for dependencies with version ranges (see e.g. https://github.com/fzakaria/mvn2nix/issues/26) 49 | not (mvn_meta_file := re.fullmatch("maven-metadata-(.+)\\.xml", f.name)))): 50 | continue 51 | file = f.relative_to(mavenDir) 52 | dep = {} 53 | if mvn_meta_file: 54 | dep['content'] = stabilize_maven_metadata(f) 55 | else: 56 | # We could use `nix-hash` here, but that's much slower and doesn't have any benefits 57 | dep['sha256'] = sha256(f.read_bytes()).hexdigest() 58 | result['maven'][file.as_posix()] = dep 59 | 60 | gitlibsDir = args.home.joinpath('.gitlibs').resolve() 61 | 62 | extractPrepLibInfo = ''' 63 | (some-> *input* 64 | :deps/prep-lib 65 | (select-keys [:alias :fn]) 66 | cheshire.core/generate-string 67 | println) 68 | ''' 69 | 70 | if gitlibsDir.exists(): 71 | for namespace_path in gitlibsDir.joinpath('libs').iterdir(): 72 | for name_path in namespace_path.iterdir(): 73 | for rev_path in name_path.iterdir(): 74 | path = rev_path.relative_to(gitlibsDir.joinpath("libs")).as_posix() 75 | repo = Repo(rev_path) 76 | prefetch = subprocess.run(["nix-prefetch-git", rev_path], stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, check=True) 77 | with open(rev_path / "deps.edn") as deps_edn: 78 | prep = subprocess.run(["bb", "-I", "--stream", extractPrepLibInfo], stdin=deps_edn, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, check=True) 79 | result['git'][path] = { 80 | # This is the path to the corresponding bare repository in ~/.gitlibs/_repos 81 | "common_dir": Path(repo.common_dir).resolve().relative_to(gitlibsDir.joinpath("_repos")).as_posix(), 82 | "url": repo.remotes.origin.url, 83 | "rev": repo.head.commit.hexsha, 84 | "sha256": json.loads(prefetch.stdout)['sha256'], 85 | } 86 | if preps := prep.stdout: 87 | result['git'][path]['prep'] = json.loads(preps) 88 | 89 | print(json.dumps(result, indent=2, sort_keys=True)) 90 | -------------------------------------------------------------------------------- /createHome.nix: -------------------------------------------------------------------------------- 1 | # Creates a home directory populated with caches in ~/.m2 2 | # (for maven dependencies) and ~/.gitlibs (for git dependencies) according 3 | # to a lockfile generated with ./locker.py 4 | 5 | { pkgs, src, mavenRepos, lockfile, extraPrepInputs }: 6 | let 7 | lib = pkgs.lib; 8 | # Fall back to no dependencies if the lockfile hasn't been generated yet 9 | # Useful when your nix-shell evaluates this code, but the nix-shell also 10 | # provides the binary to produce the lockfile 11 | contents = 12 | if builtins.pathExists (src + "/${lockfile}") 13 | then lib.importJSON (src + "/${lockfile}") 14 | else { maven = {}; git = {}; }; 15 | 16 | fetchMaven = file: dep: { 17 | name = file; 18 | path = if dep ? content 19 | then pkgs.writeText (builtins.baseNameOf file) dep.content 20 | else pkgs.fetchurl { 21 | # Try to fetch this maven dependency from all given maven repositories 22 | urls = map (repo: repo + file) mavenRepos; 23 | inherit (dep) sha256; 24 | }; 25 | }; 26 | 27 | handleGit = path: { url, rev, sha256, common_dir, ... }: { 28 | name = path; 29 | path = pkgs.fetchgit { 30 | inherit url rev sha256; 31 | }; 32 | }; 33 | 34 | # Corresponds to the ~/.m2/repository directory 35 | mavenRepoCache = pkgs.linkFarm "maven-repo-cache" (lib.mapAttrsToList fetchMaven contents.maven); 36 | 37 | unpreppedGitWorkTrees = lib.mapAttrsToList handleGit contents.git; 38 | 39 | # This corresponds to the ~/.gitlibs/libs directory, containing git worktrees 40 | gitWorktreeCache = gitWorkTrees: pkgs.linkFarm "git-worktree-cache" gitWorkTrees; 41 | 42 | # This corresponds to the ~/.gitlibs/_repos directory, containing git directories for the above worktrees 43 | gitFakeRepoCache = pkgs.runCommandNoCC "git-fake-repo-cache" {} 44 | # We don't actually need these, however clojure has a check for the existence of a 45 | # `config` file in these directories, so let's create empty ones 46 | 47 | # Note that we aren't using `linkFarm` for this because that would 48 | # give collisions for multiple entries at the same path 49 | ((lib.concatMapStringsSep "\n" (item: '' 50 | mkdir -p "$out"/${lib.escapeShellArg item.common_dir} 51 | touch "$out"/${lib.escapeShellArg item.common_dir}/config 52 | '') (lib.attrValues contents.git)) + 53 | # just so we don't fail in the 0-gitlibs case 54 | "mkdir -p $out"); 55 | 56 | # Provides a ~/.clojure directory which clojure will accept read-only 57 | configDir = pkgs.runCommandNoCC "config-dir" {} '' 58 | mkdir -p $out/tools 59 | echo '{}' > $out/deps.edn 60 | echo '{}' > $out/tools/tools.edn 61 | ''; 62 | 63 | # Creates a home directory for Clojure, combining all parts together 64 | clojureHome = gitWorkTrees: 65 | pkgs.linkFarm "clojure-home" [ 66 | { 67 | name = ".m2/repository"; 68 | path = mavenRepoCache; 69 | } 70 | { 71 | name = ".gitlibs/libs"; 72 | path = gitWorktreeCache gitWorkTrees; 73 | } 74 | { 75 | name = ".gitlibs/_repos"; 76 | path = gitFakeRepoCache; 77 | } 78 | { 79 | name = ".clojure"; 80 | path = configDir; 81 | } 82 | ]; 83 | 84 | unpreppedHome = clojureHome unpreppedGitWorkTrees; 85 | 86 | utils = import ./utils.nix { inherit pkgs; }; 87 | 88 | prepLib = { path, name }: spec: 89 | if spec ? prep then 90 | let prep = spec.prep; in 91 | pkgs.runCommand "${name}-prepped" 92 | { nativeBuildInputs = [ (utils.wrapClojure unpreppedHome pkgs.clojure) ] ++ extraPrepInputs; } 93 | '' 94 | cp -r ${path} $out 95 | chmod -R +w $out 96 | cd $out 97 | clojure -J-Dclojure.main.report=stderr -X:${prep.alias} ${prep.fn} 98 | '' 99 | else 100 | path; 101 | 102 | prepGitWorkTree = { name, ... }@wt: 103 | { 104 | inherit name; 105 | path = prepLib wt (lib.getAttr name contents.git); 106 | }; 107 | 108 | preppedGitWorkTrees = builtins.map prepGitWorkTree unpreppedGitWorkTrees; 109 | 110 | preppedHome = clojureHome preppedGitWorkTrees; 111 | 112 | in preppedHome 113 | -------------------------------------------------------------------------------- /example/deps.lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "git": { 3 | "io.github.clojure/tools.build/1309f935b098123eb807c972a053eeab77f6f4cd": { 4 | "common_dir": "https/github.com/clojure/tools.build", 5 | "rev": "1309f935b098123eb807c972a053eeab77f6f4cd", 6 | "sha256": "1m8k2sn4xrpyiqpgj4iwacqlvl3pqc2v7lr3nbmxjhkacxs5l7s6", 7 | "url": "https://github.com/clojure/tools.build.git" 8 | } 9 | }, 10 | "maven": { 11 | "aopalliance/aopalliance/1.0/aopalliance-1.0.jar": { 12 | "sha256": "0addec670fedcd3f113c5c8091d783280d23f75e3acb841b61a9cdb079376a08" 13 | }, 14 | "aopalliance/aopalliance/1.0/aopalliance-1.0.pom": { 15 | "sha256": "26e82330157d6b844b67a8064945e206581e772977183e3e31fec6058aa9a59b" 16 | }, 17 | "com/cognitect/aws/api/0.8.539/api-0.8.539.jar": { 18 | "sha256": "614e67f769bb0c6480e793557ea4e0d2365727ce809ed814ecf99501b9db5da9" 19 | }, 20 | "com/cognitect/aws/api/0.8.539/api-0.8.539.pom": { 21 | "sha256": "5df71fed2040cbad327fe02d542b51e1945f446bc42d3a1afbaa77f13cdd89d4" 22 | }, 23 | "com/cognitect/aws/endpoints/1.1.12.150/endpoints-1.1.12.150.jar": { 24 | "sha256": "a98fe61774d25891e199fc6d6b8ea405c3b08de220bdff0926afed21b789944f" 25 | }, 26 | "com/cognitect/aws/endpoints/1.1.12.150/endpoints-1.1.12.150.pom": { 27 | "sha256": "deffd3470cc04d158b9f6aa9d617142e6874ba6a112b4fbec6e036c976cc76d3" 28 | }, 29 | "com/cognitect/aws/s3/814.2.1053.0/s3-814.2.1053.0.jar": { 30 | "sha256": "ab1ec40e9c7268bd69e08d8111a845cf68ab7083b4c15e78a573b29e52290caf" 31 | }, 32 | "com/cognitect/aws/s3/814.2.1053.0/s3-814.2.1053.0.pom": { 33 | "sha256": "04c48d8847fa6beaf7e9423355fc15364d1de73fbe4aee90435924fcf0f49788" 34 | }, 35 | "com/cognitect/http-client/1.0.110/http-client-1.0.110.jar": { 36 | "sha256": "9be8bdef307b4a1e44302a3346911a139a5e5db8507cb51bf7c41df96623192d" 37 | }, 38 | "com/cognitect/http-client/1.0.110/http-client-1.0.110.pom": { 39 | "sha256": "42dec0f6a0dfe3bf7b0c296c1d0106dd25dcc784e922ab532042b3f1869e380e" 40 | }, 41 | "com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar": { 42 | "sha256": "766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7" 43 | }, 44 | "com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.pom": { 45 | "sha256": "19889dbdf1b254b2601a5ee645b8147a974644882297684c798afe5d63d78dfe" 46 | }, 47 | "com/google/errorprone/error_prone_annotations/2.7.1/error_prone_annotations-2.7.1.jar": { 48 | "sha256": "cd5257c08a246cf8628817ae71cb822be192ef91f6881ca4a3fcff4f1de1cff3" 49 | }, 50 | "com/google/errorprone/error_prone_annotations/2.7.1/error_prone_annotations-2.7.1.pom": { 51 | "sha256": "31a872e1149c5f3a8bc05fb4de455e5ea608ecfad1af222cb7637ca6c762ee25" 52 | }, 53 | "com/google/errorprone/error_prone_parent/2.7.1/error_prone_parent-2.7.1.pom": { 54 | "sha256": "0a6e242e28104e8093405ae37969660a438b71c4c1b73fc4ff716db89da88de6" 55 | }, 56 | "com/google/google/5/google-5.pom": { 57 | "sha256": "e09d345e73ca3fbca7f3e05f30deb74e9d39dd6b79a93fee8c511f23417b6828" 58 | }, 59 | "com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar": { 60 | "sha256": "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26" 61 | }, 62 | "com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.pom": { 63 | "sha256": "e96042ce78fecba0da2be964522947c87b40a291b5fd3cd672a434924103c4b9" 64 | }, 65 | "com/google/guava/guava-parent/26.0-android/guava-parent-26.0-android.pom": { 66 | "sha256": "f8698ab46ca996ce889c1afc8ca4f25eb8ac6b034dc898d4583742360016cc04" 67 | }, 68 | "com/google/guava/guava-parent/31.0.1-android/guava-parent-31.0.1-android.pom": { 69 | "sha256": "30a51d34b075c9b4eb6a2da3fba6c1f5047b45225a3a03aebcefc0b7880e5735" 70 | }, 71 | "com/google/guava/guava/31.0.1-android/guava-31.0.1-android.jar": { 72 | "sha256": "9425a423a4cb9d9db0356300722d9bd8e634cf539f29d97bb84f457cccd16eb8" 73 | }, 74 | "com/google/guava/guava/31.0.1-android/guava-31.0.1-android.pom": { 75 | "sha256": "13d4e2998aac652fc6d7b9eaf3e495fa2952bf98ef68a2c49aa5eaa0bbe731a9" 76 | }, 77 | "com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar": { 78 | "sha256": "b372a037d4230aa57fbeffdef30fd6123f9c0c2db85d0aced00c91b974f33f99" 79 | }, 80 | "com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.pom": { 81 | "sha256": "18d4b1db26153d4e55079ce1f76bb1fe05cdb862ef9954a88cbcc4ff38b8679b" 82 | }, 83 | "com/google/inject/guice-parent/4.2.2/guice-parent-4.2.2.pom": { 84 | "sha256": "5a74ba3d22be1ac13b9e782f13a7d957db2a24ded359481394c9e889f1c037d6" 85 | }, 86 | "com/google/inject/guice/4.2.2/guice-4.2.2-no_aop.jar": { 87 | "sha256": "0f4f5fb28609a4d2b38b7f7128be7cf9b541f25283d71b4e56066d99683aafff" 88 | }, 89 | "com/google/inject/guice/4.2.2/guice-4.2.2.pom": { 90 | "sha256": "06f3c3ddad57b30bfe88655456a04731e56a78ad0dd909e65c71881003b96479" 91 | }, 92 | "com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar": { 93 | "sha256": "21af30c92267bd6122c0e0b4d20cccb6641a37eaf956c6540ec471d584e64a7b" 94 | }, 95 | "com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.pom": { 96 | "sha256": "5faca824ba115bee458730337dfdb2fcea46ba2fd774d4304edbf30fa6a3f055" 97 | }, 98 | "commons-codec/commons-codec/1.11/commons-codec-1.11.jar": { 99 | "sha256": "e599d5318e97aa48f42136a2927e6dfa4e8881dff0e6c8e3109ddbbff51d7b7d" 100 | }, 101 | "commons-codec/commons-codec/1.11/commons-codec-1.11.pom": { 102 | "sha256": "c1e7140d1dea8fdf3528bc1e3c5444ac0b541297311f45f9806c213ec3ee9a10" 103 | }, 104 | "commons-io/commons-io/2.11.0/commons-io-2.11.0.jar": { 105 | "sha256": "961b2f6d87dbacc5d54abf45ab7a6e2495f89b75598962d8c723cea9bc210908" 106 | }, 107 | "commons-io/commons-io/2.11.0/commons-io-2.11.0.pom": { 108 | "sha256": "2e016fd7e3244b5f2c20acad834d93aa4790486ee1e4564641361a3e831eef59" 109 | }, 110 | "commons-logging/commons-logging/1.2/commons-logging-1.2.jar": { 111 | "sha256": "daddea1ea0be0f56978ab3006b8ac92834afeefbd9b7e4e6316fca57df0fa636" 112 | }, 113 | "commons-logging/commons-logging/1.2/commons-logging-1.2.pom": { 114 | "sha256": "c91ab5aa570d86f6fd07cc158ec6bc2c50080402972ee9179fe24100739fbb20" 115 | }, 116 | "javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar": { 117 | "sha256": "5909b396ca3a2be10d0eea32c74ef78d816e1b4ead21de1d78de1f890d033e04" 118 | }, 119 | "javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.pom": { 120 | "sha256": "52d73f35f7e638ce3cb56546f879c20e7f7019f72aa20cde1fa80e97865dfd40" 121 | }, 122 | "javax/inject/javax.inject/1/javax.inject-1.jar": { 123 | "sha256": "91c77044a50c481636c32d916fd89c9118a72195390452c81065080f957de7ff" 124 | }, 125 | "javax/inject/javax.inject/1/javax.inject-1.pom": { 126 | "sha256": "943e12b100627804638fa285805a0ab788a680266531e650921ebfe4621a8bfa" 127 | }, 128 | "net/java/jvnet-parent/3/jvnet-parent-3.pom": { 129 | "sha256": "30f5789efa39ddbf96095aada3fc1260c4561faf2f714686717cb2dc5049475a" 130 | }, 131 | "org/apache/apache/13/apache-13.pom": { 132 | "sha256": "ff513db0361fd41237bef4784968bc15aae478d4ec0a9496f811072ccaf3841d" 133 | }, 134 | "org/apache/apache/18/apache-18.pom": { 135 | "sha256": "7831307285fd475bbc36b20ae38e7882f11c3153b1d5930f852d44eda8f33c17" 136 | }, 137 | "org/apache/apache/19/apache-19.pom": { 138 | "sha256": "91f7a33096ea69bac2cbaf6d01feb934cac002c48d8c8cfa9c240b40f1ec21df" 139 | }, 140 | "org/apache/apache/21/apache-21.pom": { 141 | "sha256": "af10c108da014f17cafac7b52b2b4b5a3a1c18265fa2af97a325d9143537b380" 142 | }, 143 | "org/apache/apache/23/apache-23.pom": { 144 | "sha256": "bc10624e0623f36577fac5639ca2936d3240ed152fb6d8d533ab4d270543491c" 145 | }, 146 | "org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.jar": { 147 | "sha256": "dac807f65b07698ff39b1b07bfef3d87ae3fd46d91bbf8a2bc02b2a831616f68" 148 | }, 149 | "org/apache/commons/commons-lang3/3.8.1/commons-lang3-3.8.1.pom": { 150 | "sha256": "ec8e09f75411685205bd0d9d7872cc3622e67c76df44a0a227b278bea04458d5" 151 | }, 152 | "org/apache/commons/commons-parent/34/commons-parent-34.pom": { 153 | "sha256": "3a2e69d06d641d1f3b293126dc9e2e4ea6563bf8c36c87e0ab6fa4292d04b79c" 154 | }, 155 | "org/apache/commons/commons-parent/42/commons-parent-42.pom": { 156 | "sha256": "cd313494c670b483ec256972af1698b330e598f807002354eb765479f604b09c" 157 | }, 158 | "org/apache/commons/commons-parent/47/commons-parent-47.pom": { 159 | "sha256": "8a8ecb570553bf9f1ffae211a8d4ca9ee630c17afe59293368fba7bd9b42fcb7" 160 | }, 161 | "org/apache/commons/commons-parent/52/commons-parent-52.pom": { 162 | "sha256": "75dbe8f34e98e4c3ff42daae4a2f9eb4cbcd3b5f1047d54460ace906dbb4502e" 163 | }, 164 | "org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar": { 165 | "sha256": "6fe9026a566c6a5001608cf3fc32196641f6c1e5e1986d1037ccdbd5f31ef743" 166 | }, 167 | "org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.pom": { 168 | "sha256": "78eb9ada74929fcd63d07adc4f49236841a45cc29d5f817bf45801f513fd7e6c" 169 | }, 170 | "org/apache/httpcomponents/httpcomponents-client/4.5.13/httpcomponents-client-4.5.13.pom": { 171 | "sha256": "9cba594c08db7271d0c20e9845d622bb39e69583910b45e7d5df82f6058d4dd9" 172 | }, 173 | "org/apache/httpcomponents/httpcomponents-core/4.4.13/httpcomponents-core-4.4.13.pom": { 174 | "sha256": "c554e7008e4517c7ef54e005cc8b74f4c87a54a0ea2c6f57be5d0569df51936b" 175 | }, 176 | "org/apache/httpcomponents/httpcomponents-parent/11/httpcomponents-parent-11.pom": { 177 | "sha256": "a901f87b115c55070c7ee43efff63e20e7b02d30af2443ae292bf1f4e532d3aa" 178 | }, 179 | "org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar": { 180 | "sha256": "e06e89d40943245fcfa39ec537cdbfce3762aecde8f9c597780d2b00c2b43424" 181 | }, 182 | "org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.pom": { 183 | "sha256": "8f812d9fa7b72a3d4aa7f825278932a5df344b42a6d8398905879431a1bf9a97" 184 | }, 185 | "org/apache/maven/maven-artifact/3.8.4/maven-artifact-3.8.4.jar": { 186 | "sha256": "4273b4e84805f7350eb61a1eea5debfd71d1147414b3b441b92d535218cdf0ae" 187 | }, 188 | "org/apache/maven/maven-artifact/3.8.4/maven-artifact-3.8.4.pom": { 189 | "sha256": "3557f18cb3ba2732cd1bac763c6213f4c2de6dcb34c7bc32519a85c949e2ace2" 190 | }, 191 | "org/apache/maven/maven-builder-support/3.8.4/maven-builder-support-3.8.4.jar": { 192 | "sha256": "b64161e6ffd30782d97c205942bba219d60c53a8f4442e69abdfd428d7691135" 193 | }, 194 | "org/apache/maven/maven-builder-support/3.8.4/maven-builder-support-3.8.4.pom": { 195 | "sha256": "00ddfa06e1866e4026ce8f2636a267526c512b18d922d8557440f8551fb7bcda" 196 | }, 197 | "org/apache/maven/maven-core/3.8.4/maven-core-3.8.4.jar": { 198 | "sha256": "2415e64ffbc3ff4e7265268f651623342c7b0a9e0a77c5c54b4e82d1522f3189" 199 | }, 200 | "org/apache/maven/maven-core/3.8.4/maven-core-3.8.4.pom": { 201 | "sha256": "9c5215adc79c8d593f934363e2c6dda9d552c9a799495d318e3eb4a672d982e1" 202 | }, 203 | "org/apache/maven/maven-model-builder/3.8.4/maven-model-builder-3.8.4.jar": { 204 | "sha256": "8d0ed4b5cc5c06610f97935982458260165cb7e57c781ca7c9ef8b6e01ce1456" 205 | }, 206 | "org/apache/maven/maven-model-builder/3.8.4/maven-model-builder-3.8.4.pom": { 207 | "sha256": "385b6af055a1eb46834886fc1c2d341a49f15efd44ccc0fa7895a8538b28c11c" 208 | }, 209 | "org/apache/maven/maven-model/3.8.4/maven-model-3.8.4.jar": { 210 | "sha256": "91ec0d6d564a12483e1569b0ef72ff3d9e921c5ba07201fa7ab9c7694db8844a" 211 | }, 212 | "org/apache/maven/maven-model/3.8.4/maven-model-3.8.4.pom": { 213 | "sha256": "c51c635a67896ce79b343139884d94c30a68075eabf3646d03f5f000fadfdc80" 214 | }, 215 | "org/apache/maven/maven-parent/34/maven-parent-34.pom": { 216 | "sha256": "1a8faf7a6a2b848acb26a959954ee115c0d79dbe75a6206fb3b8c7c2f45a237f" 217 | }, 218 | "org/apache/maven/maven-plugin-api/3.8.4/maven-plugin-api-3.8.4.jar": { 219 | "sha256": "3aa48d91a54aab6fea95d98218345621eb3952e693ae591d41b63ac5b86eb76a" 220 | }, 221 | "org/apache/maven/maven-plugin-api/3.8.4/maven-plugin-api-3.8.4.pom": { 222 | "sha256": "151a27e9e61f44f141cf02681360572e6935cab58d99f029c3d08f4aafd65b1d" 223 | }, 224 | "org/apache/maven/maven-repository-metadata/3.8.4/maven-repository-metadata-3.8.4.jar": { 225 | "sha256": "62a97989068af34eef374bedcca120a1c2b0bd5a2d48460d306944084cc495f9" 226 | }, 227 | "org/apache/maven/maven-repository-metadata/3.8.4/maven-repository-metadata-3.8.4.pom": { 228 | "sha256": "b283bce8c0558c59a45148380101cae65a95f58fcb0bc0603fee9899b9c7f9bb" 229 | }, 230 | "org/apache/maven/maven-resolver-provider/3.8.4/maven-resolver-provider-3.8.4.jar": { 231 | "sha256": "046c7d1635f91283b4f7a41b579953857914c7e0d96545b557491537b327e156" 232 | }, 233 | "org/apache/maven/maven-resolver-provider/3.8.4/maven-resolver-provider-3.8.4.pom": { 234 | "sha256": "4c02b07313e220ccb2e2ba5b69406e461aad3058e969dec3b62b1e4c14715c5a" 235 | }, 236 | "org/apache/maven/maven-settings-builder/3.8.4/maven-settings-builder-3.8.4.jar": { 237 | "sha256": "7e72b48fcb3c88a146425e3bd1265c3bc4ac546852fe4bbab61064f1dd1835b7" 238 | }, 239 | "org/apache/maven/maven-settings-builder/3.8.4/maven-settings-builder-3.8.4.pom": { 240 | "sha256": "520a5006a01e6dafa479374a7fd848695cdb90f2d49578f3f7ffdde665052a5a" 241 | }, 242 | "org/apache/maven/maven-settings/3.8.4/maven-settings-3.8.4.jar": { 243 | "sha256": "4f12ed49761c4b486c171996643d8d80246286ab14489a736ce0dd06e6bc6886" 244 | }, 245 | "org/apache/maven/maven-settings/3.8.4/maven-settings-3.8.4.pom": { 246 | "sha256": "304028f76ce547982b4c05cb5a0e2ea2a5020b96384ce43705a2de1b8c14c071" 247 | }, 248 | "org/apache/maven/maven/3.8.4/maven-3.8.4.pom": { 249 | "sha256": "5b6fa7f0b6c50483877590751f5079de10960d4af7260e244883b2197771f32f" 250 | }, 251 | "org/apache/maven/resolver/maven-resolver-api/1.6.3/maven-resolver-api-1.6.3.jar": { 252 | "sha256": "d0b28ed944058ba4f9be4b54c25d6d5269cc4f3f3c49aa450d4dc2f7e0d552f6" 253 | }, 254 | "org/apache/maven/resolver/maven-resolver-api/1.6.3/maven-resolver-api-1.6.3.pom": { 255 | "sha256": "116678679dba3d36d799f672c26ee2443480efa1b1bbb8250f06e0dd5a91a795" 256 | }, 257 | "org/apache/maven/resolver/maven-resolver-connector-basic/1.6.3/maven-resolver-connector-basic-1.6.3.jar": { 258 | "sha256": "52fa1c85e9162c9b0f60511d2d07b74e2a1a9132761bf5ced42da1f09a026f23" 259 | }, 260 | "org/apache/maven/resolver/maven-resolver-connector-basic/1.6.3/maven-resolver-connector-basic-1.6.3.pom": { 261 | "sha256": "fd62fa62ba83a1372cf05a7bad3f66eb814d475e46b568204f09224e869b745d" 262 | }, 263 | "org/apache/maven/resolver/maven-resolver-impl/1.6.3/maven-resolver-impl-1.6.3.jar": { 264 | "sha256": "17aaebe6e3e59df8cb5b4ec210196f7084637312b9bc4ff14cb77ad1ae3c381b" 265 | }, 266 | "org/apache/maven/resolver/maven-resolver-impl/1.6.3/maven-resolver-impl-1.6.3.pom": { 267 | "sha256": "4b41aeb688e244a26d9629c90a286ea284c2fb6550dface2628c7b5a60bc09c7" 268 | }, 269 | "org/apache/maven/resolver/maven-resolver-spi/1.6.3/maven-resolver-spi-1.6.3.jar": { 270 | "sha256": "17441a39045ac19bc4a8068fb7284facebf6337754bf2bf8f26a76b5f98ed108" 271 | }, 272 | "org/apache/maven/resolver/maven-resolver-spi/1.6.3/maven-resolver-spi-1.6.3.pom": { 273 | "sha256": "1f8946c471c16703cbb08040bc7d05d7072ba221504a77d64bee785a3f53d7c3" 274 | }, 275 | "org/apache/maven/resolver/maven-resolver-transport-file/1.6.3/maven-resolver-transport-file-1.6.3.jar": { 276 | "sha256": "dceaf3d095d9aaee0f4abc5c9c05eac76ad82929d6cbbf610ab2350e61d04750" 277 | }, 278 | "org/apache/maven/resolver/maven-resolver-transport-file/1.6.3/maven-resolver-transport-file-1.6.3.pom": { 279 | "sha256": "af4b6f7e00311f524bfd9bbfebdb84761a3127602ddfa49077c786999243b151" 280 | }, 281 | "org/apache/maven/resolver/maven-resolver-transport-http/1.6.3/maven-resolver-transport-http-1.6.3.jar": { 282 | "sha256": "0a009a075f3cda76037585e2fdcf9d65e52d38f6d6be4382f1b5257c3a3b2f1b" 283 | }, 284 | "org/apache/maven/resolver/maven-resolver-transport-http/1.6.3/maven-resolver-transport-http-1.6.3.pom": { 285 | "sha256": "4ef353400ee0a0a102124f143827e6420defac77c0b81b75ad0f18d1bfad9adf" 286 | }, 287 | "org/apache/maven/resolver/maven-resolver-util/1.6.3/maven-resolver-util-1.6.3.jar": { 288 | "sha256": "cdcad9355b625743f40e4cead9a96353404e010c39c808d23b044be331afa251" 289 | }, 290 | "org/apache/maven/resolver/maven-resolver-util/1.6.3/maven-resolver-util-1.6.3.pom": { 291 | "sha256": "d1c35e76f4166f13b0a51d565acf967e9c3c79e2ccb69ccbf4fac098e4b7c466" 292 | }, 293 | "org/apache/maven/resolver/maven-resolver/1.6.3/maven-resolver-1.6.3.pom": { 294 | "sha256": "97397ee75b130ee2bb4a28e0fbb1259595a8361338aba082f8af147398e8a3ec" 295 | }, 296 | "org/apache/maven/shared/maven-shared-components/34/maven-shared-components-34.pom": { 297 | "sha256": "64d0edb5f21cfff600b1c3ab7d45f9754cd18ba5fbf83b3d1bb7c4849437d8e3" 298 | }, 299 | "org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.jar": { 300 | "sha256": "7925d9c5a0e2040d24b8fae3f612eb399cbffe5838b33ba368777dc7bddf6dda" 301 | }, 302 | "org/apache/maven/shared/maven-shared-utils/3.3.4/maven-shared-utils-3.3.4.pom": { 303 | "sha256": "bf83482d96f76d63699d63e125e64f4ac73c8178985733662dbd69af9c60339e" 304 | }, 305 | "org/bouncycastle/bcprov-jdk18on/1.81/bcprov-jdk18on-1.81.jar": { 306 | "sha256": "249f396412b0c0ce67f25c8197da757b241b8be3ec4199386c00704a2457459b" 307 | }, 308 | "org/bouncycastle/bcprov-jdk18on/1.81/bcprov-jdk18on-1.81.pom": { 309 | "sha256": "203990122be0fdd34bf12d0b788c0655161386a8e858ba43f06e3709c2cc74cc" 310 | }, 311 | "org/bouncycastle/bcprov-jdk18on/maven-metadata-central.xml": { 312 | "content": "org.bouncycastlebcprov-jdk18on1.81" 313 | }, 314 | "org/bouncycastle/bcutil-jdk18on/1.81/bcutil-jdk18on-1.81.jar": { 315 | "sha256": "31a5fe3a7ba42e3457b83930f0ff8d679fb5b76eaadf2b51f5740c92a394bf52" 316 | }, 317 | "org/bouncycastle/bcutil-jdk18on/1.81/bcutil-jdk18on-1.81.pom": { 318 | "sha256": "6543ee9dd6c554e6fdbefc39cc74f4258f452d10b253a5d6cd78548bf9492dd4" 319 | }, 320 | "org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.jar": { 321 | "sha256": "11d134b245e9cacc474514d2d66b5b8618f8039a1465cdc55bbc0b34e0008b7a" 322 | }, 323 | "org/checkerframework/checker-compat-qual/2.5.5/checker-compat-qual-2.5.5.pom": { 324 | "sha256": "42f21ebd9183be049ee5afc822b345403a5da764037875734a039b0d6e0353be" 325 | }, 326 | "org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar": { 327 | "sha256": "ff10785ac2a357ec5de9c293cb982a2cbb605c0309ea4cc1cb9b9bc6dbe7f3cb" 328 | }, 329 | "org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.pom": { 330 | "sha256": "775b7ae36e62820b3b86dc1aa39af37c0ac4b85ff48f7fe485a922a2790f46b9" 331 | }, 332 | "org/clojure/clojure/1.10.3/clojure-1.10.3.jar": { 333 | "sha256": "7f12472daed8f6b517498aaa2ab13a562475c3edf51478e4581cc761e98979a3" 334 | }, 335 | "org/clojure/clojure/1.10.3/clojure-1.10.3.pom": { 336 | "sha256": "189c00c433407496a2fbb0eccb37908c94955d91ead1be48156744ecc1816d94" 337 | }, 338 | "org/clojure/clojure/1.12.0/clojure-1.12.0.jar": { 339 | "sha256": "c45333006441a059ea9fdb1341fc6c1f40b921a10dccd82665311e48a0384763" 340 | }, 341 | "org/clojure/clojure/1.12.0/clojure-1.12.0.pom": { 342 | "sha256": "29f462aa89cb97645758418a5f08d4c1a82b735c96e7af49817d16aa9b908150" 343 | }, 344 | "org/clojure/core.async/1.5.644/core.async-1.5.644.jar": { 345 | "sha256": "c7890901420932ab0233d99695a53c3d5f9eee2f2d4fbb7d85076c52cc45f447" 346 | }, 347 | "org/clojure/core.async/1.5.644/core.async-1.5.644.pom": { 348 | "sha256": "dedf42a27f933934695ab13c425223b1d53765ade5e5e2c060080bc0bf4224ca" 349 | }, 350 | "org/clojure/core.cache/1.0.225/core.cache-1.0.225.jar": { 351 | "sha256": "c153aa947eda5cdbd8a93882c8fbabd5037d4ad7311802b4bcd8015469f6a5b1" 352 | }, 353 | "org/clojure/core.cache/1.0.225/core.cache-1.0.225.pom": { 354 | "sha256": "39e341f67bfef393e478390d4988f119a779ca449066cb0d33f80b42ff04f43d" 355 | }, 356 | "org/clojure/core.memoize/1.0.253/core.memoize-1.0.253.jar": { 357 | "sha256": "4a910585182ab326c1d0a20d34315be1563b5a58437d41c021dd7fe9911e1ed6" 358 | }, 359 | "org/clojure/core.memoize/1.0.253/core.memoize-1.0.253.pom": { 360 | "sha256": "84c2fab7a32ca3c1e40c41a6ecc9bd536e947b30580e77b8d5dc232a34925eac" 361 | }, 362 | "org/clojure/core.specs.alpha/0.2.56/core.specs.alpha-0.2.56.jar": { 363 | "sha256": "fcf442bde02b04a863f2fcc58ee6a2a30c4cf0c970f7dab85634f0ab711166b6" 364 | }, 365 | "org/clojure/core.specs.alpha/0.2.56/core.specs.alpha-0.2.56.pom": { 366 | "sha256": "01aaf17483ff1c7482c92a07295d7e7bc6e3b3322df44b29b5738d020ff00740" 367 | }, 368 | "org/clojure/core.specs.alpha/0.4.74/core.specs.alpha-0.4.74.jar": { 369 | "sha256": "eb73ac08cf49ba840c88ba67beef11336ca554333d9408808d78946e0feb9ddb" 370 | }, 371 | "org/clojure/core.specs.alpha/0.4.74/core.specs.alpha-0.4.74.pom": { 372 | "sha256": "33410eb8aa73d52d957b3dc6e0a65f3998ac0623cbd813d90c33e6e689c42429" 373 | }, 374 | "org/clojure/data.codec/0.1.0/data.codec-0.1.0.jar": { 375 | "sha256": "683d681950403c61c236354181eba1b5c8daf6c13581ea1389934a7d5eb28e07" 376 | }, 377 | "org/clojure/data.codec/0.1.0/data.codec-0.1.0.pom": { 378 | "sha256": "f13d996846d6d7a702436265aa38632a674692025a418a56695c502813ddda78" 379 | }, 380 | "org/clojure/data.csv/1.0.0/data.csv-1.0.0.jar": { 381 | "sha256": "92170a3ca50b6c8d90322ddeaf462fcb3c83cd42dec96db85f2173c502765190" 382 | }, 383 | "org/clojure/data.csv/1.0.0/data.csv-1.0.0.pom": { 384 | "sha256": "25a3978a8f654b6042eeca8afaac48f4d796117add2ed1008bd271b442e6288f" 385 | }, 386 | "org/clojure/data.json/2.4.0/data.json-2.4.0.jar": { 387 | "sha256": "ec3f2f994e1eedd420313c452ba5518c5f5c97be5152dfed5650bc6611486adf" 388 | }, 389 | "org/clojure/data.json/2.4.0/data.json-2.4.0.pom": { 390 | "sha256": "a42ea70f17b517666ad8492a1bfa917de5defac7b47c516f6d0d4d89c2780cf4" 391 | }, 392 | "org/clojure/data.priority-map/1.1.0/data.priority-map-1.1.0.jar": { 393 | "sha256": "fe51af4472fa0f1bfd66f3871de55076402ff6615a74bcb17b37c402a0ea6f4c" 394 | }, 395 | "org/clojure/data.priority-map/1.1.0/data.priority-map-1.1.0.pom": { 396 | "sha256": "465200f94f56d8868e0fd7aa0becc62ffb02cfaf420a49ad117910e63af5dffe" 397 | }, 398 | "org/clojure/data.xml/0.2.0-alpha6/data.xml-0.2.0-alpha6.jar": { 399 | "sha256": "90882b4ac6f610e5fd711f885545a4909023b63d8e7d595918d97d181b59a828" 400 | }, 401 | "org/clojure/data.xml/0.2.0-alpha6/data.xml-0.2.0-alpha6.pom": { 402 | "sha256": "1f8880b9eb2484686c9eca3c306845d8db91e76a4d1c5f6457554edecca76336" 403 | }, 404 | "org/clojure/java.classpath/1.0.0/java.classpath-1.0.0.jar": { 405 | "sha256": "c14e0e10304a5e5cfd2cc742fbdefac1f5293eec6070c2ffe8903fb5c7fe7d6f" 406 | }, 407 | "org/clojure/java.classpath/1.0.0/java.classpath-1.0.0.pom": { 408 | "sha256": "0be013851457fc24c434ce45534643f226e5c10800486253fd373f2e09545e28" 409 | }, 410 | "org/clojure/pom.contrib/0.0.25/pom.contrib-0.0.25.pom": { 411 | "sha256": "ebc7b376e56d83f6c484cdb1d371efdc0130ddbbcade7d6da6e354f4e426fc8b" 412 | }, 413 | "org/clojure/pom.contrib/0.2.2/pom.contrib-0.2.2.pom": { 414 | "sha256": "e0ea227c49c5c3e30754cd26fcc57be7e4de973fe43aa5cc6667401ec5c10323" 415 | }, 416 | "org/clojure/pom.contrib/0.3.0/pom.contrib-0.3.0.pom": { 417 | "sha256": "7f182b3b2a543e057460bf93ffc5e9cef6ac527df1a1376a7d9922ebe79ef119" 418 | }, 419 | "org/clojure/pom.contrib/1.0.0/pom.contrib-1.0.0.pom": { 420 | "sha256": "1011faae5c9e496858e4c650ba33713abd469a5d52e00aeb7f5b01a2bcaf47e9" 421 | }, 422 | "org/clojure/pom.contrib/1.1.0/pom.contrib-1.1.0.pom": { 423 | "sha256": "10ece4bb5f9829010dc16561f42ebb83baf2f47605b51f9105b92f3caa089715" 424 | }, 425 | "org/clojure/pom.contrib/1.2.0/pom.contrib-1.2.0.pom": { 426 | "sha256": "0916d7a41558b9500a427c886fa29827ace5259206be3ad33e64e296fc1a6111" 427 | }, 428 | "org/clojure/spec.alpha/0.2.194/spec.alpha-0.2.194.jar": { 429 | "sha256": "cf6899f985298c64b13ea129946ad9028dee8dadf0eab9ae18e455027d38249c" 430 | }, 431 | "org/clojure/spec.alpha/0.2.194/spec.alpha-0.2.194.pom": { 432 | "sha256": "5a11f0e1e8b3c052e651c498c6945b44db3535bf2c18719fdcf65df1f88b13e6" 433 | }, 434 | "org/clojure/spec.alpha/0.5.238/spec.alpha-0.5.238.jar": { 435 | "sha256": "94cd99b6ea639641f37af4860a643b6ed399ee5a8be5d717cff0b663c8d75077" 436 | }, 437 | "org/clojure/spec.alpha/0.5.238/spec.alpha-0.5.238.pom": { 438 | "sha256": "3cba7e0dcc085c4ce92dddffea226124ffac178be79bd0379b5b2e30a969cbea" 439 | }, 440 | "org/clojure/tools.analyzer.jvm/1.2.1/tools.analyzer.jvm-1.2.1.jar": { 441 | "sha256": "f07259864b8d0dc5935ba840c737aedb35fd9b0db630d544f9fa278184635927" 442 | }, 443 | "org/clojure/tools.analyzer.jvm/1.2.1/tools.analyzer.jvm-1.2.1.pom": { 444 | "sha256": "ba7218cc0eb4e1595f2676587819c6aa0bd07c287644d8d995fa13d3c3d74c03" 445 | }, 446 | "org/clojure/tools.analyzer/1.1.0/tools.analyzer-1.1.0.jar": { 447 | "sha256": "1368b6bc3bddf7c398d5784d10548f44c4ed2d7c01ea105ac0efde9cf5e0df21" 448 | }, 449 | "org/clojure/tools.analyzer/1.1.0/tools.analyzer-1.1.0.pom": { 450 | "sha256": "3720712fb92761a35c94d0ee415d6bf15841ef469f073646776875e79dc9b706" 451 | }, 452 | "org/clojure/tools.cli/1.0.206/tools.cli-1.0.206.jar": { 453 | "sha256": "6b97d2691919b9ea944a898fec798a90ecb81a17732916edbc73a6f5afd1f616" 454 | }, 455 | "org/clojure/tools.cli/1.0.206/tools.cli-1.0.206.pom": { 456 | "sha256": "fd00cd0b8ab5c9f7c16958b056502dbaf72a47a4cb886e8002b5b0dbbb38f49e" 457 | }, 458 | "org/clojure/tools.deps.alpha/0.12.1148/tools.deps.alpha-0.12.1148.jar": { 459 | "sha256": "3b375c0b50aee4a8373dae2d1ef985fa439d19c05db51a954bfedb2627e703ff" 460 | }, 461 | "org/clojure/tools.deps.alpha/0.12.1148/tools.deps.alpha-0.12.1148.pom": { 462 | "sha256": "652d0ac8ffc76b5089bd04cb90c44d16c4d687ece70f3018e5a92fc07e0a0431" 463 | }, 464 | "org/clojure/tools.gitlibs/2.4.172/tools.gitlibs-2.4.172.jar": { 465 | "sha256": "f8bc385c7bba1b2e0122e7f3c454a1c9161f639370d34bb4b2afe9e80f7e0890" 466 | }, 467 | "org/clojure/tools.gitlibs/2.4.172/tools.gitlibs-2.4.172.pom": { 468 | "sha256": "6323060c1d0b1748a06b05df3e8f23b033232586be814c296556e8f76434ab8f" 469 | }, 470 | "org/clojure/tools.logging/1.2.1/tools.logging-1.2.1.jar": { 471 | "sha256": "ca9999416e3cc5b72034936c8bcc599f2a86850ebb9ceb4316a4a2687f315b6b" 472 | }, 473 | "org/clojure/tools.logging/1.2.1/tools.logging-1.2.1.pom": { 474 | "sha256": "260e76be75e7d06312530cc8bf3f74b0e34a2cb9dc3de231ff0e6712ffb7a378" 475 | }, 476 | "org/clojure/tools.namespace/1.2.0/tools.namespace-1.2.0.jar": { 477 | "sha256": "bc9ac99051089473943d5b3d3087d09d2d365adae06440671e5fb8a0061bd7e9" 478 | }, 479 | "org/clojure/tools.namespace/1.2.0/tools.namespace-1.2.0.pom": { 480 | "sha256": "b525e067c837f438fde000d78afaca1ded85d00c0d479d287aa9f4a1ae36b5ba" 481 | }, 482 | "org/clojure/tools.reader/1.3.6/tools.reader-1.3.6.jar": { 483 | "sha256": "11d1b31f2c65c3355b292bb9b44b8fcafda54b44da63e34ab97b79a8ab3bb8e0" 484 | }, 485 | "org/clojure/tools.reader/1.3.6/tools.reader-1.3.6.pom": { 486 | "sha256": "aef5ee828b7cb14a1c58f45b9f8a10ff340c5769925ea0ef5c35d1e49d920bea" 487 | }, 488 | "org/codehaus/plexus/plexus-cipher/2.0/plexus-cipher-2.0.jar": { 489 | "sha256": "9a7f1b5c5a9effd61eadfd8731452a2f76a8e79111fac391ef75ea801bea203a" 490 | }, 491 | "org/codehaus/plexus/plexus-cipher/2.0/plexus-cipher-2.0.pom": { 492 | "sha256": "04842f331b0225b85a5e20439710d228ea7a6302abe6d53c9c9846fbc5bf99ff" 493 | }, 494 | "org/codehaus/plexus/plexus-classworlds/2.6.0/plexus-classworlds-2.6.0.jar": { 495 | "sha256": "52f77c5ec49f787c9c417ebed5d6efd9922f44a202f217376e4f94c0d74f3549" 496 | }, 497 | "org/codehaus/plexus/plexus-classworlds/2.6.0/plexus-classworlds-2.6.0.pom": { 498 | "sha256": "469a6c59f92effa62c0797ce7d52d2c03cf8ee1034b923c360dd78a9f505a7ba" 499 | }, 500 | "org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.jar": { 501 | "sha256": "bde3617ce9b5bcf9584126046080043af6a4b3baea40a3b153f02e7bbc32acac" 502 | }, 503 | "org/codehaus/plexus/plexus-component-annotations/2.1.0/plexus-component-annotations-2.1.0.pom": { 504 | "sha256": "0670b605255f7dc9a454daaec7912918ccf1b5475cbfca374363b51fcfd4ea00" 505 | }, 506 | "org/codehaus/plexus/plexus-containers/2.1.0/plexus-containers-2.1.0.pom": { 507 | "sha256": "94d5aedb3c46023265396527cf8ce7fc944b7bd79e4ebab907386418eb5a08d7" 508 | }, 509 | "org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.jar": { 510 | "sha256": "b3b5412ce17889103ea564bcdfcf9fb3dfa540344ffeac6b538a73c9d7182662" 511 | }, 512 | "org/codehaus/plexus/plexus-interpolation/1.26/plexus-interpolation-1.26.pom": { 513 | "sha256": "e1c10b3a6335641eb74a668daa9ee86ae4ab06610174e59ba07c8c68042327f7" 514 | }, 515 | "org/codehaus/plexus/plexus-sec-dispatcher/2.0/plexus-sec-dispatcher-2.0.jar": { 516 | "sha256": "873139960c4c780176dda580b003a2c4bf82188bdce5bb99234e224ef7acfceb" 517 | }, 518 | "org/codehaus/plexus/plexus-sec-dispatcher/2.0/plexus-sec-dispatcher-2.0.pom": { 519 | "sha256": "9b28bb307017938a94d06c85b2b099bc46912b859d084fb293e569f432eadb7c" 520 | }, 521 | "org/codehaus/plexus/plexus-utils/3.3.0/plexus-utils-3.3.0.pom": { 522 | "sha256": "79c9792073fdee3cdbebd61a76ba8c2dd11624a9f85d128bae56bda19e20475c" 523 | }, 524 | "org/codehaus/plexus/plexus-utils/3.4.1/plexus-utils-3.4.1.jar": { 525 | "sha256": "52d85e04b3918722af11d12855b4a8257df96a0e76c8f4e3852e6faa851f357b" 526 | }, 527 | "org/codehaus/plexus/plexus-utils/3.4.1/plexus-utils-3.4.1.pom": { 528 | "sha256": "b144cff9b1c6259fec4fee5bdfc0f360d69c23abd4ea6e544533a949b69e3582" 529 | }, 530 | "org/codehaus/plexus/plexus/5.1/plexus-5.1.pom": { 531 | "sha256": "a343e44ff5796aed0ea60be11454c935ce20ab1c5f164acc8da574482dcbc7e9" 532 | }, 533 | "org/codehaus/plexus/plexus/8/plexus-8.pom": { 534 | "sha256": "ffa349db04e7abf65885bdc5a2062f4197c0ff9d3f1f4e2aa5720b77233f742c" 535 | }, 536 | "org/eclipse/jetty/jetty-client/9.4.44.v20210927/jetty-client-9.4.44.v20210927.jar": { 537 | "sha256": "81c335a33fea19ab71470e2b89295161f98a773fd3dfba1f4c4f9a358608090d" 538 | }, 539 | "org/eclipse/jetty/jetty-client/9.4.44.v20210927/jetty-client-9.4.44.v20210927.pom": { 540 | "sha256": "1627338bbacba002b74047d273f1b3e252e177349a0e699cf39b0eb8e473a010" 541 | }, 542 | "org/eclipse/jetty/jetty-http/9.4.44.v20210927/jetty-http-9.4.44.v20210927.jar": { 543 | "sha256": "0a09fac4c0ea826f920cfe8d5beced61dcd8fec0eae99b88c7619609fa0dc403" 544 | }, 545 | "org/eclipse/jetty/jetty-http/9.4.44.v20210927/jetty-http-9.4.44.v20210927.pom": { 546 | "sha256": "ee853d5c360d9ad46a7694e95f0aeb6b10b2e407ea12c8c423a1bec4356f92ae" 547 | }, 548 | "org/eclipse/jetty/jetty-io/9.4.44.v20210927/jetty-io-9.4.44.v20210927.jar": { 549 | "sha256": "3c6f1105500921aa4f9687c3a1b5fd9eba4661a5f438aa089829c2ecc9726745" 550 | }, 551 | "org/eclipse/jetty/jetty-io/9.4.44.v20210927/jetty-io-9.4.44.v20210927.pom": { 552 | "sha256": "fca766c2c259b63c669e8e49bbbdfc0a84b4d554a276589065ae0c0db828e9ad" 553 | }, 554 | "org/eclipse/jetty/jetty-project/9.4.44.v20210927/jetty-project-9.4.44.v20210927.pom": { 555 | "sha256": "fc1f9083e29d415aeec979b6ebf1506e536c05bdbecb5f601a192ccc98e4a0ad" 556 | }, 557 | "org/eclipse/jetty/jetty-util/9.4.44.v20210927/jetty-util-9.4.44.v20210927.jar": { 558 | "sha256": "539179024520b614f62d5d83f25bea111f7b991c399e5f737fa6aa2750489079" 559 | }, 560 | "org/eclipse/jetty/jetty-util/9.4.44.v20210927/jetty-util-9.4.44.v20210927.pom": { 561 | "sha256": "36440e0d44cea802a45b704191d8c3b4d67c8c394c8a02ab78c571ef7a1cd2ba" 562 | }, 563 | "org/eclipse/sisu/org.eclipse.sisu.inject/0.3.5/org.eclipse.sisu.inject-0.3.5.jar": { 564 | "sha256": "c5994010bcdce1d2bd603a4d50c47191ddbd7875d1157b23aaa26d33c82fda13" 565 | }, 566 | "org/eclipse/sisu/org.eclipse.sisu.inject/0.3.5/org.eclipse.sisu.inject-0.3.5.pom": { 567 | "sha256": "c2976972b4242ffd8604716d8475f56755da0fa28618344ec4e5327810696d71" 568 | }, 569 | "org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.5/org.eclipse.sisu.plexus-0.3.5.jar": { 570 | "sha256": "7e4c61096d70826f20f7a7d55c59a5528e7aa5ad247ee2dfe544e4dd25f6a784" 571 | }, 572 | "org/eclipse/sisu/org.eclipse.sisu.plexus/0.3.5/org.eclipse.sisu.plexus-0.3.5.pom": { 573 | "sha256": "786523c9d78258a74aa13447a1676c2172acfdf432165d7adae2b7876d2d83d3" 574 | }, 575 | "org/eclipse/sisu/sisu-inject/0.3.5/sisu-inject-0.3.5.pom": { 576 | "sha256": "5f32ecab9c8f6dff1f9e41b853e40d8f23a2508219154ef67cc00d4556f5f5dd" 577 | }, 578 | "org/eclipse/sisu/sisu-plexus/0.3.5/sisu-plexus-0.3.5.pom": { 579 | "sha256": "6eba0902efd899aec0d8d19ac3cbc53123cd41139fe0e1d29cc5c874a791b9de" 580 | }, 581 | "org/junit/junit-bom/5.7.2/junit-bom-5.7.2.pom": { 582 | "sha256": "cd14aaa869991f82021c585d570d31ff342bcba58bb44233b70193771b96487b" 583 | }, 584 | "org/junit/junit-bom/5.8.1/junit-bom-5.8.1.pom": { 585 | "sha256": "ef7dc47f8e4a16864f4779728e87ed78539819e4fb892768a9da6b8ef903f863" 586 | }, 587 | "org/ow2/asm/asm-parent/5.2/asm-parent-5.2.pom": { 588 | "sha256": "cbfacd5dd812db16dc910994007fe58d9402a25507f81a1c2218e15c2c1bedfa" 589 | }, 590 | "org/ow2/asm/asm/5.2/asm-5.2.jar": { 591 | "sha256": "3e5ea0d7da2c5155ef4f470d9092d42de34e3f53db6589c7c07d6721adf4ba3e" 592 | }, 593 | "org/ow2/asm/asm/5.2/asm-5.2.pom": { 594 | "sha256": "289f7fbbd7b0c576d5286e8adcf8d0735134d3915efea6436e2be35c11fcf050" 595 | }, 596 | "org/ow2/ow2/1.3/ow2-1.3.pom": { 597 | "sha256": "51215c67d2c068d8b7d2f6f80f51372a098075deccc448d4bdd7b987ba8328fb" 598 | }, 599 | "org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.jar": { 600 | "sha256": "71e9ee37b9e4eb7802a2acc5f41728a4cf3915e7483d798db3b4ff2ec8847c50" 601 | }, 602 | "org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.pom": { 603 | "sha256": "16736dd4e71e7097b758be1553506f19a541eeb7766dc36355adaed7a536b455" 604 | }, 605 | "org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.jar": { 606 | "sha256": "3624f8474c1af46d75f98bc097d7864a323c81b3808aa43689a6e1c601c027be" 607 | }, 608 | "org/slf4j/slf4j-api/1.7.32/slf4j-api-1.7.32.pom": { 609 | "sha256": "001cde5b3c6ba91070425cfe9f2e695e4aeb8bc290a2d4cd96531127ab244fe5" 610 | }, 611 | "org/slf4j/slf4j-nop/1.7.32/slf4j-nop-1.7.32.jar": { 612 | "sha256": "f2d20b60b2b87fc1ca904e0cd4520deeeebf8a9c5b723ae2493cc4219389d782" 613 | }, 614 | "org/slf4j/slf4j-nop/1.7.32/slf4j-nop-1.7.32.pom": { 615 | "sha256": "5c1bb97f392cf7bc9d04fd1488d69857797036708ddd7f99cb39f3ec7518d733" 616 | }, 617 | "org/slf4j/slf4j-parent/1.7.30/slf4j-parent-1.7.30.pom": { 618 | "sha256": "11647956e48a0c5bfb3ac33f6da7e83f341002b6857efd335a505b687be34b75" 619 | }, 620 | "org/slf4j/slf4j-parent/1.7.32/slf4j-parent-1.7.32.pom": { 621 | "sha256": "5ab349d0f4c7bc08ed0ef1f4d9386cb1940a2f4d6f152150e16dbbecc0b83c70" 622 | }, 623 | "org/sonatype/oss/oss-parent/5/oss-parent-5.pom": { 624 | "sha256": "1678d4120a585d8a630131aeec4c524d928398583b7eab616ee7d5a87f520d3d" 625 | }, 626 | "org/sonatype/oss/oss-parent/7/oss-parent-7.pom": { 627 | "sha256": "b51f8867c92b6a722499557fc3a1fdea77bdf9ef574722fe90ce436a29559454" 628 | }, 629 | "org/sonatype/oss/oss-parent/9/oss-parent-9.pom": { 630 | "sha256": "fb40265f982548212ff82e362e59732b2187ec6f0d80182885c14ef1f982827a" 631 | } 632 | } 633 | } 634 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | --------------------------------------------------------------------------------