git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #49320 from benpye/init-miniflux

miniflux: init at 2.0.12

commitbd4387f5994a1783a1e12df3d028610f102fb71c authorVladyslav M <dywedir@pm.me> dateMon 29 Oct 2018, 13:53 (8 years ago) parent99aff829a03df9
4 files changed+198
maintainers/maintainer-list.nix+5 pkgs/servers/miniflux/default.nix+38 pkgs/servers/miniflux/deps.nix+153 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -495,6 +495,11 @@
495495 github = "bennofs";
496496 name = "Benno Fünfstück";
497497 };
498+ benpye = {
499+ email = "ben@curlybracket.co.uk";
500+ github = "benpye";
501+ name = "Ben Pye";
502+ };
498503 benwbooth = {
499504 email = "benwbooth@gmail.com";
500505 github = "benwbooth";
pkgs/servers/miniflux/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ stdenv
2+, buildGoPackage
3+, fetchFromGitHub
4+}:
5+
6+buildGoPackage rec {
7+ name = "miniflux-${version}";
8+ version = "2.0.12";
9+
10+ goPackagePath = "miniflux.app";
11+
12+ src = fetchFromGitHub {
13+ owner = "miniflux";
14+ repo = "miniflux";
15+ rev = "refs/tags/${version}";
16+ sha256 = "13d1dwcwig7b5phymgxqm227k5l3zzzvx997cywarbl953ji2y1d";
17+ };
18+
19+ goDeps = ./deps.nix;
20+
21+ doCheck = true;
22+
23+ buildFlagsArray = ''
24+ -ldflags=-X ${goPackagePath}/version.Version=${version}
25+ '';
26+
27+ postInstall = ''
28+ mv $bin/bin/miniflux.app $bin/bin/miniflux
29+ '';
30+
31+ meta = with stdenv.lib; {
32+ description = "Miniflux is a minimalist and opinionated feed reader.";
33+ homepage = https://miniflux.app/;
34+ license = licenses.asl20;
35+ maintainers = with maintainers; [ benpye ];
36+ };
37+}
38+
pkgs/servers/miniflux/deps.nixnew file+153
@@ -0,0 +1,153 @@
1+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
2+[
3+
4+ {
5+ goPackagePath = "github.com/PuerkitoBio/goquery";
6+ fetch = {
7+ type = "git";
8+ url = "https://github.com/PuerkitoBio/goquery";
9+ rev = "v1.4.1";
10+ sha256 = "11010z9ask21r0dskvm2pbh3z8951bnpcqg8aqa213if4h34gaa2";
11+ };
12+ }
13+
14+ {
15+ goPackagePath = "github.com/andybalholm/cascadia";
16+ fetch = {
17+ type = "git";
18+ url = "https://github.com/andybalholm/cascadia";
19+ rev = "v1.0.0";
20+ sha256 = "09j8cavbhqqdxjqrkwbc40g8p0i49zf3184rpjm5p2rjbprcghcc";
21+ };
22+ }
23+
24+ {
25+ goPackagePath = "github.com/golang/protobuf";
26+ fetch = {
27+ type = "git";
28+ url = "https://github.com/golang/protobuf";
29+ rev = "v1.1.0";
30+ sha256 = "0ya4ha7m20bw048m1159ppqzlvda4x0vdprlbk5sdgmy74h3xcdq";
31+ };
32+ }
33+
34+ {
35+ goPackagePath = "github.com/gorilla/context";
36+ fetch = {
37+ type = "git";
38+ url = "https://github.com/gorilla/context";
39+ rev = "v1.1.1";
40+ sha256 = "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4";
41+ };
42+ }
43+
44+ {
45+ goPackagePath = "github.com/gorilla/mux";
46+ fetch = {
47+ type = "git";
48+ url = "https://github.com/gorilla/mux";
49+ rev = "v1.6.2";
50+ sha256 = "0pvzm23hklxysspnz52mih6h1q74vfrdhjfm1l3sa9r8hhqmmld2";
51+ };
52+ }
53+
54+ {
55+ goPackagePath = "github.com/lib/pq";
56+ fetch = {
57+ type = "git";
58+ url = "https://github.com/lib/pq";
59+ rev = "v1.0.0";
60+ sha256 = "1zqnnyczaf00xi6xh53vq758v5bdlf0iz7kf22l02cal4i6px47i";
61+ };
62+ }
63+
64+ {
65+ goPackagePath = "github.com/tdewolff/minify";
66+ fetch = {
67+ type = "git";
68+ url = "https://github.com/tdewolff/minify";
69+ rev = "v2.3.5";
70+ sha256 = "0x67kgjhc6mfzjhr4xmw0j3qapzhkgwwahvv5b44rb449ml2qx5m";
71+ };
72+ }
73+
74+ {
75+ goPackagePath = "github.com/tdewolff/parse";
76+ fetch = {
77+ type = "git";
78+ url = "https://github.com/tdewolff/parse";
79+ rev = "v2.3.3";
80+ sha256 = "190y2jykp8qyp6y58ky1v1fvmaqjnrsr1ksbqrrspf1gpjy69i94";
81+ };
82+ }
83+
84+ {
85+ goPackagePath = "golang.org/x/crypto";
86+ fetch = {
87+ type = "git";
88+ url = "https://go.googlesource.com/crypto";
89+ rev = "614d502a4dac";
90+ sha256 = "1rcyvsl8b8pk7h8lwl0fpiflrx8zs121wi5490ln0qnvkk8d4bwy";
91+ };
92+ }
93+
94+ {
95+ goPackagePath = "golang.org/x/net";
96+ fetch = {
97+ type = "git";
98+ url = "https://go.googlesource.com/net";
99+ rev = "8a410e7b638d";
100+ sha256 = "0hp0l8f6fir5gmgrjq0mhh5ikc0rlrm72774228800kfwqjrxxny";
101+ };
102+ }
103+
104+ {
105+ goPackagePath = "golang.org/x/oauth2";
106+ fetch = {
107+ type = "git";
108+ url = "https://go.googlesource.com/oauth2";
109+ rev = "d2e6202438be";
110+ sha256 = "0wbn75fd10485nb93bm4kqldqifdim5xqy4v7r5sdvimvf3fyhn7";
111+ };
112+ }
113+
114+ {
115+ goPackagePath = "golang.org/x/sync";
116+ fetch = {
117+ type = "git";
118+ url = "https://go.googlesource.com/sync";
119+ rev = "1d60e4601c6f";
120+ sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
121+ };
122+ }
123+
124+ {
125+ goPackagePath = "golang.org/x/sys";
126+ fetch = {
127+ type = "git";
128+ url = "https://go.googlesource.com/sys";
129+ rev = "4910a1d54f87";
130+ sha256 = "0p2pp6mny34gjcvylx3ddzdaxn7hv008hppsr11w1bvyzj7s27by";
131+ };
132+ }
133+
134+ {
135+ goPackagePath = "golang.org/x/text";
136+ fetch = {
137+ type = "git";
138+ url = "https://go.googlesource.com/text";
139+ rev = "v0.3.0";
140+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
141+ };
142+ }
143+
144+ {
145+ goPackagePath = "google.golang.org/appengine";
146+ fetch = {
147+ type = "git";
148+ url = "https://github.com/golang/appengine";
149+ rev = "v1.1.0";
150+ sha256 = "1pz202zszg8f35dk5pfhwgcdi3r6dx1l4yk6x6ly7nb4j45zi96x";
151+ };
152+ }
153+]
pkgs/top-level/all-packages.nix+2
@@ -13545,6 +13545,8 @@ with pkgs;
1354513545
1354613546 mysql_jdbc = callPackage ../servers/sql/mysql/jdbc { };
1354713547
13548+ miniflux = callPackage ../servers/miniflux { };
13549+
1354813550 nagios = callPackage ../servers/monitoring/nagios { };
1354913551
1355013552 munin = callPackage ../servers/monitoring/munin { };