2019-03-27 19:35:42 +01:00
|
|
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
2019-03-02 17:56:10 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "brig-${version}";
|
2019-04-10 22:42:58 +02:00
|
|
|
version = "0.4.1";
|
2019-03-02 17:56:10 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/sahib/brig";
|
|
|
|
subPackages = ["."];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahib";
|
|
|
|
repo = "brig";
|
|
|
|
inherit rev;
|
2019-04-10 22:42:58 +02:00
|
|
|
sha256 = "0gi39jmnzqrgj146yw8lcmgmvzx7ii1dgw4iqig7kx8c0jiqi600";
|
2019-03-02 17:56:10 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "File synchronization on top of ipfs with git like interface and FUSE filesystem";
|
|
|
|
homepage = https://github.com/sahib/brig;
|
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
};
|
|
|
|
}
|