diff options
author | tg(x) <*@tg-x.net> | 2016-02-12 18:43:19 +0100 |
---|---|---|
committer | tg(x) <*@tg-x.net> | 2016-02-12 18:43:45 +0100 |
commit | 0137d4c6ff8a25041e49e37e62524e9edd3452f9 (patch) | |
tree | f1db2ab0f64407f11238f3f4754fa1a440ad519d /pkgs/applications/networking/irc | |
parent | 91ac4fc0a488ec79794f943b452d8cff0cff0919 (diff) |
irssi-otr: fetchFromGithub
Diffstat (limited to 'pkgs/applications/networking/irc')
-rw-r--r-- | pkgs/applications/networking/irc/irssi/otr/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/applications/networking/irc/irssi/otr/default.nix b/pkgs/applications/networking/irc/irssi/otr/default.nix index 33fe5b799dba1..bf462c09f54ae 100644 --- a/pkgs/applications/networking/irc/irssi/otr/default.nix +++ b/pkgs/applications/networking/irc/irssi/otr/default.nix @@ -1,14 +1,15 @@ -{ stdenv, fetchurl, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }: +{ stdenv, fetchFromGitHub, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }: with stdenv.lib; stdenv.mkDerivation rec { name = "irssi-otr-${version}"; version = "1.0.0"; - src = fetchurl { - url = "https://github.com/cryptodotis/irssi-otr/archive/v${version}.tar.gz"; - name = "${name}.tar.gz"; - sha256 = "bad09a2853ea6fb1a7af42c8f15868fd3ce45f973be90c78944ddf04f8ab517e"; + src = fetchFromGitHub { + owner = "cryptodotis"; + repo = "irssi-otr"; + rev = "v${version}"; + sha256 = "139jawz3la6k91fy5kpgr6zvljl14n0fdpz72n2zw6wql69xlnnl"; }; patchPhase = '' |