Moving from fetchgit generated by go2nix to fetchFromGitHub where rev is

a tag
This commit is contained in:
Kamil Chmielewski
2016-06-09 13:08:10 +02:00
parent 8dc356c731
commit bbc37e0eb7
23 changed files with 95 additions and 72 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "textql-${version}";
@@ -7,9 +7,10 @@ buildGoPackage rec {
goPackagePath = "github.com/dinedal/textql";
src = fetchgit {
src = fetchFromGitHub {
inherit rev;
url = "https://github.com/dinedal/textql";
owner = "dinedal";
repo = "textql";
sha256 = "1b61w4pc5gl7m12mphricihzq7ifnzwn0yyw3ypv0d0fj26h5hc3";
};