depot/third_party/nixpkgs/pkgs/applications/networking/gossa/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

32 lines
670 B
Nix

{ lib
, fetchFromGitHub
, buildGoModule
}:
buildGoModule rec {
pname = "gossa";
version = "1.0.0";
src = fetchFromGitHub {
owner = "pldubouilh";
repo = "gossa";
rev = "v${version}";
fetchSubmodules = true;
hash = "sha256-vonhVxXbYI/5Gl9ZwI8+a3YXSjoqLVic1twykiy+e34=";
};
vendorHash = null;
ldflags = [ "-s" "-w" ];
# Tests require a socket connection to be created.
doCheck = false;
meta = with lib; {
homepage = "https://github.com/pldubouilh/gossa";
description = "Fast and simple multimedia fileserver";
license = licenses.mit;
maintainers = with maintainers; [ dsymbol ];
mainProgram = "gossa";
};
}