241 lines
6.9 KiB
Nix
241 lines
6.9 KiB
Nix
# generated by clj2nix-1.1.0-rc
|
|
{ fetchMavenArtifact, fetchgit, lib }:
|
|
|
|
let repos = [
|
|
"https://repo1.maven.org/maven2/"
|
|
"https://repo.clojars.org/" ];
|
|
|
|
in rec {
|
|
makePaths = {extraClasspaths ? []}:
|
|
if (builtins.typeOf extraClasspaths != "list")
|
|
then builtins.throw "extraClasspaths must be of type 'list'!"
|
|
else (lib.concatMap (dep:
|
|
builtins.map (path:
|
|
if builtins.isString path then
|
|
path
|
|
else if builtins.hasAttr "jar" path then
|
|
path.jar
|
|
else if builtins.hasAttr "outPath" path then
|
|
path.outPath
|
|
else
|
|
path
|
|
)
|
|
dep.paths)
|
|
packages) ++ extraClasspaths;
|
|
makeClasspaths = {extraClasspaths ? []}:
|
|
if (builtins.typeOf extraClasspaths != "list")
|
|
then builtins.throw "extraClasspaths must be of type 'list'!"
|
|
else builtins.concatStringsSep ":" (makePaths {inherit extraClasspaths;});
|
|
packageSources = builtins.map (dep: dep.src) packages;
|
|
packages = [
|
|
rec {
|
|
name = "clojure/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "clojure";
|
|
groupId = "org.clojure";
|
|
sha512 = "efb87dfd347d2be6cb251d550e312d77797e35500b75ebe8e3fca824d16223803305ce89d4ae0349e5dff22a99c24b8719bf791f24685a12404bd56a44693010";
|
|
version = "1.11.0";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "tools.analyzer/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "tools.analyzer";
|
|
groupId = "org.clojure";
|
|
sha512 = "c51752a714848247b05c6f98b54276b4fe8fd44b3d970070b0f30cd755ac6656030fd8943a1ffd08279af8eeff160365be47791e48f05ac9cc2488b6e2dfe504";
|
|
version = "1.1.0";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "tools.logging/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "tools.logging";
|
|
groupId = "org.clojure";
|
|
sha512 = "f1381bf5bf71048298241738d7b0b0ee5e90e4666ec7067f7544898beb8e3370a93471ffc6766537b5451f820b9aa96432a1e50bf4e21bda6e105e4c92727cbc";
|
|
version = "0.3.1";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "core.specs.alpha/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "core.specs.alpha";
|
|
groupId = "org.clojure";
|
|
sha512 = "f521f95b362a47bb35f7c85528c34537f905fb3dd24f2284201e445635a0df701b35d8419d53c6507cc78d3717c1f83cda35ea4c82abd8943cd2ab3de3fcad70";
|
|
version = "0.2.62";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "spec.alpha/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "spec.alpha";
|
|
groupId = "org.clojure";
|
|
sha512 = "ddfe4fa84622abd8ac56e2aa565a56e6bdc0bf330f377ff3e269ddc241bb9dbcac332c13502dfd4c09c2c08fe24d8d2e8cf3d04a1bc819ca5657b4e41feaa7c2";
|
|
version = "0.3.218";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "tools.cli/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "tools.cli";
|
|
groupId = "org.clojure";
|
|
sha512 = "1d88aa03eb6a664bf2c0ce22c45e7296d54d716e29b11904115be80ea1661623cf3e81fc222d164047058239010eb678af92ffedc7c3006475cceb59f3b21265";
|
|
version = "1.0.206";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "tools.analyzer.jvm/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "tools.analyzer.jvm";
|
|
groupId = "org.clojure";
|
|
sha512 = "36ad50a7a79c47dea16032fc4b927bd7b56b8bedcbd20cc9c1b9c85edede3a455369b8806509b56a48457dcd32e1f708f74228bce2b4492bd6ff6fc4f1219d56";
|
|
version = "1.2.2";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "asm/org.ow2.asm";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "asm";
|
|
groupId = "org.ow2.asm";
|
|
sha512 = "876eac7406e60ab8b9bd6cd3c221960eaa53febea176a88ae02f4fa92dbcfe80a3c764ba390d96b909c87269a30a69b1ee037a4c642c2f535df4ea2e0dd499f2";
|
|
version = "9.2";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "data.csv/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "data.csv";
|
|
groupId = "org.clojure";
|
|
sha512 = "6b667a56cbb6632a90564f217f9c28a6670c13c729fb205ced091d9ee006382143dd6b615dd5a4f900660946199cac449fe9fabc90820bb34b92a9e6c8550473";
|
|
version = "1.0.1";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "core.match/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "core.match";
|
|
groupId = "org.clojure";
|
|
sha512 = "52ada3bbe73ed1b429be811d3990df0cdb3e9d50f2a6c92b70d490a8ea922d4794da93c3b7487653f801954fc599704599b318b4d7926a9594583df37c55e926";
|
|
version = "1.0.0";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "tools.reader/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "tools.reader";
|
|
groupId = "org.clojure";
|
|
sha512 = "3481259c7a1eac719db2921e60173686726a0c2b65879d51a64d516a37f6120db8ffbb74b8bd273404285d7b25143ab5c7ced37e7c0eaf4ab1e44586ccd3c651";
|
|
version = "1.3.6";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "core.memoize/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "core.memoize";
|
|
groupId = "org.clojure";
|
|
sha512 = "67196537084b7cc34a01454d2a3b72de3fddce081b72d7a6dc1592d269a6c2728b79630bd2d52c1bf2d2f903c12add6f23df954c02ef8237f240d7394ccc3dde";
|
|
version = "1.0.253";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "data.priority-map/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "data.priority-map";
|
|
groupId = "org.clojure";
|
|
sha512 = "bb8bc5dbfd3738c36b99a51880ac3f1381d6564e67601549ef5e7ae2b900e53cdcdfb8d0fa4bf32fb8ebc4de89d954bfa3ab7e8a1122bc34ee5073c7c707ac13";
|
|
version = "1.1.0";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
(rec {
|
|
name = "arachne-framework/valuehash";
|
|
src = fetchgit {
|
|
name = "valuehash";
|
|
url = "https://git.fudo.org/fudo-public/valuehash.git";
|
|
rev = "9d2dbafdb5db886a57f44c5b7fe32c824713e6c7";
|
|
sha256 = "1civ393c4yy9p2xbmrrvpbyqczx55k3fkvimkf850fl62ns5zl9r";
|
|
};
|
|
paths = map (path: src + path) [
|
|
"/src"
|
|
];
|
|
})
|
|
|
|
rec {
|
|
name = "core.cache/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "core.cache";
|
|
groupId = "org.clojure";
|
|
sha512 = "0a07ceffc2fa3a536b23773eefc7ef5e1108913b93c3a5416116a6566de76dd5c218f3fb0cc19415cbaa8843838de310b76282f20bf1fc3467006c9ec373667e";
|
|
version = "1.0.225";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
rec {
|
|
name = "core.async/org.clojure";
|
|
src = fetchMavenArtifact {
|
|
inherit repos;
|
|
artifactId = "core.async";
|
|
groupId = "org.clojure";
|
|
sha512 = "160a77da25382d7c257eee56cfe83538620576a331e025a2d672fc26d9f04e606666032395f3c2e26247c782544816a5862348f3a921b1ffffcd309c62ac64f5";
|
|
version = "1.5.648";
|
|
|
|
};
|
|
paths = [ src ];
|
|
}
|
|
|
|
];
|
|
}
|
|
|