From b8f3c4c659a2a9ed19458cd93b0494b7e57b6e98 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 18 Jun 2015 22:52:41 -0700 Subject: [PATCH] ttylog: 0.25 -> 0.26 --- pkgs/tools/misc/ttylog/default.nix | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/misc/ttylog/default.nix b/pkgs/tools/misc/ttylog/default.nix index 1c90bb842d62..16db6b62eb7a 100644 --- a/pkgs/tools/misc/ttylog/default.nix +++ b/pkgs/tools/misc/ttylog/default.nix @@ -1,11 +1,14 @@ -{ stdenv, fetchurl, cmake }: +{ stdenv, fetchFromGitHub, cmake }: stdenv.mkDerivation rec { - name = "ttylog-0.25"; + name = "ttylog-${version}"; + version = "0.26"; - src = fetchurl { - url = "mirror://sourceforge/ttylog/${name}.tar.gz"; - sha256 = "0546mj5gcxi7idvfw82p8qw27lk7wsk6j4b6zw7nb6z2wi517l40"; + src = fetchFromGitHub { + owner = "rocasa"; + repo = "ttylog"; + rev = version; + sha256 = "1xvqch1dwpl2d89n9cjcxhqbpvm50fspj5yn883wbii6dpg62p84"; }; nativeBuildInputs = [ cmake ];