summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/hydron
diff options
context:
space:
mode:
authorOkina Matara <okinan@chiru.no>2018-07-18 13:17:42 -0500
committerOkina Matara <okinan@chiru.no>2018-07-18 13:17:42 -0500
commit920f1bc190e76d26070d24db8a165ac7adfbd16a (patch)
tree761d53f95338a1531e9136b81127d27c7c6453ce /pkgs/servers/hydron
parent38f2a3efbff43975cc2391011ebb912ee89871e1 (diff)
hydron: init at 2018-07-15
Diffstat (limited to 'pkgs/servers/hydron')
-rw-r--r--pkgs/servers/hydron/default.nix33
-rw-r--r--pkgs/servers/hydron/deps.nix93
2 files changed, 126 insertions, 0 deletions
diff --git a/pkgs/servers/hydron/default.nix b/pkgs/servers/hydron/default.nix
new file mode 100644
index 000000000000..22191e199766
--- /dev/null
+++ b/pkgs/servers/hydron/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, ffmpeg-full, graphicsmagick
+, quicktemplate, go-bindata, easyjson }:
+
+buildGoPackage rec {
+ name = "hydron-unstable-${version}";
+ version = "2018-07-15";
+ goPackagePath = "github.com/bakape/hydron";
+ goDeps = ./deps.nix;
+
+ src = fetchFromGitHub {
+ rev = "3906ace0b4cf48ba9acccf372377c7feb0665be4";
+ owner = "bakape";
+ repo = "hydron";
+ sha256 = "079a88740wxgq73sq8w96zppfng7af76k7h484x3w695qk83j33r";
+ };
+
+ enableParallelBuilding = true;
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ ffmpeg-full graphicsmagick quicktemplate go-bindata easyjson ];
+
+ # Temporary workaround for https://github.com/NixOS/nixpkgs/issues/43593
+ preBuild = ''
+ rm go/src/github.com/bakape/hydron/ico.syso
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/bakape/hydron";
+ description = "High performance media tagger and organizer";
+ license = licenses.lgpl3Plus;
+ maintainers = with maintainers; [ chiiruno ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/servers/hydron/deps.nix b/pkgs/servers/hydron/deps.nix
new file mode 100644
index 000000000000..9ef0fd23b455
--- /dev/null
+++ b/pkgs/servers/hydron/deps.nix
@@ -0,0 +1,93 @@
+# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
+[
+ {
+ goPackagePath = "github.com/Masterminds/squirrel";
+ fetch = {
+ type = "git";
+ url = "https://github.com/Masterminds/squirrel";
+ rev = "b127ed9be03443fe3c0877e391130e3dd3f3107a";
+ sha256 = "04vgwm5g5486188656hiw1x56mrkv27s5g2s8mc1lz7z1ig5g5bg";
+ };
+ }
+ {
+ goPackagePath = "github.com/bakape/thumbnailer";
+ fetch = {
+ type = "git";
+ url = "https://github.com/bakape/thumbnailer";
+ rev = "fa88f595f3882773bc425b382eee71e3e2fa1291";
+ sha256 = "19xfn8aj1nhh5dj93hskzrhaa07sayd8agmz1vkkh6varqrldanf";
+ };
+ }
+ {
+ goPackagePath = "github.com/dimfeld/httptreemux";
+ fetch = {
+ type = "git";
+ url = "https://github.com/dimfeld/httptreemux";
+ rev = "7f532489e7739b3d49df5c602bf63549881fe753";
+ sha256 = "0hkw04rsvljvx8ynqjgz9cb743x09fd2xiiycrgz5vbsa8q9iyyk";
+ };
+ }
+ {
+ goPackagePath = "github.com/gorilla/handlers";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gorilla/handlers";
+ rev = "13a38d26174b16d5b4bf6f1094c1389ec9879572";
+ sha256 = "0zg43blpyyy667y0kpiifk5a2w35jh8qkk4zwlabb365c0lzrv6v";
+ };
+ }
+ {
+ goPackagePath = "github.com/lann/builder";
+ fetch = {
+ type = "git";
+ url = "https://github.com/lann/builder";
+ rev = "1b87b36280d04fe7882d1512bf038ea2967ad534";
+ sha256 = "015q46awbyp47vld07yi7d27i0lkd82r7qn5230bb9qxl4mcfiqc";
+ };
+ }
+ {
+ goPackagePath = "github.com/lann/ps";
+ fetch = {
+ type = "git";
+ url = "https://github.com/lann/ps";
+ rev = "62de8c46ede02a7675c4c79c84883eb164cb71e3";
+ sha256 = "10yhcyymypvdiiipchsp80jbglk8c4r7lq7h54v9f4mxmvz6xgf7";
+ };
+ }
+ {
+ goPackagePath = "github.com/mailru/easyjson";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mailru/easyjson";
+ rev = "3fdea8d05856a0c8df22ed4bc71b3219245e4485";
+ sha256 = "0g3crph77yhv4ipdnwqc32z4cp87ahi4ikad5kyy6q4znnxliz74";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-sqlite3";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-sqlite3";
+ rev = "3aefd9f0a162514f66d0e4ceda3edc44e66b502e";
+ sha256 = "0as2kqmlvd21r481vxl457n5lxxp4i1jdjkmyqsjf5vg6xr9gd2d";
+ };
+ }
+ {
+ goPackagePath = "github.com/valyala/bytebufferpool";
+ fetch = {
+ type = "git";
+ url = "https://github.com/valyala/bytebufferpool";
+ rev = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7";
+ sha256 = "01lqzjddq6kz9v41nkky7wbgk7f1cw036sa7ldz10d82g5klzl93";
+ };
+ }
+ {
+ goPackagePath = "github.com/valyala/quicktemplate";
+ fetch = {
+ type = "git";
+ url = "https://github.com/valyala/quicktemplate";
+ rev = "a91e0946457b6583004fbfc159339b8171423aed";
+ sha256 = "1z89ang5pkq5qs5b2nwhzyrw0zjlsas539l9kix374fhka49n8yc";
+ };
+ }
+]