Merge pull request #16103 from kamilchm/go2nix

go2nix: 20160307 -> 0.1.0
This commit is contained in:
Rushmore Mushambi 2016-06-10 17:21:27 +02:00 committed by GitHub
commit aa8cf825ce
4 changed files with 22 additions and 14 deletions

View File

@ -1291,8 +1291,8 @@
"fetch": { "fetch": {
"type": "git", "type": "git",
"url": "https://github.com/Masterminds/vcs", "url": "https://github.com/Masterminds/vcs",
"rev": "9c0db6583837118d5df7c2ae38ab1c194e434b35", "rev": "7af28b64c5ec41b1558f5514fd938379822c237c",
"sha256": "0590ww2av4407y7zy3bcmnr8i74fv00k9zzcxcpjxivl6qszna0d" "sha256": "127pamr5lkym3iq6z747bm4y4gyc02glrqb61yv82z1rdyv1dcf6"
} }
}, },
{ {
@ -1528,5 +1528,14 @@
"rev": "373819725fc560fa962c6cd883b533d2ebec4844", "rev": "373819725fc560fa962c6cd883b533d2ebec4844",
"sha256": "1kmlwfnnfd4h46bb9pz2gw1hxqm1pzkwvidfmnc0zkrilaywk6fx" "sha256": "1kmlwfnnfd4h46bb9pz2gw1hxqm1pzkwvidfmnc0zkrilaywk6fx"
} }
},
{
"goPackagePath": "github.com/jawher/mow.cli",
"fetch": {
"type": "git",
"url": "https://github.com/jawher/mow.cli",
"rev": "772320464101e904cd51198160eb4d489be9cc49",
"sha256": "1a8hnh2k3vc3prjhnz4rjbiwhqq6r3mi18h9cdb6fc6s6yzjc19j"
}
} }
] ]

View File

@ -1,17 +1,18 @@
{ stdenv, lib, buildGoPackage, go-bindata, goimports, nix-prefetch-git, git, makeWrapper, { stdenv, buildGoPackage, go-bindata, goimports, nix-prefetch-git, git, makeWrapper,
fetchgit, fetchhg, fetchbzr, fetchsvn }: fetchFromGitHub }:
buildGoPackage rec { buildGoPackage rec {
name = "go2nix-${version}"; name = "go2nix-${version}";
version = "20160307-${stdenv.lib.strings.substring 0 7 rev}"; version = "0.1.0";
rev = "4c552dadd855e3694ed3499feb46dca9cd855f60"; rev = "v${version}";
goPackagePath = "github.com/kamilchm/go2nix"; goPackagePath = "github.com/kamilchm/go2nix";
src = fetchgit { src = fetchFromGitHub {
inherit rev; inherit rev;
url = "https://github.com/kamilchm/go2nix"; owner = "kamilchm";
sha256 = "1pwnm1vrjxvgl17pk9n1k5chmhgwxkrwp2s1bzi64xf12anibj63"; repo = "go2nix";
sha256 = "10nz7gva3n6wk01wphrjjb31sy33kf9ji03zr849x21a669fnmjf";
}; };
goDeps = ./deps.json; goDeps = ./deps.json;

View File

@ -2,10 +2,8 @@
{ {
"include": "../../libs.json", "include": "../../libs.json",
"packages": [ "packages": [
"github.com/alecthomas/template", "github.com/Masterminds/vcs",
"github.com/alecthomas/units", "github.com/jawher/mow.cli"
"gopkg.in/alecthomas/kingpin.v2",
"github.com/Masterminds/vcs"
] ]
} }
] ]

View File

@ -9625,7 +9625,7 @@ in
buildGoPackage = buildGo16Package; buildGoPackage = buildGo16Package;
go2nix = callPackage ../development/tools/go2nix { }; go2nix = (callPackage ../development/tools/go2nix { }).bin;
### DEVELOPMENT / LISP MODULES ### DEVELOPMENT / LISP MODULES