nixpkgs/pkgs/tools/package-management/gx/default.nix

31 lines
916 B
Nix
Raw Normal View History

2016-06-12 22:14:42 +00:00
# This file was generated by go2nix.
{ stdenv, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
buildGoPackage rec {
name = "gx-${version}";
version = "20160601-${stdenv.lib.strings.substring 0 7 rev}";
rev = "f84ddf792ceb329e20c857731154798e1ce87314";
goPackagePath = "github.com/whyrusleeping/gx";
src = fetchgit {
inherit rev;
url = "https://github.com/whyrusleeping/gx";
sha256 = "10a6p9ba526jr6m66x3vsa3xsjlnzv7yma8vyp8d0bf0hs44bpih";
};
prePatch = ''
substituteInPlace tests/lib/random-dep.go \
--replace "github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-random" "github.com/jbenet/go-random"
'';
goDeps = ./deps.nix;
2016-06-19 12:44:37 +00:00
meta = with stdenv.lib; {
description = "A packaging tool built around IPFS";
homepage = https://github.com/whyrusleeping/gx;
license = licenses.mit;
maintainers = with maintainers; [ zimbatm ];
};
2016-06-12 22:14:42 +00:00
}