2023-02-23 19:57:09 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, buildGoModule
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
2023-01-28 04:20:00 +00:00
|
|
|
pname = "gossa";
|
2023-02-23 19:57:09 +00:00
|
|
|
version = "0.2.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "pldubouilh";
|
|
|
|
repo = "gossa";
|
|
|
|
rev = "v${version}";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
hash = "sha256-eMO9aoI+otGQcvBUJtxciQ7yhUidYizLrDjMVchH3qA=";
|
|
|
|
};
|
|
|
|
|
|
|
|
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 = "A fast and simple multimedia fileserver";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ dsymbol ];
|
|
|
|
};
|
|
|
|
}
|