From 9d39e8b974900b98f376e49dabdeb7a614b99514 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Thu, 2 Feb 2017 02:29:39 +0100 Subject: [PATCH] imapfilter: 2.6.3 -> 2.6.10 --- .../networking/mailreaders/imapfilter.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/mailreaders/imapfilter.nix b/pkgs/applications/networking/mailreaders/imapfilter.nix index 1aa30ddcb67e..0606ed86e135 100644 --- a/pkgs/applications/networking/mailreaders/imapfilter.nix +++ b/pkgs/applications/networking/mailreaders/imapfilter.nix @@ -1,11 +1,14 @@ -{ stdenv, fetchurl, openssl, lua, pcre }: +{ stdenv, fetchFromGitHub, openssl, lua, pcre }: stdenv.mkDerivation rec { - name = "imapfilter-2.6.3"; + name = "imapfilter-${version}"; + version = "2.6.10"; - src = fetchurl { - url = "https://github.com/lefcha/imapfilter/archive/v2.6.3.tar.gz"; - sha256 = "0i6j9ilzh43b9gyqs3y3rv0d9yvbbg12gcbqbar9i92wdlnqcx0i"; + src = fetchFromGitHub { + owner = "lefcha"; + repo = "imapfilter"; + rev = "v${version}"; + sha256 = "1011pbgbaz43kmxcc5alv06jly9wqmqgr0b64cm5i1md727v3rzc"; }; makeFlagsArray = "PREFIX=$(out)";