@@ -1,16 +1,14 @@
11{ stdenv, fetchurl, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }:
22
3−let
4− rev = "640e98c74b";
5−in
63with stdenv.lib;
74stdenv.mkDerivation rec {
8− name = "irssi-otr-20131007-${rev}";
9−
5+ name = "irssi-otr-${version}";
6+ version = "1.0.0";
7+
108 src = fetchurl {
11− url = "https://github.com/cryptodotis/irssi-otr/tarball/${rev}";
9+ url = "https://github.com/cryptodotis/irssi-otr/archive/v${version}.tar.gz";
1210 name = "${name}.tar.gz";
13− sha256 = "0d08ianzhy20w0ld8xx7hgrp9psg54l37619pcdpqyrnlzkkdalz";
11+ sha256 = "bad09a2853ea6fb1a7af42c8f15868fd3ce45f973be90c78944ddf04f8ab517e";
1412 };
1513
1614 patchPhase = ''
@@ -22,7 +20,7 @@ stdenv.mkDerivation rec {
2220 preConfigure = "sh ./bootstrap";
2321
2422 buildInputs = [ libotr automake autoconf libtool glib pkgconfig irssi ];
25−
23+
2624 meta = {
2725 homepage = https://github.com/cryptodotis/irssi-otr;
2826 license = stdenv.lib.licenses.gpl2Plus;