@@ -1,7 +1,6 @@
1−{ stdenv, fetchurl, fetchgit, znc }:
1+{ stdenv, fetchurl, fetchgit, znc }:
22
33let
4−
54 zncDerivation = a@{
65 name, src, module_name,
76 buildPhase ? "${znc}/bin/znc-buildmod ${module_name}.cpp",
@@ -16,25 +15,6 @@ let
1615
1716in rec {
1817
19− push = zncDerivation rec {
20− name = "znc-push-${version}";
21− version = "1.0.0";
22− module_name = "push";
23−
24− src = fetchurl {
25− url = "https://github.com/jreese/znc-push/archive/v${version}.tar.gz";
26− sha256 = "1v9a16b1d8mfzhddf4drh6rbxa0szr842g7614r8ninmc0gi7a2v";
27− };
28−
29− meta = {
30− description = "Push notification service module for ZNC";
31− homepage = https://github.com/jreese/znc-push;
32− repositories.git = https://github.com/jreese/znc-push.git;
33− license = stdenv.lib.licenses.mit;
34− maintainers = [ stdenv.lib.maintainers.offline ];
35− };
36− };
37−
3818 fish = zncDerivation rec {
3919 name = "znc-fish-8e1f150fda";
4020 module_name = "fish";
@@ -70,4 +50,24 @@ in rec {
7050 };
7151 };
7252
53+ push = zncDerivation rec {
54+ name = "znc-push-${version}";
55+ version = "git-2015-12-07";
56+ module_name = "push";
57+
58+ src = fetchgit {
59+ url = "https://github.com/jreese/znc-push.git";
60+ rev = "717a2b1741eee75456b0862ef76dbb5af906e936";
61+ sha256 = "1lr5bhcy8156f7sbah7kjgz4g4mhkkwgvwjd2rxpbwnpq3ssza9k";
62+ };
63+
64+ meta = {
65+ description = "Push notification service module for ZNC";
66+ homepage = https://github.com/jreese/znc-push;
67+ repositories.git = https://github.com/jreese/znc-push.git;
68+ license = stdenv.lib.licenses.mit;
69+ maintainers = [ stdenv.lib.maintainers.offline ];
70+ };
71+ };
72+
7373}