diff options
author | Henri Menke <henri@henrimenke.de> | 2023-10-01 22:08:53 +0200 |
---|---|---|
committer | Henri Menke <henri@henrimenke.de> | 2023-10-26 17:27:50 +0200 |
commit | 356a40ad141a2b8aefdac5978701ec4ea6b4bfa9 (patch) | |
tree | 287cf8a7336e1471e2c09f1467b074958a5d949a /pkgs/by-name/c2 | |
parent | 14f19f0dcf113069291c155e0794bb2974fbffaf (diff) |
c2FmZQ: init at 0.4.8
Co-authored-by: h7x4 <h7x4@nani.wtf>
Diffstat (limited to 'pkgs/by-name/c2')
-rw-r--r-- | pkgs/by-name/c2/c2fmzq/package.nix | 33 |
1 files changed, 33 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..2b0fab6682d52 --- /dev/null +++ b/pkgs/by-name/c2/c2fmzq/package.nix @@ -0,0 +1,33 @@ +{ lib +, buildGoModule +, fetchFromGitHub +}: + +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" ]; + + 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; + }; +} |