504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
36 lines
866 B
Nix
36 lines
866 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
, nixosTests
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "c2FmZQ";
|
|
version = "0.4.17";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "c2FmZQ";
|
|
repo = "c2FmZQ";
|
|
rev = "v${version}";
|
|
hash = "sha256-xjgoE1HlCmSPZ6TQcemI7fNE9wbIrk/WSrz6vlVt66U=";
|
|
};
|
|
|
|
ldflags = [ "-s" "-w" ];
|
|
|
|
sourceRoot = "source/c2FmZQ";
|
|
|
|
vendorHash = "sha256-lnoEh6etfVLx+GYWNCvra40qOYtzTIH3SC28T6mXC2U=";
|
|
|
|
subPackages = [ "c2FmZQ-client" "c2FmZQ-server" ];
|
|
|
|
passthru.tests = { inherit (nixosTests) c2fmzq; };
|
|
|
|
meta = with lib; {
|
|
description = "Securely encrypt, store, and share files, including but not limited to pictures and videos";
|
|
homepage = "https://github.com/c2FmZQ/c2FmZQ";
|
|
license = licenses.gpl3Only;
|
|
mainProgram = "c2FmZQ-server";
|
|
maintainers = with maintainers; [ hmenke ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|