2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, buildGoPackage, fetchFromGitHub }:
|
2019-03-02 16:56:10 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "brig";
|
2019-04-10 21:42:58 +01:00
|
|
|
version = "0.4.1";
|
2019-03-02 16:56:10 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/sahib/brig";
|
|
|
|
subPackages = ["."];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "sahib";
|
|
|
|
repo = "brig";
|
|
|
|
inherit rev;
|
2019-04-10 21:42:58 +01:00
|
|
|
sha256 = "0gi39jmnzqrgj146yw8lcmgmvzx7ii1dgw4iqig7kx8c0jiqi600";
|
2019-03-02 16:56:10 +00:00
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2019-03-02 16:56:10 +00:00
|
|
|
description = "File synchronization on top of ipfs with git like interface and FUSE filesystem";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sahib/brig";
|
2019-03-02 16:56:10 +00:00
|
|
|
license = licenses.agpl3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
|
|
|
};
|
|
|
|
}
|