@@ -0,0 +1,25 @@
1+{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
2+
3+buildGoPackage rec {
4+ name = "brig-${version}";
5+ version = "0.3.0";
6+ rev = "v${version}";
7+
8+ goPackagePath = "github.com/sahib/brig";
9+ subPackages = ["."];
10+
11+ src = fetchFromGitHub {
12+ owner = "sahib";
13+ repo = "brig";
14+ inherit rev;
15+ sha256 = "01hpb6cvq8cw21ka74jllggkv5pavc0sbl1207x32gzxslw3gsvy";
16+ };
17+
18+ meta = with stdenv.lib; {
19+ description = "File synchronization on top of ipfs with git like interface and FUSE filesystem";
20+ homepage = https://github.com/sahib/brig;
21+ license = licenses.agpl3;
22+ platforms = platforms.unix;
23+ maintainers = with maintainers; [ offline ];
24+ };
25+}