diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-10-26 20:33:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-26 20:33:51 +0200 |
commit | e8ff5952f65437b0fa6d310cb393d49b3aa48cc7 (patch) | |
tree | 8792778a9feb2d8545128398c3b973bca87f8388 /pkgs | |
parent | e6726841be95507adfccc2594ae5189508075990 (diff) | |
parent | 6a874bbdbc19926e4a31d32f595a5ca34077c072 (diff) |
Merge pull request #258558 from hmenke/c2FmZQ
c2FmZQ: init at 0.4.8
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/c2/c2fmzq/package.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/by-name/c2/c2fmzq/package.nix b/pkgs/by-name/c2/c2fmzq/package.nix new file mode 100644 index 0000000000000..b7098b9a75837 --- /dev/null +++ b/pkgs/by-name/c2/c2fmzq/package.nix @@ -0,0 +1,36 @@ +{ lib +, buildGoModule +, fetchFromGitHub +, nixosTests +}: + +buildGoModule rec { + pname = "c2FmZQ"; + version = "0.4.8"; + + src = fetchFromGitHub { + owner = "c2FmZQ"; + repo = "c2FmZQ"; + rev = "v${version}"; + hash = "sha256-IYSmGzjTDMBgEMVZsi6CuUz6L7BzpmbrJYVPUhFr7rw="; + }; + + ldflags = [ "-s" "-w" ]; + + sourceRoot = "source/c2FmZQ"; + + vendorHash = "sha256-Hz6P+ptn1i+8Ek3pp8j+iB8NN5Xks50jyZuT8Ullxbo="; + + 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; + }; +} |