forked from mirrors/nixpkgs
meguca: 2018-08-13 -> 2018-12-06
This commit is contained in:
parent
1beff36b2f
commit
531db1a8fa
|
@ -1,27 +1,27 @@
|
|||
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, cmake, ffmpeg-full, ghostscript
|
||||
, graphicsmagick, quicktemplate, go-bindata, easyjson, nodePackages, emscripten }:
|
||||
, graphicsmagick, quicktemplate, go-bindata, easyjson, nodePackages, emscripten, opencv }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "meguca-unstable-${version}";
|
||||
version = "2018-08-13";
|
||||
version = "2018-12-06";
|
||||
goPackagePath = "github.com/bakape/meguca";
|
||||
goDeps = ./server_deps.nix;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bakape";
|
||||
repo = "meguca";
|
||||
rev = "f8b54370ba74b90f2814e6b42ac003a51fe02ce9";
|
||||
sha256 = "1036qlvvz0la3fp514kw5qrplm1zsh23ywn2drigniacmqz4m7dv";
|
||||
rev = "300b007cab238838f813faa9aad6abb3f22ad4d2";
|
||||
sha256 = "1rvnvhkm8l7h9rvw9vr8pm1qrr3zz5x7vayaw0caqx99xlyp93r9";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
buildInputs = [ ffmpeg-full graphicsmagick ghostscript quicktemplate go-bindata easyjson emscripten ];
|
||||
buildInputs = [ ffmpeg-full graphicsmagick ghostscript quicktemplate go-bindata easyjson emscripten opencv ];
|
||||
|
||||
buildPhase = ''
|
||||
export HOME=`pwd`
|
||||
export GOPATH=$GOPATH:$HOME/go/src/github.com/bakape/meguca/go
|
||||
export GOPATH=$GOPATH:$HOME/go/src/github.com/bakape/meguca/server
|
||||
cd $HOME/go/src/github.com/bakape/meguca
|
||||
ln -sf ${nodePackages.meguca}/lib/node_modules/meguca/node_modules
|
||||
sed -i "/npm install --progress false --depth 0/d" Makefile
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
|
||||
# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
|
||||
[
|
||||
{
|
||||
goPackagePath = "github.com/ErikDubbelboer/gspt";
|
||||
|
@ -14,8 +14,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/Masterminds/squirrel";
|
||||
rev = "8a7e65843414bc07f3d85bebaa10d7cc96253c29";
|
||||
sha256 = "0n7msdji0h7iysyqsi0iiq9i1hdgyyz9cwzxpc6qppz7cllnfpnn";
|
||||
rev = "e5bf00f96d4a5779be0d78f7565598856cae9b47";
|
||||
sha256 = "13fkdc4kbdmbl42i80lm5x9aqnwlhj2c6s6y5vsblmw042p7012q";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -23,8 +23,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/PuerkitoBio/goquery";
|
||||
rev = "dc2ec5c7ca4d9aae063b79b9f581dd3ea6afd2b2";
|
||||
sha256 = "11010z9ask21r0dskvm2pbh3z8951bnpcqg8aqa213if4h34gaa2";
|
||||
rev = "2d2796f41742ece03e8086188fa4db16a3a0b458";
|
||||
sha256 = "1fqf4rs66wy02nxz6w4mvs2qawf2j8srz17i294v64y8gvxisp56";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -41,8 +41,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/andybalholm/cascadia";
|
||||
rev = "901648c87902174f774fac311d7f176f8647bdaa";
|
||||
sha256 = "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc";
|
||||
rev = "680b6a57bda4f657485ad44bdea42342ead737bc";
|
||||
sha256 = "0v95plagirbjlc4p00y9brhpvv4nm8q0gr63gcfs3shyh1a8xwbm";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -59,8 +59,26 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/badoux/goscraper";
|
||||
rev = "0213ced7087832e81e8892e8d044150cfc153856";
|
||||
sha256 = "0bw5g6h0hypd38z8gfbh40pbw824n4qhk3c0kasw6gn4darx972w";
|
||||
rev = "363803726ad4e2ab262b4e01362e98458df0b231";
|
||||
sha256 = "1p388s7jmyrr6p4ralhcg36jz1cw2mgra9brcp6m32lrc3mpws48";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/bakape/boorufetch";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/bakape/boorufetch";
|
||||
rev = "4e9f999d98ed9a4e8374a516265dd4c7b4f4cca0";
|
||||
sha256 = "0jpf71nxm8msx3imgyl3jdpi8fsai3yp7ajapivghrwj7y0nr1d0";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/bakape/captchouli";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/bakape/captchouli";
|
||||
rev = "6434ea655cf8f1fed6791877c74e5e2f2c396680";
|
||||
sha256 = "1n96g3c7i3gbk8blm6qgw9lcpmwq3s8yjp6l1krdladb0xpanwjm";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -77,8 +95,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/bakape/thumbnailer";
|
||||
rev = "326c44736983c316d20c036ce34ca79ce9b96b01";
|
||||
sha256 = "1a1dniz0zbihk7971z2ln6hlsbvkk13lghgjz346lw4lfc105kxk";
|
||||
rev = "f191a43e9c3c7c9522a67dd81ed1aec9cea0280d";
|
||||
sha256 = "065qxhc83ncfxl813gm2f80pydkilnyim0q4wv08xm4gz3010s1x";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -90,22 +108,13 @@
|
|||
sha256 = "12f5swiwzcamk87r9j73nn7rmyyday7jkgzfh7x5wdg9blzhrir2";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/dchest/captcha";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/dchest/captcha";
|
||||
rev = "6a29415a8364ec2971fdc62d9e415ed53fc20410";
|
||||
sha256 = "0j0yspx5rlyx7fdfcx74viqc8jlq3nwyd62bdx4gvbd56cppldcm";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/dimfeld/httptreemux";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/dimfeld/httptreemux";
|
||||
rev = "7f532489e7739b3d49df5c602bf63549881fe753";
|
||||
sha256 = "0hkw04rsvljvx8ynqjgz9cb743x09fd2xiiycrgz5vbsa8q9iyyk";
|
||||
rev = "0ffa82afd135e2aafd48602dc46843cb86304f7d";
|
||||
sha256 = "0akariyk9igr25rbjkvq7v1hwx8llld6d2dalkdla9jsh7iw6ddj";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -158,8 +167,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gorilla/handlers";
|
||||
rev = "7e0847f9db758cdebd26c149d0ae9d5d0b9c98ce";
|
||||
sha256 = "0mnw81ayjm4d8462qg8spmcwxmchn24158bf93zxjab51pg8n9gm";
|
||||
rev = "350d97a79266938cd77a9192b7d995132d4e2b5b";
|
||||
sha256 = "1rk69bnhcp4s4cv7hwsafag8d3fj1mgxli0bkazc69ig90a71h1b";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -167,17 +176,17 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/gorilla/websocket";
|
||||
rev = "5ed622c449da6d44c3c8329331ff47a9e5844f71";
|
||||
sha256 = "1yhcwraijdk6lx7f6m9p6i1b3zfh2hq80l1nfpnckfn10gh72aw7";
|
||||
rev = "95ba29eb981bbb27d92e1f70bf8a1949452d926b";
|
||||
sha256 = "08lvc9l0qagyhyrjj6jkhpq3zapa5gqr966bm33nb4bc0pd38f48";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/kardianos/osext";
|
||||
goPackagePath = "github.com/julienschmidt/httprouter";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/kardianos/osext";
|
||||
rev = "ae77be60afb1dcacde03767a8c37337fad28ac14";
|
||||
sha256 = "056dkgxrqjj5r18bnc3knlpgdz5p3yvp12y4y978hnsfhwaqvbjz";
|
||||
url = "https://github.com/julienschmidt/httprouter";
|
||||
rev = "26a05976f9bf5c3aa992cc20e8588c359418ee58";
|
||||
sha256 = "0bmvrgg373fxwqsr6nri01bmi9qdj6knxkmnbw70h9rmi2d9c585";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -203,26 +212,17 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/lib/pq";
|
||||
rev = "90697d60dd844d5ef6ff15135d0203f65d2f53b8";
|
||||
sha256 = "0hb4bfsk8g5473yzbf3lzrb373xicakjznkf0v085xgimz991i9r";
|
||||
rev = "9eb73efc1fcc404148b56765b0d3f61d9a5ef8ee";
|
||||
sha256 = "17wkjdz265iqf92gj3ljslvjcqvkfblw11jdq2scc3kp1hcsfr10";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mailru/easyjson";
|
||||
goPackagePath = "github.com/mattn/go-sqlite3";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mailru/easyjson";
|
||||
rev = "03f2033d19d5860aef995fe360ac7d395cd8ce65";
|
||||
sha256 = "0r62ym6m1ijby7nwplq0gdnhak8in63njyisrwhr3xpx9vkira97";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "github.com/mholt/archiver";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/mholt/archiver";
|
||||
rev = "e4ef56d48eb029648b0e895bb0b6a393ef0829c3";
|
||||
sha256 = "1krxyh6iq0s0rwhz7gg6dn795j9qq64rsgq9nivav7fhrqpgr6hb";
|
||||
url = "https://github.com/mattn/go-sqlite3";
|
||||
rev = "6a9185d7b1f12363e2c904449d374b63b6093b16";
|
||||
sha256 = "1yb04vhzkaxnm11i34lpcdgzmcydfnlky3xxj9q2hm1wd7hn3hki";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -230,8 +230,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/nwaples/rardecode";
|
||||
rev = "e06696f847aeda6f39a8f0b7cdff193b7690aef6";
|
||||
sha256 = "1aj7l8ii7hxnn3q4wzxlx3f92b1aspck6ncyqgb4h2g228phcibw";
|
||||
rev = "197ef08ef68c4454ae5970a9c2692d6056ceb8d7";
|
||||
sha256 = "0vvijw7va283dbdvnf4bgkn7bjngxqzk1rzdpy8sl343r62bmh4g";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -248,8 +248,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/oschwald/maxminddb-golang";
|
||||
rev = "c5bec84d1963260297932a1b7a1753c8420717a7";
|
||||
sha256 = "0n8vhinm2x0prbn0vhxw38c24iiaizwk1b76s4srg30gk3dfdd39";
|
||||
rev = "ed835b22606182ff576f244643e52b25b7d6c4e7";
|
||||
sha256 = "0zm4nyxz89s05fkz0fcaab3dmm24cb24iwjbzh06a49dwvcxxrgw";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -257,8 +257,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/otium/ytdl";
|
||||
rev = "b071cb3eb1579608df3b52084a017c5753b325e6";
|
||||
sha256 = "01ankrjgdcw0ncwv0xzqh74xy22vdl2nza0arga72zrakpgk8nw0";
|
||||
rev = "0227c2bacb82a434f2332d7d8c64093615c08a40";
|
||||
sha256 = "1g5h6s5c860yamgr606l6ibpqx39676vas75c9426556hwgp3pqs";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -266,8 +266,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/pierrec/lz4";
|
||||
rev = "6b9367c9ff401dbc54fabce3fb8d972e799b702d";
|
||||
sha256 = "0bxxap7jn3wvqxr2yqn8m3aqgb9y94j9ci6fwjrk01caq575r1qs";
|
||||
rev = "623b5a2f4d2a41e411730dcdfbfdaeb5c0c4564e";
|
||||
sha256 = "1hhf7vyz5irrqs7ixdmvsvzmy9izv3ha8jbyy0cs486h61nzqkki";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -275,8 +275,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/sevlyar/go-daemon";
|
||||
rev = "f9261e73885de99b1647d68bedadf2b9a99ad11f";
|
||||
sha256 = "1c4h85a3qfdkd61k8ipk1ffi3sdflq4wqp6d6h43zrca528m9ddc";
|
||||
rev = "12616e426b1522ef2099701fafdd6ad9f476e8c1";
|
||||
sha256 = "1hakfpdxlqvdbp4c597ldf33s5yalsh5db6ym1xh5y7h27v8bk01";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -284,8 +284,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/sirupsen/logrus";
|
||||
rev = "e4b0c6d7829bcf64435536c4a88f4088a3c76203";
|
||||
sha256 = "1s3m83wv1wjv95nhkbvml56c12z75x85wlmqill3zqvlm9az6bzg";
|
||||
rev = "29d7eb25e8ffa54207ff5a9a5c3d63e95be2cc39";
|
||||
sha256 = "1barxwfwnmsa45iqqrppzj830ypm500aq9w234gyyh1gdknijck4";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -293,8 +293,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/ulikunitz/xz";
|
||||
rev = "636d36a76670e6c700f22fd5f4588679ff2896c4";
|
||||
sha256 = "01d71xnhdd60cmd9xk8zcjiq2n7fhgc6kzxd0s0plvs70y6dk27g";
|
||||
rev = "590df8077fbcb06ad62d7714da06c00e5dd2316d";
|
||||
sha256 = "07mivr4aiw3b8qzwajsxyjlpbkf3my4xx23lv0yryc4pciam5lhy";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -302,8 +302,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/valyala/bytebufferpool";
|
||||
rev = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7";
|
||||
sha256 = "01lqzjddq6kz9v41nkky7wbgk7f1cw036sa7ldz10d82g5klzl93";
|
||||
rev = "cdfbe9377474227bb42120c1e22fd4433e7f69bf";
|
||||
sha256 = "0c6cixd85dvl2gvs7sdh0k2wm8r3grl4fw0jg4w7d78cp8s2k7ag";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -311,8 +311,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://github.com/valyala/quicktemplate";
|
||||
rev = "a91e0946457b6583004fbfc159339b8171423aed";
|
||||
sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc";
|
||||
rev = "4c04039b1358b0f49af22a699f9193f05d80be40";
|
||||
sha256 = "1qf7wpalk3n2jmcc2sw05cnwysl4rx986avykbfic5wq4fgxh9a5";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -320,8 +320,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/crypto";
|
||||
rev = "de0752318171da717af4ce24d0a2e8626afaeb11";
|
||||
sha256 = "1ps1dl2a5lwr3vbwcy8n4i1v73m567y024sk961fk281phrzp13i";
|
||||
rev = "505ab145d0a99da450461ae2c1a9f6cd10d1f447";
|
||||
sha256 = "1vbsvcvmjz6c00p5vf8ls533p52fx2y3gy6v4k5qrdlzl4wf0i5s";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -329,8 +329,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/net";
|
||||
rev = "c39426892332e1bb5ec0a434a079bf82f5d30c54";
|
||||
sha256 = "1w26avkg623xilnwnad0cq6768cfbs4mxk875382xh0da6ai50s3";
|
||||
rev = "351d144fa1fc0bd934e2408202be0c29f25e35a0";
|
||||
sha256 = "1c5x25qjyz83y92bq0lll5kmznyi3m02wd4c54scgf0866gy938k";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -338,8 +338,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/sys";
|
||||
rev = "14742f9018cd6651ec7364dc6ee08af0baaa1031";
|
||||
sha256 = "17k06vwhnlb18n9rb1cdcdqyjcn353znfrr4c90xb3carz1sqfq5";
|
||||
rev = "70b957f3b65e069b4930ea94e2721eefa0f8f695";
|
||||
sha256 = "146jwkr39asigqbsnsigxpkpb4vydld4k9q34xvvw0bp10qzjxxw";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -347,8 +347,8 @@
|
|||
fetch = {
|
||||
type = "git";
|
||||
url = "https://go.googlesource.com/text";
|
||||
rev = "6e3c4e7365ddcc329f090f96e4348398f6310088";
|
||||
sha256 = "1r511ncipn7sdlssn06fpzcpy4mp4spagni4ryxq86p2b0bi8pn4";
|
||||
rev = "6f44c5a2ea40ee3593d98cdcc905cc1fdaa660e2";
|
||||
sha256 = "00mwzxly5isgf0glz7k3k2dkyqkjfc4z55qxajx4lgcp3h8xn9xj";
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -360,4 +360,13 @@
|
|||
sha256 = "0zdykrv5s19lnq0g49p6njldy4cpk4g161vyjafiw7f84h8r28mc";
|
||||
};
|
||||
}
|
||||
{
|
||||
goPackagePath = "gopkg.in/mholt/archiver.v2";
|
||||
fetch = {
|
||||
type = "git";
|
||||
url = "https://gopkg.in/mholt/archiver.v2";
|
||||
rev = "de0d89e255e17c8d75a40122055763e743ab0593";
|
||||
sha256 = "02fsc0za0yi3dg0r5caa8vpxz6kqxjxxlmwzzj5899dlmdvqk57g";
|
||||
};
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue