20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-xxlmerEGujBvghC+OpMW0gkDl7zPOW4r6cM7T6qOc6A=";
27 sourceRoot = "${src.name}/src";
29 vendorHash = "sha256-QeNFXmWeA/hkYdFzJoHj61bo/DmGWakdhFRLtSYG7+Y=";
37 # Depends on a vendored, patched GLFW.
38 glfw.buildInputs or [ ]
39 ++ glfw.propagatedBuildInputs or [ ]
40 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
54 mv $out/bin/Picocrypt $out/bin/picocrypt-gui
55 install -Dm644 $src/images/key.svg $out/share/icons/hicolor/scalable/apps/picocrypt.svg
61 exec = "picocrypt-gui";
63 comment = meta.description;
64 desktopName = "Picocrypt";
65 categories = [ "Utility" ];
70 description = "Very small, very simple, yet very secure encryption tool, written in Go";
71 homepage = "https://github.com/Picocrypt/Picocrypt";
72 changelog = "https://github.com/Picocrypt/Picocrypt/blob/main/Changelog.md";
73 license = lib.licenses.gpl3Only;
74 maintainers = with lib.maintainers; [ ryand56 ];
75 mainProgram = "picocrypt-gui";