diff options
author | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-06 12:26:56 +0200 |
---|---|---|
committer | Kamil Chmielewski <kamil.chm@gmail.com> | 2016-06-09 13:08:10 +0200 |
commit | bbc37e0eb7bf9d97f6d3e796833968180606cfaf (patch) | |
tree | ea4d6f610e359592a9b62b9dec24a305360807ae /pkgs/tools/misc/fzf | |
parent | 8dc356c731a8478af4b6509f18d7c79489121433 (diff) |
Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is
a tag
Diffstat (limited to 'pkgs/tools/misc/fzf')
-rw-r--r-- | pkgs/tools/misc/fzf/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/tools/misc/fzf/default.nix b/pkgs/tools/misc/fzf/default.nix index f9cf313b77488..eaf1f1869d6e0 100644 --- a/pkgs/tools/misc/fzf/default.nix +++ b/pkgs/tools/misc/fzf/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, ncurses, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }: +{ stdenv, lib, ncurses, buildGoPackage, fetchFromGitHub }: buildGoPackage rec { name = "fzf-${version}"; @@ -7,9 +7,10 @@ buildGoPackage rec { goPackagePath = "github.com/junegunn/fzf"; - src = fetchgit { + src = fetchFromGitHub { inherit rev; - url = "https://github.com/junegunn/fzf"; + owner = "junegunn"; + repo = "fzf"; sha256 = "02qqcnijv8z3736iczbx082yizpqk02g5k746k7sdgfkgyxydppk"; }; |