summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-09-16 18:53:56 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-09-16 18:53:56 +0200
commit7bfaec16c44f3848f62cce4e74b6aed240c34c1a (patch)
tree5ba35d0a61138cd2d6a4311759760f1e6f735cb5
parent3197bd0ff56c5d85c42a52e323bff52bbbf1d094 (diff)
downloadnixpkgs-7bfaec16c44f3848f62cce4e74b6aed240c34c1a.tar
nixpkgs-7bfaec16c44f3848f62cce4e74b6aed240c34c1a.tar.gz
nixpkgs-7bfaec16c44f3848f62cce4e74b6aed240c34c1a.tar.bz2
nixpkgs-7bfaec16c44f3848f62cce4e74b6aed240c34c1a.tar.lz
nixpkgs-7bfaec16c44f3848f62cce4e74b6aed240c34c1a.tar.xz
nixpkgs-7bfaec16c44f3848f62cce4e74b6aed240c34c1a.tar.zst
nixpkgs-7bfaec16c44f3848f62cce4e74b6aed240c34c1a.zip
xmpp-client: clean up expression
-rw-r--r--pkgs/applications/networking/instant-messengers/xmpp-client/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/xmpp-client/default.nix b/pkgs/applications/networking/instant-messengers/xmpp-client/default.nix
index d766f8798c1..beb2597ebfc 100644
--- a/pkgs/applications/networking/instant-messengers/xmpp-client/default.nix
+++ b/pkgs/applications/networking/instant-messengers/xmpp-client/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
+{ stdenv, buildGoPackage, fetchFromGitHub }:
 
 buildGoPackage rec {
   name = "xmpp-client-${version}";
@@ -7,9 +7,10 @@ buildGoPackage rec {
 
   goPackagePath = "github.com/agl/xmpp-client";
 
-  src = fetchgit {
+  src = fetchFromGitHub {
+    owner = "agl";
+    repo = "xmpp-client";
     inherit rev;
-    url = "https://github.com/agl/xmpp-client";
     sha256 = "0j9mfr208cachzm39i8b94v5qk9hws278vv2ms9ma4wn16wns81s";
   };