depot/third_party/nixpkgs/pkgs/applications/networking/brig/default.nix

26 lines
640 B
Nix
Raw Normal View History

{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "brig";
version = "0.4.1";
rev = "v${version}";
goPackagePath = "github.com/sahib/brig";
subPackages = ["."];
src = fetchFromGitHub {
owner = "sahib";
repo = "brig";
inherit rev;
sha256 = "0gi39jmnzqrgj146yw8lcmgmvzx7ii1dgw4iqig7kx8c0jiqi600";
};
meta = with 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 ];
};
}