Created
October 14, 2019 15:28
-
-
Save washort/0a8678d5b577e700586c82124685efe8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
jose = { | |
buildTool = "mix"; | |
deps = [ | |
"base64url" | |
]; | |
fetchHex = { | |
sha256 = "7946d1e5c03a76ac9ef42a6e6a20001d35987afd68c2107bcd8f01a84e75aa73"; | |
url = "https://repo.hex.pm/tarballs/jose-1.8.4.tar"; | |
}; | |
version = "1.8.4"; | |
}; | |
prometheus_ecto = { | |
buildTool = "mix"; | |
deps = [ | |
"ecto" | |
"prometheus_ex" | |
]; | |
fetchHex = { | |
sha256 = "6c768ea9654de871e5b32fab2eac348467b3021604ebebbcbd8bcbe806a65ed5"; | |
url = "https://repo.hex.pm/tarballs/prometheus_ecto-1.4.1.tar"; | |
}; | |
version = "1.4.1"; | |
}; | |
poolboy = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "392b007a1693a64540cead79830443abf5762f5d30cf50bc95cb2c1aaafa006b"; | |
url = "https://repo.hex.pm/tarballs/poolboy-1.5.2.tar"; | |
}; | |
version = "1.5.2"; | |
}; | |
ecto = { | |
buildTool = "mix"; | |
deps = [ | |
"decimal" | |
"jason" | |
]; | |
fetchHex = { | |
sha256 = "69d852da7a9f04ede725855a35ede48d158ca11a404fe94f8b2fb3b2162cd3c9"; | |
url = "https://repo.hex.pm/tarballs/ecto-3.1.4.tar"; | |
}; | |
version = "3.1.4"; | |
}; | |
ssl_verify_fun = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "f0eafff810d2041e93f915ef59899c923f4568f4585904d010387ed74988e77b"; | |
url = "https://repo.hex.pm/tarballs/ssl_verify_fun-1.1.4.tar"; | |
}; | |
version = "1.1.4"; | |
}; | |
html_entities = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "f2fee876858cf6aaa9db608820a3209e45a087c5177332799592142b50e89a6b"; | |
url = "https://repo.hex.pm/tarballs/html_entities-0.4.0.tar"; | |
}; | |
version = "0.4.0"; | |
}; | |
ranch = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "6b1fab51b49196860b733a49c07604465a47bdb78aa10c1c16a3d199f7f8c881"; | |
url = "https://repo.hex.pm/tarballs/ranch-1.7.1.tar"; | |
}; | |
version = "1.7.1"; | |
}; | |
base64url = { | |
buildTool = "rebar"; | |
fetchHex = { | |
sha256 = "36a90125f5948e3afd7be97662a1504b934dd5dac78451ca6e9abf85a10286be"; | |
url = "https://repo.hex.pm/tarballs/base64url-0.0.1.tar"; | |
}; | |
version = "0.0.1"; | |
}; | |
ueberauth = { | |
buildTool = "mix"; | |
deps = [ | |
"plug" | |
]; | |
fetchHex = { | |
sha256 = "9e90d3337dddf38b1ca2753aca9b1e53d8a52b890191cdc55240247c89230412"; | |
url = "https://repo.hex.pm/tarballs/ueberauth-0.6.1.tar"; | |
}; | |
version = "0.6.1"; | |
}; | |
earmark = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "b840562ea3d67795ffbb5bd88940b1bed0ed9fa32834915125ea7d02e35888a5"; | |
url = "https://repo.hex.pm/tarballs/earmark-1.3.2.tar"; | |
}; | |
version = "1.3.2"; | |
}; | |
decimal = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "ca462e0d885f09a1c5a342dbd7c1dcf27ea63548c65a65e67334f4b61803822e"; | |
url = "https://repo.hex.pm/tarballs/decimal-1.8.0.tar"; | |
}; | |
version = "1.8.0"; | |
}; | |
prometheus_phoenix = { | |
buildTool = "mix"; | |
deps = [ | |
"phoenix" | |
"prometheus_ex" | |
]; | |
fetchHex = { | |
sha256 = "c4b527e0b3a9ef1af26bdcfbfad3998f37795b9185d475ca610fe4388fdd3bb5"; | |
url = "https://repo.hex.pm/tarballs/prometheus_phoenix-1.3.0.tar"; | |
}; | |
version = "1.3.0"; | |
}; | |
mochiweb = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "e1daac474df07651e5d17cc1e642c4069c7850dc4508d3db7263a0651330aacc"; | |
url = "https://repo.hex.pm/tarballs/mochiweb-2.15.0.tar"; | |
}; | |
version = "2.15.0"; | |
}; | |
trailing_format_plug = { | |
buildTool = "mix"; | |
deps = [ | |
"plug" | |
]; | |
fetchHex = { | |
sha256 = "64b877f912cf7273bed03379936df39894149e35137ac9509117e59866e10e45"; | |
url = "https://repo.hex.pm/tarballs/trailing_format_plug-0.0.7.tar"; | |
}; | |
version = "0.0.7"; | |
}; | |
combine = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "eff8224eeb56498a2af13011d142c5e7997a80c8f5b97c499f84c841032e429f"; | |
url = "https://repo.hex.pm/tarballs/combine-0.10.0.tar"; | |
}; | |
version = "0.10.0"; | |
}; | |
html_sanitize_ex = { | |
buildTool = "mix"; | |
deps = [ | |
"mochiweb" | |
]; | |
fetchHex = { | |
sha256 = "f005ad692b717691203f940c686208aa3d8ffd9dd4bb3699240096a51fa9564e"; | |
url = "https://repo.hex.pm/tarballs/html_sanitize_ex-1.3.0.tar"; | |
}; | |
version = "1.3.0"; | |
}; | |
jason = { | |
buildTool = "mix"; | |
deps = [ | |
"decimal" | |
]; | |
fetchHex = { | |
sha256 = "b03dedea67a99223a2eaf9f1264ce37154564de899fd3d8b9a21b1a6fd64afe7"; | |
url = "https://repo.hex.pm/tarballs/jason-1.1.2.tar"; | |
}; | |
version = "1.1.2"; | |
}; | |
parse_trans = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "09765507a3c7590a784615cfd421d101aec25098d50b89d7aa1d66646bc571c1"; | |
url = "https://repo.hex.pm/tarballs/parse_trans-3.3.0.tar"; | |
}; | |
version = "3.3.0"; | |
}; | |
phoenix_ecto = { | |
buildTool = "mix"; | |
deps = [ | |
"ecto" | |
"phoenix_html" | |
"plug" | |
]; | |
fetchHex = { | |
sha256 = "c43117a136e7399ea04ecaac73f8f23ee0ffe3e07acfcb8062fe5f4c9f0f6531"; | |
url = "https://repo.hex.pm/tarballs/phoenix_ecto-4.0.0.tar"; | |
}; | |
version = "4.0.0"; | |
}; | |
plug = { | |
buildTool = "mix"; | |
deps = [ | |
"mime" | |
"plug_crypto" | |
"telemetry" | |
]; | |
fetchHex = { | |
sha256 = "0bcce1daa420f189a6491f3940cc77ea7fb1919761175c9c3b59800d897440fc"; | |
url = "https://repo.hex.pm/tarballs/plug-1.8.2.tar"; | |
}; | |
version = "1.8.2"; | |
}; | |
prometheus_plugs = { | |
buildTool = "mix"; | |
deps = [ | |
"accept" | |
"plug" | |
"prometheus_ex" | |
"prometheus_process_collector" | |
]; | |
fetchHex = { | |
sha256 = "25933d48f8af3a5941dd7b621c889749894d8a1082a6ff7c67cc99dec26377c5"; | |
url = "https://repo.hex.pm/tarballs/prometheus_plugs-1.1.5.tar"; | |
}; | |
version = "1.1.5"; | |
}; | |
pleroma_job_queue = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "879e660aa1cebe8dc6f0aaaa6aa48b4875e89cd961d4a585fd128e0773b31a18"; | |
url = "https://repo.hex.pm/tarballs/pleroma_job_queue-0.2.0.tar"; | |
}; | |
version = "0.2.0"; | |
}; | |
prometheus_ex = { | |
buildTool = "mix"; | |
deps = [ | |
"prometheus" | |
]; | |
fetchHex = { | |
sha256 = "fa58cfd983487fc5ead331e9a3e0aa622c67232b3ec71710ced122c4c453a02f"; | |
url = "https://repo.hex.pm/tarballs/prometheus_ex-3.0.5.tar"; | |
}; | |
version = "3.0.5"; | |
}; | |
plug_crypto = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "18e49317d3fa343f24620ed22795ec29d4a5e602d52d1513ccea0b07d8ea7d4d"; | |
url = "https://repo.hex.pm/tarballs/plug_crypto-1.0.0.tar"; | |
}; | |
version = "1.0.0"; | |
}; | |
auto_linker = { | |
buildTool = "mix"; | |
fetchGit = { | |
rev = "95e8188490e97505c56636c1379ffdf036c1fdde"; | |
url = "https://git.pleroma.social/pleroma/auto_linker.git"; | |
}; | |
version = "95e8188490e97505c56636c1379ffdf036c1fdde"; | |
}; | |
gen_smtp = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "39846a03522456077c6429b4badfd1d55e5e7d0fdfb65e935b7c5e38549d9202"; | |
url = "https://repo.hex.pm/tarballs/gen_smtp-0.14.0.tar"; | |
}; | |
version = "0.14.0"; | |
}; | |
esshd = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "6f93a2062adb43637edad0ea7357db2702a4b80dd9683482fe00f5134e97f4c1"; | |
url = "https://repo.hex.pm/tarballs/esshd-0.1.0.tar"; | |
}; | |
version = "0.1.0"; | |
}; | |
ex_aws_s3 = { | |
buildTool = "mix"; | |
deps = [ | |
"ex_aws" | |
]; | |
fetchHex = { | |
sha256 = "9e09366e77f25d3d88c5393824e613344631be8db0d1839faca49686e99b6704"; | |
url = "https://repo.hex.pm/tarballs/ex_aws_s3-2.0.1.tar"; | |
}; | |
version = "2.0.1"; | |
}; | |
connection = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976"; | |
url = "https://repo.hex.pm/tarballs/connection-1.0.4.tar"; | |
}; | |
version = "1.0.4"; | |
}; | |
httpoison = { | |
buildTool = "mix"; | |
deps = [ | |
"hackney" | |
]; | |
fetchHex = { | |
sha256 = "2702ed3da5fd7a8130fc34b11965c8cfa21ade2f232c00b42d96d4967c39a3a3"; | |
url = "https://repo.hex.pm/tarballs/httpoison-1.2.0.tar"; | |
}; | |
version = "1.2.0"; | |
}; | |
benchee = { | |
buildTool = "mix"; | |
deps = [ | |
"deep_merge" | |
]; | |
fetchHex = { | |
sha256 = "66b211f9bfd84bd97e6d1beaddf8fc2312aaabe192f776e8931cb0c16f53a521"; | |
url = "https://repo.hex.pm/tarballs/benchee-1.0.1.tar"; | |
}; | |
version = "1.0.1"; | |
}; | |
credo = { | |
buildTool = "mix"; | |
deps = [ | |
"bunt" | |
"poison" | |
]; | |
fetchHex = { | |
sha256 = "76fa3e9e497ab282e0cf64b98a624aa11da702854c52c82db1bf24e54ab7c97a"; | |
url = "https://repo.hex.pm/tarballs/credo-0.9.3.tar"; | |
}; | |
version = "0.9.3"; | |
}; | |
gettext = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "abe21542c831887a2b16f4c94556db9c421ab301aee417b7c4fbde7fbdbe01ec"; | |
url = "https://repo.hex.pm/tarballs/gettext-0.17.0.tar"; | |
}; | |
version = "0.17.0"; | |
}; | |
mime = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "30ce04ab3175b6ad0bdce0035cba77bba68b813d523d1aac73d9781b4d193cf8"; | |
url = "https://repo.hex.pm/tarballs/mime-1.3.1.tar"; | |
}; | |
version = "1.3.1"; | |
}; | |
tzdata = { | |
buildTool = "mix"; | |
deps = [ | |
"hackney" | |
]; | |
fetchHex = { | |
sha256 = "f6027a331af7d837471248e62733c6ebee86a72e57c613aa071ebb1f750fc71a"; | |
url = "https://repo.hex.pm/tarballs/tzdata-1.0.1.tar"; | |
}; | |
version = "1.0.1"; | |
}; | |
ecto_sql = { | |
buildTool = "mix"; | |
deps = [ | |
"db_connection" | |
"ecto" | |
"postgrex" | |
"telemetry" | |
]; | |
fetchHex = { | |
sha256 = "2c536139190492d9de33c5fefac7323c5eaaa82e1b9bf93482a14649042f7cd9"; | |
url = "https://repo.hex.pm/tarballs/ecto_sql-3.1.3.tar"; | |
}; | |
version = "3.1.3"; | |
}; | |
bunt = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38"; | |
url = "https://repo.hex.pm/tarballs/bunt-0.2.0.tar"; | |
}; | |
version = "0.2.0"; | |
}; | |
idna = { | |
buildTool = "rebar3"; | |
deps = [ | |
"unicode_util_compat" | |
]; | |
fetchHex = { | |
sha256 = "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10"; | |
url = "https://repo.hex.pm/tarballs/idna-6.0.0.tar"; | |
}; | |
version = "6.0.0"; | |
}; | |
ex_machina = { | |
buildTool = "mix"; | |
deps = [ | |
"ecto" | |
"ecto_sql" | |
]; | |
fetchHex = { | |
sha256 = "92a5ad0a8b10ea6314b876a99c8c9e3f25f4dde71a2a835845b136b9adaf199a"; | |
url = "https://repo.hex.pm/tarballs/ex_machina-2.3.0.tar"; | |
}; | |
version = "2.3.0"; | |
}; | |
certifi = { | |
buildTool = "rebar3"; | |
deps = [ | |
"parse_trans" | |
]; | |
fetchHex = { | |
sha256 = "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5"; | |
url = "https://repo.hex.pm/tarballs/certifi-2.5.1.tar"; | |
}; | |
version = "2.5.1"; | |
}; | |
phoenix_pubsub = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "496c303bdf1b2e98a9d26e89af5bba3ab487ba3a3735f74bf1f4064d2a845a3e"; | |
url = "https://repo.hex.pm/tarballs/phoenix_pubsub-1.1.2.tar"; | |
}; | |
version = "1.1.2"; | |
}; | |
accept = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "b33b127abca7cc948bbe6caa4c263369abf1347cfa9d8e699c6d214660f10cd1"; | |
url = "https://repo.hex.pm/tarballs/accept-0.3.5.tar"; | |
}; | |
version = "0.3.5"; | |
}; | |
cowlib = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "a7ffcd0917e6d50b4d5fb28e9e2085a0ceb3c97dea310505f7460ff5ed764ce9"; | |
url = "https://repo.hex.pm/tarballs/cowlib-2.7.3.tar"; | |
}; | |
version = "2.7.3"; | |
}; | |
calendar = { | |
buildTool = "mix"; | |
deps = [ | |
"tzdata" | |
]; | |
fetchHex = { | |
sha256 = "ec291cb2e4ba499c2e8c0ef5f4ace974e2f9d02ae9e807e711a9b0c7850b9aee"; | |
url = "https://repo.hex.pm/tarballs/calendar-0.17.6.tar"; | |
}; | |
version = "0.17.6"; | |
}; | |
mock = { | |
buildTool = "mix"; | |
deps = [ | |
"meck" | |
]; | |
fetchHex = { | |
sha256 = "42a433794b1291a9cf1525c6d26b38e039e0d3a360732b5e467bfc77ef26c914"; | |
url = "https://repo.hex.pm/tarballs/mock-0.3.3.tar"; | |
}; | |
version = "0.3.3"; | |
}; | |
makeup_elixir = { | |
buildTool = "mix"; | |
deps = [ | |
"makeup" | |
]; | |
fetchHex = { | |
sha256 = "be7a477997dcac2e48a9d695ec730b2d22418292675c75aa2d34ba0909dcdeda"; | |
url = "https://repo.hex.pm/tarballs/makeup_elixir-0.13.0.tar"; | |
}; | |
version = "0.13.0"; | |
}; | |
meck = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "ffedb39f99b0b99703b8601c6f17c7f76313ee12de6b646e671e3188401f7866"; | |
url = "https://repo.hex.pm/tarballs/meck-0.8.13.tar"; | |
}; | |
version = "0.8.13"; | |
}; | |
ex_rated = { | |
buildTool = "mix"; | |
deps = [ | |
"ex2ms" | |
]; | |
fetchHex = { | |
sha256 = "30ecbdabe91f7eaa9d37fa4e81c85ba420f371babeb9d1910adbcd79ec798d27"; | |
url = "https://repo.hex.pm/tarballs/ex_rated-1.3.3.tar"; | |
}; | |
version = "1.3.3"; | |
}; | |
ex_syslogger = { | |
buildTool = "mix"; | |
fetchGit = { | |
rev = "f3963399047af17e038897c69e20d552e6899e1d"; | |
url = "https://github.com/slashmili/ex_syslogger.git"; | |
}; | |
version = "f3963399047af17e038897c69e20d552e6899e1d"; | |
}; | |
cowboy = { | |
buildTool = "rebar3"; | |
deps = [ | |
"cowlib" | |
"ranch" | |
]; | |
fetchHex = { | |
sha256 = "99aa50e94e685557cad82e704457336a453d4abcb77839ad22dbe71f311fcc06"; | |
url = "https://repo.hex.pm/tarballs/cowboy-2.6.3.tar"; | |
}; | |
version = "2.6.3"; | |
}; | |
ex2ms = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "19e27f9212be9a96093fed8cdfbef0a2b56c21237196d26760f11dfcfae58e97"; | |
url = "https://repo.hex.pm/tarballs/ex2ms-1.5.0.tar"; | |
}; | |
version = "1.5.0"; | |
}; | |
phoenix = { | |
buildTool = "mix"; | |
deps = [ | |
"jason" | |
"phoenix_pubsub" | |
"plug" | |
"plug_cowboy" | |
"telemetry" | |
]; | |
fetchHex = { | |
sha256 = "746d098e10741c334d88143d3c94cab1756435f94387a63441792e66ec0ee974"; | |
url = "https://repo.hex.pm/tarballs/phoenix-1.4.9.tar"; | |
}; | |
version = "1.4.9"; | |
}; | |
hackney = { | |
buildTool = "rebar3"; | |
deps = [ | |
"certifi" | |
"idna" | |
"metrics" | |
"mimerl" | |
"ssl_verify_fun" | |
]; | |
fetchHex = { | |
sha256 = "9f8f471c844b8ce395f7b6d8398139e26ddca9ebc171a8b91342ee15a19963f4"; | |
url = "https://repo.hex.pm/tarballs/hackney-1.15.1.tar"; | |
}; | |
version = "1.15.1"; | |
}; | |
deep_merge = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "b4aa1a0d1acac393bdf38b2291af38cb1d4a52806cf7a4906f718e1feb5ee961"; | |
url = "https://repo.hex.pm/tarballs/deep_merge-1.0.0.tar"; | |
}; | |
version = "1.0.0"; | |
}; | |
unsafe = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "7c21742cd05380c7875546b023481d3a26f52df8e5dfedcb9f958f322baae305"; | |
url = "https://repo.hex.pm/tarballs/unsafe-1.0.0.tar"; | |
}; | |
version = "1.0.0"; | |
}; | |
makeup = { | |
buildTool = "mix"; | |
deps = [ | |
"nimble_parsec" | |
]; | |
fetchHex = { | |
sha256 = "9cf32aea71c7fe0a4b2e9246c2c4978f9070257e5c9ce6d4a28ec450a839b55f"; | |
url = "https://repo.hex.pm/tarballs/makeup-0.8.0.tar"; | |
}; | |
version = "0.8.0"; | |
}; | |
floki = { | |
buildTool = "mix"; | |
deps = [ | |
"html_entities" | |
"mochiweb" | |
]; | |
fetchHex = { | |
sha256 = "be42ac911fece24b4c72f3b5846774b6e61b83fe685c2fc9d62093277fb3bc86"; | |
url = "https://repo.hex.pm/tarballs/floki-0.20.4.tar"; | |
}; | |
version = "0.20.4"; | |
}; | |
tesla = { | |
buildTool = "mix"; | |
deps = [ | |
"hackney" | |
"jason" | |
"mime" | |
"poison" | |
]; | |
fetchHex = { | |
sha256 = "864783cc27f71dd8c8969163704752476cec0f3a51eb3b06393b3971dc9733ff"; | |
url = "https://repo.hex.pm/tarballs/tesla-1.2.1.tar"; | |
}; | |
version = "1.2.1"; | |
}; | |
prometheus = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "1e96073b3ed7788053768fea779cbc896ddc3bdd9ba60687f2ad50b252ac87d6"; | |
url = "https://repo.hex.pm/tarballs/prometheus-4.4.1.tar"; | |
}; | |
version = "4.4.1"; | |
}; | |
recon = { | |
buildTool = "rebar3"; | |
fetchGit = { | |
rev = "75d70c7c08926d2f24f1ee6de14ee50fe8a52763"; | |
url = "https://github.com/ferd/recon.git"; | |
}; | |
version = "75d70c7c08926d2f24f1ee6de14ee50fe8a52763"; | |
}; | |
nimble_parsec = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "90e2eca3d0266e5c53f8fbe0079694740b9c91b6747f2b7e3c5d21966bba8300"; | |
url = "https://repo.hex.pm/tarballs/nimble_parsec-0.5.0.tar"; | |
}; | |
version = "0.5.0"; | |
}; | |
http_signatures = { | |
buildTool = "mix"; | |
fetchGit = { | |
rev = "293d77bb6f4a67ac8bde1428735c3b42f22cbb30"; | |
url = "https://git.pleroma.social/pleroma/http_signatures.git"; | |
}; | |
version = "293d77bb6f4a67ac8bde1428735c3b42f22cbb30"; | |
}; | |
web_push_encryption = { | |
buildTool = "mix"; | |
deps = [ | |
"httpoison" | |
"jose" | |
"poison" | |
]; | |
fetchHex = { | |
sha256 = "d42cecf73420d9dc0053ba3299cc8c8d6ff2be2487d67ca2a57265868e4d9a98"; | |
url = "https://repo.hex.pm/tarballs/web_push_encryption-0.2.1.tar"; | |
}; | |
version = "0.2.1"; | |
}; | |
poison = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665"; | |
url = "https://repo.hex.pm/tarballs/poison-3.1.0.tar"; | |
}; | |
version = "3.1.0"; | |
}; | |
prometheus_process_collector = { | |
buildTool = "rebar3"; | |
deps = [ | |
"prometheus" | |
"certifi" | |
"rebar3_archive_plugin" | |
]; | |
fetchHex = { | |
sha256 = "657386e8f142fc817347d95c1f3a05ab08710f7df9e7f86db6facaed107ed929"; | |
url = "https://repo.hex.pm/tarballs/prometheus_process_collector-1.4.3.tar"; | |
}; | |
version = "1.4.3"; | |
}; | |
websocket_client = { | |
buildTool = "rebar"; | |
fetchGit = { | |
rev = "9a6f65d05ebf2725d62fb19262b21f1805a59fbf"; | |
url = "https://github.com/jeremyong/websocket_client.git"; | |
}; | |
version = "9a6f65d05ebf2725d62fb19262b21f1805a59fbf"; | |
}; | |
metrics = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486"; | |
url = "https://repo.hex.pm/tarballs/metrics-1.0.1.tar"; | |
}; | |
version = "1.0.1"; | |
}; | |
timex = { | |
buildTool = "mix"; | |
deps = [ | |
"combine" | |
"gettext" | |
"tzdata" | |
]; | |
fetchHex = { | |
sha256 = "efdf56d0e67a6b956cc57774353b0329c8ab7726766a11547e529357ffdc1d56"; | |
url = "https://repo.hex.pm/tarballs/timex-3.6.1.tar"; | |
}; | |
version = "3.6.1"; | |
}; | |
crypt = { | |
buildTool = "rebar3"; | |
deps = [ | |
"pc" | |
]; | |
fetchGit = { | |
rev = "1f2b58927ab57e72910191a7ebaeff984382a1d3"; | |
url = "https://github.com/msantos/crypt"; | |
}; | |
version = "0.4.3"; | |
}; | |
postgrex = { | |
buildTool = "mix"; | |
deps = [ | |
"connection" | |
"db_connection" | |
"decimal" | |
"jason" | |
]; | |
fetchHex = { | |
sha256 = "5754dee2fdf6e9e508cbf49ab138df964278700b764177e8f3871e658b345a1e"; | |
url = "https://repo.hex.pm/tarballs/postgrex-0.14.3.tar"; | |
}; | |
version = "0.14.3"; | |
}; | |
comeonin = { | |
buildTool = "mix"; | |
deps = [ | |
"pbkdf2_elixir" | |
]; | |
fetchHex = { | |
sha256 = "c7304fc29b45b897b34142a91122bc72757bc0c295e9e824999d5179ffc08416"; | |
url = "https://repo.hex.pm/tarballs/comeonin-4.1.1.tar"; | |
}; | |
version = "4.1.1"; | |
}; | |
telemetry = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "8339bee3fa8b91cb84d14c2935f8ecf399ccd87301ad6da6b71c09553834b2ab"; | |
url = "https://repo.hex.pm/tarballs/telemetry-0.4.0.tar"; | |
}; | |
version = "0.4.0"; | |
}; | |
ex_aws = { | |
buildTool = "mix"; | |
deps = [ | |
"hackney" | |
"poison" | |
]; | |
fetchHex = { | |
sha256 = "b92651527d6c09c479f9013caa9c7331f19cba38a650590d82ebf2c6c16a1d8a"; | |
url = "https://repo.hex.pm/tarballs/ex_aws-2.1.0.tar"; | |
}; | |
version = "2.1.0"; | |
}; | |
plug_static_index_html = { | |
buildTool = "mix"; | |
deps = [ | |
"plug" | |
]; | |
fetchHex = { | |
sha256 = "840123d4d3975585133485ea86af73cb2600afd7f2a976f9f5fd8b3808e636a0"; | |
url = "https://repo.hex.pm/tarballs/plug_static_index_html-1.0.0.tar"; | |
}; | |
version = "1.0.0"; | |
}; | |
mox = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "f86bb36026aac1e6f924a4b6d024b05e9adbed5c63e8daa069bd66fb3292165b"; | |
url = "https://repo.hex.pm/tarballs/mox-0.5.1.tar"; | |
}; | |
version = "0.5.1"; | |
}; | |
db_connection = { | |
buildTool = "mix"; | |
deps = [ | |
"connection" | |
]; | |
fetchHex = { | |
sha256 = "bde2f85d047969c5b5800cb8f4b3ed6316c8cb11487afedac4aa5f93fd39abfa"; | |
url = "https://repo.hex.pm/tarballs/db_connection-2.0.6.tar"; | |
}; | |
version = "2.0.6"; | |
}; | |
bbcode = { | |
buildTool = "mix"; | |
deps = [ | |
"nimble_parsec" | |
]; | |
fetchHex = { | |
sha256 = "0023e2c7814119b2e620b7add67182e3f6019f92bfec9a22da7e99821aceba70"; | |
url = "https://repo.hex.pm/tarballs/bbcode-0.1.1.tar"; | |
}; | |
version = "0.1.1"; | |
}; | |
swoosh = { | |
buildTool = "mix"; | |
deps = [ | |
"cowboy" | |
"gen_smtp" | |
"hackney" | |
"jason" | |
"mime" | |
"plug_cowboy" | |
]; | |
fetchHex = { | |
sha256 = "7dda95ff0bf54a2298328d6899c74dae1223777b43563ccebebb4b5d2b61df38"; | |
url = "https://repo.hex.pm/tarballs/swoosh-0.23.2.tar"; | |
}; | |
version = "0.23.2"; | |
}; | |
unicode_util_compat = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "d869e4c68901dd9531385bb0c8c40444ebf624e60b6962d95952775cac5e90cd"; | |
url = "https://repo.hex.pm/tarballs/unicode_util_compat-0.4.1.tar"; | |
}; | |
version = "0.4.1"; | |
}; | |
ex_doc = { | |
buildTool = "mix"; | |
deps = [ | |
"earmark" | |
"makeup_elixir" | |
]; | |
fetchHex = { | |
sha256 = "1bd0dfb0304bade58beb77f20f21ee3558cc3c753743ae0ddbb0fd7ba2912331"; | |
url = "https://repo.hex.pm/tarballs/ex_doc-0.20.2.tar"; | |
}; | |
version = "0.20.2"; | |
}; | |
mogrify = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "de1b527514f2d95a7bbe9642eb556061afb337e220cf97adbf3a4e6438ed70af"; | |
url = "https://repo.hex.pm/tarballs/mogrify-0.6.1.tar"; | |
}; | |
version = "0.6.1"; | |
}; | |
phoenix_html = { | |
buildTool = "mix"; | |
deps = [ | |
"plug" | |
]; | |
fetchHex = { | |
sha256 = "fa8f034b5328e2dfa0e4131b5569379003f34bc1fafdaa84985b0b9d2f12e68b"; | |
url = "https://repo.hex.pm/tarballs/phoenix_html-2.13.1.tar"; | |
}; | |
version = "2.13.1"; | |
}; | |
plug_cowboy = { | |
buildTool = "mix"; | |
deps = [ | |
"cowboy" | |
"plug" | |
]; | |
fetchHex = { | |
sha256 = "b75768153c3a8a9e8039d4b25bb9b14efbc58e9c4a6e6a270abff1cd30cbe320"; | |
url = "https://repo.hex.pm/tarballs/plug_cowboy-2.1.0.tar"; | |
}; | |
version = "2.1.0"; | |
}; | |
excoveralls = { | |
buildTool = "mix"; | |
deps = [ | |
"hackney" | |
"jason" | |
]; | |
fetchHex = { | |
sha256 = "dd677fbdd49114fdbdbf445540ec735808250d56b011077798316505064edb2c"; | |
url = "https://repo.hex.pm/tarballs/excoveralls-0.11.1.tar"; | |
}; | |
version = "0.11.1"; | |
}; | |
syslog = { | |
buildTool = "rebar3"; | |
fetchGit = { | |
rev = "4a6c6f2c996483e86c1320e9553f91d337bcb6aa"; | |
url = "https://github.com/Vagabond/erlang-syslog.git"; | |
}; | |
version = "1.0.5"; | |
}; | |
cors_plug = { | |
buildTool = "mix"; | |
deps = [ | |
"plug" | |
]; | |
fetchHex = { | |
sha256 = "72df63c87e4f94112f458ce9d25800900cc88608c1078f0e4faddf20933eda6e"; | |
url = "https://repo.hex.pm/tarballs/cors_plug-1.5.2.tar"; | |
}; | |
version = "1.5.2"; | |
}; | |
cachex = { | |
buildTool = "mix"; | |
deps = [ | |
"eternal" | |
"unsafe" | |
]; | |
fetchHex = { | |
sha256 = "1351caa4e26e29f7d7ec1d29b53d6013f0447630bbf382b4fb5d5bad0209f203"; | |
url = "https://repo.hex.pm/tarballs/cachex-3.0.2.tar"; | |
}; | |
version = "3.0.2"; | |
}; | |
mimerl = { | |
buildTool = "rebar3"; | |
fetchHex = { | |
sha256 = "67e2d3f571088d5cfd3e550c383094b47159f3eee8ffa08e64106cdf5e981be3"; | |
url = "https://repo.hex.pm/tarballs/mimerl-1.2.0.tar"; | |
}; | |
version = "1.2.0"; | |
}; | |
quack = { | |
buildTool = "mix"; | |
deps = [ | |
"poison" | |
"tesla" | |
]; | |
fetchHex = { | |
sha256 = "cca7b4da1a233757fdb44b3334fce80c94785b3ad5a602053b7a002b5a8967bf"; | |
url = "https://repo.hex.pm/tarballs/quack-0.1.1.tar"; | |
}; | |
version = "0.1.1"; | |
}; | |
eternal = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "e2a6b6ce3b8c248f7dc31451aefca57e3bdf0e48d73ae5043229380a67614c41"; | |
url = "https://repo.hex.pm/tarballs/eternal-1.2.0.tar"; | |
}; | |
version = "1.2.0"; | |
}; | |
pbkdf2_elixir = { | |
buildTool = "mix"; | |
fetchHex = { | |
sha256 = "6706a148809a29c306062862c803406e88f048277f6e85b68faf73291e820b84"; | |
url = "https://repo.hex.pm/tarballs/pbkdf2_elixir-0.12.3.tar"; | |
}; | |
version = "0.12.3"; | |
}; | |
rebar3_archive_plugin = { | |
buildTool = "rebar3"; | |
deps = [ | |
"certifi" | |
]; | |
fetchHex = { | |
sha256 = "7d492457fafa3f7d4e9a83be5e1f470f0c71777980a80f1ce041ca2449726081"; | |
url = "https://repo.hex.pm/tarballs/rebar3_archive_plugin-0.0.2.tar"; | |
}; | |
version = "0.0.2"; | |
}; | |
pc = { | |
buildTool = "rebar3"; | |
fetchGit = { | |
url = "https://github.com/blt/port_compiler.git"; | |
rev = "24562054017dc88420bc76b4c9fbc4096743178a"; | |
}; | |
version = "24562054017dc88420bc76b4c9fbc4096743178a"; | |
}; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ callPackage, beam, elixir, erlang, rebar3, fetchgit, git, makeWrapper, cfg }: | |
let | |
pleromaConfig = callPackage ./pleroma-config.nix { inherit cfg; }; | |
b = (beam.packagesWith erlang); | |
hex = b.hex; | |
pc = b.buildHex { | |
name = "pc"; | |
version = "1.10.0"; | |
sha256 = "0kkbjjsvcrw2ql7dj28xgrsfrf6kbqzlfvjg3icj8wbasmvdbfrg"; | |
}; | |
buildMix = beam.buildMix; | |
importedMixNix = import ./pleroma-deps.nix; | |
# makeMix2nix = callPackage "${(builtins.fetchTarball https://gitlab.com/manveru/mixnix/-/archive/779daa4e/mixnix-779daa4e.tar.gz)}/nix/mix2nix.nix" {}; | |
makeMix2nix = callPackage /home/washort/Projects/mixnix/nix/mix2nix.nix {}; | |
mix2nix = (makeMix2nix.mkMixPackage { | |
name = "xxx"; | |
inherit hex elixir erlang rebar3; | |
}); | |
phoenix = makeMix2nix.mkMixPackage { | |
name = "phoenix"; | |
version = "1.4.9"; | |
src = b.fetchHex { | |
sha256 = "0bm2n2fyqyhrnssp9m74ic29ypwlspc81dsgg06pam8zdwk36254"; | |
pkg = "phoenix"; | |
version = "1.4.9"; }; | |
mixNix = ./pleroma-deps.nix; | |
preBuild = "rm _build/prod/lib/phoenix"; | |
mixConfig = { | |
hackney = a: { patches = []; }; | |
syslog = a: { buildPhase = "HOME=. rebar3 compile"; buildPlugins = [ pc ]; }; | |
}; | |
}; | |
in | |
makeMix2nix.mkMixPackage { | |
name = "pleroma"; | |
version = "1.0.2"; | |
src = fetchgit { | |
url = https://git.pleroma.social/pleroma/pleroma; | |
rev = "v1.0.2"; | |
sha256 = "0x9pi9vn3hzn3qs5llhjlk4kh9qg2jg2dldljra5jk8f8s9ak574"; | |
leaveDotGit = true; | |
}; | |
# releaseType = "escript"; | |
beamDeps = [ phoenix git makeWrapper ]; | |
# patches = [ ./mix.patch ]; | |
patches = [ ./pleroma-cfg.patch ]; | |
mixNix = ./pleroma-deps.nix; | |
mixConfig = { | |
hackney = a: { patches = []; }; | |
syslog = a: { buildPhase = "HOME=. rebar3 compile"; buildPlugins = [ pc ]; }; | |
}; | |
buildPhase = '' | |
cp ${pleromaConfig} config/prod.exs | |
mix release --no-deps-check --path $out | |
''; | |
installPhase = '' | |
cp -r config $out/config | |
(cd $out; patch -p1) < ${./pleroma-script.patch} | |
cp $out/lib/crypt-0.4.3/priv/source.so $out/lib/crypt-0.4.3/priv/crypt.so | |
wrapProgram $out/bin/pleroma --set RELEASE_TMP /tmp --set PLEROMA_CONFIG_PATH $out/config/config.exs | |
wrapProgram $out/bin/pleroma_ctl --set RELEASE_TMP /tmp --set PLEROMA_CONFIG_PATH $out/_config/config.exs | |
''; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment