hydron: init at 2018-07-15
This commit is contained in:
parent
38f2a3efbf
commit
920f1bc190
33
pkgs/servers/hydron/default.nix
Normal file
33
pkgs/servers/hydron/default.nix
Normal file
@ -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;
|
||||
};
|
||||
}
|
93
pkgs/servers/hydron/deps.nix
generated
Normal file
93
pkgs/servers/hydron/deps.nix
generated
Normal file
@ -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";
|
||||
};
|
||||
}
|
||||
]
|
@ -12756,6 +12756,8 @@ with pkgs;
|
||||
|
||||
home-assistant = callPackage ../servers/home-assistant { };
|
||||
|
||||
hydron = callPackage ../servers/hydron { };
|
||||
|
||||
ircdHybrid = callPackage ../servers/irc/ircd-hybrid { };
|
||||
|
||||
jboss = callPackage ../servers/http/jboss { };
|
||||
|
Loading…
Reference in New Issue
Block a user