@@ -1,27 +0,0 @@
1−{ lib, buildGoPackage, fetchFromGitHub }:
2−
3−buildGoPackage rec {
4− pname = "moby";
5− version = "2017-07-06";
6− rev = "d87a3f9990ed24ebbb51695879cd640cb07a4b40";
7−
8− goPackagePath = "github.com/moby/tool";
9−
10− src = fetchFromGitHub {
11− owner = "moby";
12− repo = "tool";
13− inherit rev;
14− sha256 = "0xhasm69g5gwihcm8g7rff9nkx7iffvd642bknky6j3w133gs5lp";
15− };
16−
17− preBuild = ''
18− buildFlagsArray+=("-ldflags" "-X main.GitCommit=${builtins.substring 0 7 rev} -X main.Version=0.0.0")
19− '';
20−
21− meta = {
22− description = "Assembly tool for the Moby project, an open framework to assemble specialized container systems without reinventing the wheel";
23− license = lib.licenses.asl20;
24− homepage = https://mobyproject.org;
25− platforms = lib.platforms.unix;
26− };
27−}