{"id":19858747,"url":"https://github.com/simuons/rules_clojure","last_synced_at":"2025-10-05T06:56:38.872Z","repository":{"id":48848255,"uuid":"194409760","full_name":"simuons/rules_clojure","owner":"simuons","description":"Clojure rules for Bazel","archived":false,"fork":false,"pushed_at":"2021-07-08T17:31:52.000Z","size":89,"stargazers_count":35,"open_issues_count":9,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-05T06:56:37.782Z","etag":null,"topics":["bazel","bazel-rules","clojure"],"latest_commit_sha":null,"homepage":"","language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simuons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-29T13:40:20.000Z","updated_at":"2025-08-07T22:50:54.000Z","dependencies_parsed_at":"2022-08-31T13:12:06.105Z","dependency_job_id":null,"html_url":"https://github.com/simuons/rules_clojure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/simuons/rules_clojure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simuons%2Frules_clojure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simuons%2Frules_clojure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simuons%2Frules_clojure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simuons%2Frules_clojure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simuons","download_url":"https://codeload.github.com/simuons/rules_clojure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simuons%2Frules_clojure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278420205,"owners_count":25983812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bazel","bazel-rules","clojure"],"created_at":"2024-11-12T14:24:22.861Z","updated_at":"2025-10-05T06:56:38.824Z","avatar_url":"https://github.com/simuons.png","language":"Starlark","funding_links":[],"categories":["Starlark"],"sub_categories":[],"readme":"# [Clojure](https://clojure.org) rules for [Bazel](https://bazel.build)\n\n![CI](https://github.com/simuons/rules_clojure/workflows/CI/badge.svg)\n\n## Setup\n\nAdd the following to your `WORKSPACE`:\n\n```skylark\nload(\"@bazel_tools//tools/build_defs/repo:http.bzl\", \"http_archive\")\n\nhttp_archive(\n    name = \"rules_clojure\",\n    sha256 = \"c841fbf94af331f0f8f02de788ca9981d7c73a10cec798d3be0dd4f79d1d627d\",\n    strip_prefix = \"rules_clojure-c044cb8608a2c3180cbfee89e66bbeb604afb146\",\n    urls = [\"https://github.com/simuons/rules_clojure/archive/c044cb8608a2c3180cbfee89e66bbeb604afb146.tar.gz\"],\n)\n\nload(\"@rules_clojure//:repositories.bzl\", \"rules_clojure_dependencies\", \"rules_clojure_toolchains\")\n\nrules_clojure_dependencies()\n\nrules_clojure_toolchains()\n```\n\n**Note**: Update commit and sha256 as needed.\n\n## Rules\n\nLoad rules in your `BUILD` files from [@rules_clojure//:rules.bzl](rules.bzl)\n\n- [clojure_binary](docs/rules.md#clojure_binary)\n- [clojure_java_library](docs/rules.md#clojure_java_library)\n- [clojure_library](docs/rules.md#clojure_library)\n- [clojure_repl](docs/rules.md#clojure_repl)\n- [clojure_test](docs/rules.md#clojure_test)\n\n## Dependencies\n\nRules require `clojure.jar` in implicit classpath via toolchains.\n\nDefaults are loaded with `rules_clojure_dependencies` from [@rules_clojure//:repositories.bzl](repositories.bzl) using `jvm_maven_import_external`.\n\nPlease see [example](examples/setup/custom) of dependencies loaded with `rules_jvm_external`. \n\n## Toolchains\n\nRules require `@rules_clojure//:toolchain` type.\n\nDefault is registered with `rules_clojure_toolchains` from [@rules_clojure//:repositories.bzl](repositories.bzl)\n\nCustom toolchain can be defined with `clojure_toolchain` rule from [@rules_clojure//:toolchains.bzl](toolchains.bzl)\n\nPlease see [example](examples/setup/custom) of custom toolchain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimuons%2Frules_clojure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimuons%2Frules_clojure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimuons%2Frules_clojure/lists"}