1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00

go-repo-root: extracted from goPackages

This commit is contained in:
Kamil Chmielewski 2016-06-03 19:11:31 +02:00
parent c7bf8afbfc
commit 0066d89b0c
3 changed files with 21 additions and 10 deletions

View file

@ -0,0 +1,20 @@
# This file was generated by go2nix.
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
with goPackages;
buildGoPackage rec {
name = "go-repo-root-${version}";
version = "20140911-${stdenv.lib.strings.substring 0 7 rev}";
rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
goPackagePath = "github.com/cstrahan/go-repo-root";
src = fetchgit {
inherit rev;
url = "https://github.com/cstrahan/go-repo-root";
sha256 = "1rlzp8kjv0a3dnfhyqcggny0ad648j5csr2x0siq5prahlp48mg4";
};
buildInputs = [ tools ];
}

View file

@ -4551,7 +4551,7 @@ in
go = self.go_1_5;
go-repo-root = goPackages.go-repo-root.bin // { outputs = [ "bin" ]; };
go-repo-root = (callPackage ../development/tools/go-repo-root { }).bin;
gox = goPackages.gox.bin // { outputs = [ "bin" ]; };

View file

@ -1804,15 +1804,6 @@ let
sha256 = "0gr9f53vayc6501a1kaw4p3h9pgf376cgxsfnr3f2dvp0xacvw8x";
};
go-repo-root = buildFromGitHub {
rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
version = "2014-09-11";
owner = "cstrahan";
repo = "go-repo-root";
sha256 = "1rlzp8kjv0a3dnfhyqcggny0ad648j5csr2x0siq5prahlp48mg4";
buildInputs = [ tools ];
};
go-rice = buildFromGitHub {
rev = "4f3c5af2322e393f305d9674845bc36cd1dea589";
version = "2016-01-04";