-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Your Name
committed
May 22, 2024
1 parent
66b2026
commit e793361
Showing
14 changed files
with
615 additions
and
4 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ pkgs ? import <nixpkgs> {} }: | ||
|
||
pkgs.mkShell { | ||
buildInputs = [ | ||
<<<<<<< HEAD | ||
# List your dependencies here, for example: | ||
pkgs.python3 | ||
pkgs.python3Packages.virtualenv | ||
pkgs.git | ||
]; | ||
|
||
shellHook = '' | ||
# Commands to run when the shell starts, e.g., setting up a virtual environment | ||
if [ ! -d .venv ]; then | ||
python3 -m venv .venv | ||
fi | ||
source .venv/bin/activate | ||
pip install -r requirements.txt | ||
======= | ||
pkgs.python3 | ||
pkgs.python3Packages.pip | ||
pkgs.python3Packages.virtualenv | ||
#pkgs.python3Packages.iRobotEduSdk # Include the irobot_edu_sdk package | ||
# Add other packages as needed | ||
]; | ||
|
||
shellHook = '' | ||
export PATH=$PATH:/nix/store/qa4aa1pdk9bkc3sf4sg185mp00d3q3i0-python3-3.11.9-env/bin | ||
} |
Submodule router-hacker
deleted from
2bf5a9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# If you prefer the allow list template instead of the deny list, see community template: | ||
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore | ||
# | ||
# Binaries for programs and plugins | ||
*.exe | ||
*.exe~ | ||
*.dll | ||
*.so | ||
*.dylib | ||
|
||
# Test binary, built with `go test -c` | ||
*.test | ||
|
||
# Output of the go coverage tool, specifically when used with LiteIDE | ||
*.out | ||
|
||
# Dependency directories (remove the comment below to include it) | ||
# vendor/ | ||
|
||
# Go workspace file | ||
go.work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
entrypoint = "main.go" | ||
run = ["go", "run", "."] | ||
|
||
modules = ["go-1.21:v2-20231201-3b22c78"] | ||
|
||
[nix] | ||
channel = "stable-23_05" | ||
|
||
[gitHubImport] | ||
requiredFiles = [".replit"] | ||
|
||
[deployment] | ||
run = ["go", "run", "."] | ||
ignorePorts = false | ||
deploymentTarget = "gce" | ||
|
||
[[ports]] | ||
localPort = 8080 | ||
externalPort = 8080 | ||
|
||
[[ports]] | ||
localPort = 64898 | ||
externalPort = 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ pkgs ? ( | ||
let | ||
inherit (builtins) fetchTree fromJSON readFile; | ||
inherit ((fromJSON (readFile ./flake.lock)).nodes) nixpkgs gomod2nix; | ||
in | ||
import (fetchTree nixpkgs.locked) { | ||
overlays = [ | ||
(import "${fetchTree gomod2nix.locked}/overlay.nix") | ||
]; | ||
} | ||
) | ||
, buildGoApplication ? pkgs.buildGoApplication | ||
}: | ||
|
||
buildGoApplication { | ||
pname = "myapp"; | ||
version = "0.1"; | ||
pwd = ./.; | ||
src = ./.; | ||
modules = ./gomod2nix.toml; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
description = "A basic gomod2nix flake"; | ||
|
||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | ||
inputs.flake-utils.url = "github:numtide/flake-utils"; | ||
inputs.gomod2nix.url = "github:nix-community/gomod2nix"; | ||
inputs.gomod2nix.inputs.nixpkgs.follows = "nixpkgs"; | ||
inputs.gomod2nix.inputs.flake-utils.follows = "flake-utils"; | ||
|
||
outputs = { self, nixpkgs, flake-utils, gomod2nix }: | ||
(flake-utils.lib.eachDefaultSystem | ||
(system: | ||
let | ||
pkgs = nixpkgs.legacyPackages.${system}; | ||
|
||
# The current default sdk for macOS fails to compile go projects, so we use a newer one for now. | ||
# This has no effect on other platforms. | ||
callPackage = pkgs.darwin.apple_sdk_11_0.callPackage or pkgs.callPackage; | ||
in | ||
{ | ||
packages.default = callPackage ./. { | ||
inherit (gomod2nix.legacyPackages.${system}) buildGoApplication; | ||
}; | ||
devShells.default = callPackage ./shell.nix { | ||
inherit (gomod2nix.legacyPackages.${system}) mkGoEnv gomod2nix; | ||
}; | ||
}) | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
module main | ||
|
||
go 1.22.0 | ||
|
||
toolchain go1.22.2 | ||
|
||
require ( | ||
filippo.io/edwards25519 v1.1.0 // indirect | ||
github.com/akutz/memconn v0.1.0 // indirect | ||
github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa // indirect | ||
github.com/aws/aws-sdk-go-v2 v1.24.1 // indirect | ||
github.com/aws/aws-sdk-go-v2/config v1.26.5 // indirect | ||
github.com/aws/aws-sdk-go-v2/credentials v1.16.16 // indirect | ||
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssm v1.44.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sso v1.18.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.7 // indirect | ||
github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 // indirect | ||
github.com/aws/smithy-go v1.19.0 // indirect | ||
github.com/bits-and-blooms/bitset v1.13.0 // indirect | ||
github.com/coreos/go-iptables v0.7.0 // indirect | ||
github.com/coreos/go-systemd/v22 v22.5.0 // indirect | ||
github.com/dblohm7/wingoes v0.0.0-20240119213807-a09d6be7affa // indirect | ||
github.com/digitalocean/go-smbios v0.0.0-20180907143718-390a4f403a8e // indirect | ||
github.com/fxamacker/cbor/v2 v2.5.0 // indirect | ||
github.com/gaissmai/bart v0.4.1 // indirect | ||
github.com/go-ole/go-ole v1.3.0 // indirect | ||
github.com/godbus/dbus/v5 v5.1.1-0.20230522191255-76236955d466 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/google/btree v1.1.2 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/google/nftables v0.1.1-0.20230115205135-9aa6fdf5a28c // indirect | ||
github.com/google/uuid v1.5.0 // indirect | ||
github.com/gorilla/csrf v1.7.2 // indirect | ||
github.com/gorilla/securecookie v1.1.2 // indirect | ||
github.com/hdevalence/ed25519consensus v0.2.0 // indirect | ||
github.com/illarion/gonotify v1.0.1 // indirect | ||
github.com/insomniacslk/dhcp v0.0.0-20231206064809-8c70d406f6d2 // indirect | ||
github.com/jmespath/go-jmespath v0.4.0 // indirect | ||
github.com/josharian/native v1.1.1-0.20230202152459-5c7d0dd6ab86 // indirect | ||
github.com/jsimonetti/rtnetlink v1.4.0 // indirect | ||
github.com/klauspost/compress v1.17.4 // indirect | ||
github.com/kortschak/wol v0.0.0-20200729010619-da482cc4850a // indirect | ||
github.com/mdlayher/genetlink v1.3.2 // indirect | ||
github.com/mdlayher/netlink v1.7.2 // indirect | ||
github.com/mdlayher/sdnotify v1.0.0 // indirect | ||
github.com/mdlayher/socket v0.5.0 // indirect | ||
github.com/miekg/dns v1.1.58 // indirect | ||
github.com/mitchellh/go-ps v1.0.0 // indirect | ||
github.com/pierrec/lz4/v4 v4.1.21 // indirect | ||
github.com/safchain/ethtool v0.3.0 // indirect | ||
github.com/tailscale/certstore v0.1.1-0.20231202035212-d3fa0460f47e // indirect | ||
github.com/tailscale/go-winio v0.0.0-20231025203758-c4f33415bf55 // indirect | ||
github.com/tailscale/golang-x-crypto v0.0.0-20240108194725-7ce1f622c780 // indirect | ||
github.com/tailscale/goupnp v1.0.1-0.20210804011211-c64d0f06ea05 // indirect | ||
github.com/tailscale/hujson v0.0.0-20221223112325-20486734a56a // indirect | ||
github.com/tailscale/netlink v1.1.1-0.20211101221916-cabfb018fe85 // indirect | ||
github.com/tailscale/peercred v0.0.0-20240214030740-b535050b2aa4 // indirect | ||
github.com/tailscale/web-client-prebuilt v0.0.0-20240226180453-5db17b287bf1 // indirect | ||
github.com/tailscale/wireguard-go v0.0.0-20231121184858-cc193a0b3272 // indirect | ||
github.com/tcnksm/go-httpstat v0.2.0 // indirect | ||
github.com/u-root/uio v0.0.0-20240118234441-a3c409a6018e // indirect | ||
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect | ||
github.com/vishvananda/netns v0.0.4 // indirect | ||
github.com/x448/float16 v0.8.4 // indirect | ||
go4.org/mem v0.0.0-20220726221520-4f986261bf13 // indirect | ||
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba // indirect | ||
golang.org/x/crypto v0.18.0 // indirect | ||
golang.org/x/exp v0.0.0-20240119083558-1b970713d09a // indirect | ||
golang.org/x/mod v0.14.0 // indirect | ||
golang.org/x/net v0.20.0 // indirect | ||
golang.org/x/sync v0.6.0 // indirect | ||
golang.org/x/sys v0.17.0 // indirect | ||
golang.org/x/term v0.16.0 // indirect | ||
golang.org/x/text v0.14.0 // indirect | ||
golang.org/x/time v0.5.0 // indirect | ||
golang.org/x/tools v0.17.0 // indirect | ||
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect | ||
golang.zx2c4.com/wireguard/windows v0.5.3 // indirect | ||
gvisor.dev/gvisor v0.0.0-20240306221502-ee1e1f6070e3 // indirect | ||
nhooyr.io/websocket v1.8.10 // indirect | ||
tailscale.com v1.64.2 // indirect | ||
) |
Oops, something went wrong.