go-repo-root: Move to go-packages

This commit is contained in:
William A. Kennington III 2015-09-05 00:38:42 -07:00
parent 7baf0e734e
commit 31f5bbdaff
3 changed files with 10 additions and 27 deletions

View File

@ -1,26 +0,0 @@
{ lib, goPackages, fetchFromGitHub }:
let
version = "0.0.1";
in
with lib; with goPackages;
buildGoPackage rec {
name = "go-repo-root-${version}";
goPackagePath = "github.com/cstrahan/go-repo-root";
src = fetchFromGitHub {
owner = "cstrahan";
repo = "go-repo-root";
rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
sha256 = "1rlzp8kjv0a3dnfhyqcggny0ad648j5csr2x0siq5prahlp48mg4";
};
buildInputs = [ tools ];
meta = with lib; {
homepage = "https://github.com/cstrahan/go-repo-root";
maintainers = with maintainers; [ cstrahan ];
license = licenses.mit;
platforms = platforms.all;
};
}

View File

@ -4092,7 +4092,7 @@ let
then go_1_4 # missing DWARF files during go-1.5 build
else go_1_5;
go-repo-root = callPackage ../development/tools/misc/go-repo-root { };
go-repo-root = goPackages.go-repo-root.bin // { outputs = [ "bin" ]; };
gox = goPackages.gox.bin // { outputs = [ "bin" ]; };

View File

@ -1272,6 +1272,15 @@ let
sha256 = "0gr9f53vayc6501a1kaw4p3h9pgf376cgxsfnr3f2dvp0xacvw8x";
};
go-repo-root = buildFromGitHub {
rev = "90041e5c7dc634651549f96814a452f4e0e680f9";
date = "2014-09-11";
owner = "cstrahan";
repo = "go-repo-root";
sha256 = "1rlzp8kjv0a3dnfhyqcggny0ad648j5csr2x0siq5prahlp48mg4";
buildInputs = [ tools ];
};
go-runit = buildFromGitHub {
rev = "a9148323a615e2e1c93b7a9893914a360b4945c8";
owner = "soundcloud";