Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demos #33

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updated bsf config
  • Loading branch information
yotsuba-bot[bot] committed Jun 20, 2024
commit 6836be6c6f56770a204b02b80695e7cfe7c67ef3
2 changes: 1 addition & 1 deletion bsf.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ packages {
development = ["delve@1.22.0", "gotools@0.16.1", "go@1.21.6", "go-task@~3.37.2"]
runtime = ["cacert@3.95"]
}

gomodule {
name = "bsf"
src = "./."
Expand Down
186 changes: 93 additions & 93 deletions bsf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,28 @@
"packages": [
{
"package": {
"name": "go",
"revision": "a731d0cb71c58f56895f71a5b02eda2962a46746",
"version": "1.21.6",
"description": "The Go Programming language",
"homepage": "https://go.dev/",
"name": "cacert",
"revision": "ac5c1886fd9fe49748d7ab80accc4c847481df14",
"version": "3.95",
"description": "A bundle of X.509 certificates of public Certificate Authorities (CA)",
"homepage": "https://curl.haxx.se/docs/caextract.html",
"free": true,
"spdx_id": "BSD-3-Clause",
"epoch_seconds": 1705066566,
"spdx_id": "MPL-2.0",
"epoch_seconds": 1699289668,
"platforms": [
"i686-cygwin",
"x86_64-cygwin",
"x86_64-darwin",
"i686-darwin",
"aarch64-darwin",
"armv7a-darwin",
"i686-freebsd13",
"x86_64-freebsd13",
"aarch64-genode",
"i686-genode",
"x86_64-genode",
"x86_64-solaris",
"javascript-ghcjs",
"aarch64-linux",
"armv5tel-linux",
"armv6l-linux",
Expand All @@ -38,21 +47,62 @@
"riscv64-linux",
"s390-linux",
"s390x-linux",
"x86_64-linux"
"x86_64-linux",
"mmix-mmixware",
"aarch64-netbsd",
"armv6l-netbsd",
"armv7a-netbsd",
"armv7l-netbsd",
"i686-netbsd",
"m68k-netbsd",
"mipsel-netbsd",
"powerpc-netbsd",
"riscv32-netbsd",
"riscv64-netbsd",
"x86_64-netbsd",
"aarch64_be-none",
"aarch64-none",
"arm-none",
"armv6l-none",
"avr-none",
"i686-none",
"microblaze-none",
"microblazeel-none",
"mips-none",
"mips64-none",
"msp430-none",
"or1k-none",
"m68k-none",
"powerpc-none",
"powerpcle-none",
"riscv32-none",
"riscv64-none",
"rx-none",
"s390-none",
"s390x-none",
"vc4-none",
"x86_64-none",
"i686-openbsd",
"x86_64-openbsd",
"x86_64-redox",
"wasm64-wasi",
"wasm32-wasi",
"x86_64-windows",
"i686-windows"
]
},
"runtime": false
"runtime": true
},
{
"package": {
"name": "delve",
"revision": "a731d0cb71c58f56895f71a5b02eda2962a46746",
"version": "1.22.0",
"description": "debugger for the Go programming language",
"homepage": "https://github.com/go-delve/delve",
"name": "gotools",
"revision": "ac5c1886fd9fe49748d7ab80accc4c847481df14",
"version": "0.16.1",
"description": "Additional tools for Go development",
"homepage": "https://go.googlesource.com/tools",
"free": true,
"spdx_id": "MIT",
"epoch_seconds": 1705066566,
"spdx_id": "BSD-3-Clause",
"epoch_seconds": 1699289668,
"platforms": [
"x86_64-darwin",
"i686-darwin",
Expand Down Expand Up @@ -85,14 +135,14 @@
},
{
"package": {
"name": "go-task",
"revision": "7445ccd775d8b892fc56448d17345443a05f7fb4",
"version": "3.37.2",
"description": "A task runner / simpler Make alternative written in Go",
"homepage": "https://taskfile.dev/",
"name": "go",
"revision": "a731d0cb71c58f56895f71a5b02eda2962a46746",
"version": "1.21.6",
"description": "The Go Programming language",
"homepage": "https://go.dev/",
"free": true,
"spdx_id": "MIT",
"epoch_seconds": 1716993062,
"spdx_id": "BSD-3-Clause",
"epoch_seconds": 1705066566,
"platforms": [
"x86_64-darwin",
"i686-darwin",
Expand All @@ -118,38 +168,26 @@
"riscv64-linux",
"s390-linux",
"s390x-linux",
"x86_64-linux",
"wasm64-wasi",
"wasm32-wasi"
],
"attr_name": "go-task"
"x86_64-linux"
]
},
"runtime": false
},
{
"package": {
"name": "cacert",
"revision": "ac5c1886fd9fe49748d7ab80accc4c847481df14",
"version": "3.95",
"description": "A bundle of X.509 certificates of public Certificate Authorities (CA)",
"homepage": "https://curl.haxx.se/docs/caextract.html",
"name": "go-task",
"revision": "7445ccd775d8b892fc56448d17345443a05f7fb4",
"version": "3.37.2",
"description": "A task runner / simpler Make alternative written in Go",
"homepage": "https://taskfile.dev/",
"free": true,
"spdx_id": "MPL-2.0",
"epoch_seconds": 1699289668,
"spdx_id": "MIT",
"epoch_seconds": 1716993062,
"platforms": [
"i686-cygwin",
"x86_64-cygwin",
"x86_64-darwin",
"i686-darwin",
"aarch64-darwin",
"armv7a-darwin",
"i686-freebsd13",
"x86_64-freebsd13",
"aarch64-genode",
"i686-genode",
"x86_64-genode",
"x86_64-solaris",
"javascript-ghcjs",
"aarch64-linux",
"armv5tel-linux",
"armv6l-linux",
Expand All @@ -171,61 +209,23 @@
"s390-linux",
"s390x-linux",
"x86_64-linux",
"mmix-mmixware",
"aarch64-netbsd",
"armv6l-netbsd",
"armv7a-netbsd",
"armv7l-netbsd",
"i686-netbsd",
"m68k-netbsd",
"mipsel-netbsd",
"powerpc-netbsd",
"riscv32-netbsd",
"riscv64-netbsd",
"x86_64-netbsd",
"aarch64_be-none",
"aarch64-none",
"arm-none",
"armv6l-none",
"avr-none",
"i686-none",
"microblaze-none",
"microblazeel-none",
"mips-none",
"mips64-none",
"msp430-none",
"or1k-none",
"m68k-none",
"powerpc-none",
"powerpcle-none",
"riscv32-none",
"riscv64-none",
"rx-none",
"s390-none",
"s390x-none",
"vc4-none",
"x86_64-none",
"i686-openbsd",
"x86_64-openbsd",
"x86_64-redox",
"wasm64-wasi",
"wasm32-wasi",
"x86_64-windows",
"i686-windows"
]
"wasm32-wasi"
],
"attr_name": "go-task"
},
"runtime": true
"runtime": false
},
{
"package": {
"name": "gotools",
"revision": "ac5c1886fd9fe49748d7ab80accc4c847481df14",
"version": "0.16.1",
"description": "Additional tools for Go development",
"homepage": "https://go.googlesource.com/tools",
"name": "delve",
"revision": "a731d0cb71c58f56895f71a5b02eda2962a46746",
"version": "1.22.0",
"description": "debugger for the Go programming language",
"homepage": "https://github.com/go-delve/delve",
"free": true,
"spdx_id": "BSD-3-Clause",
"epoch_seconds": 1699289668,
"spdx_id": "MIT",
"epoch_seconds": 1705066566,
"platforms": [
"x86_64-darwin",
"i686-darwin",
Expand Down
14 changes: 7 additions & 7 deletions bsf/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
description = "";

inputs = {
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14.url = "github:nixos/nixpkgs/ac5c1886fd9fe49748d7ab80accc4c847481df14";
nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746.url = "github:nixos/nixpkgs/a731d0cb71c58f56895f71a5b02eda2962a46746";
nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4.url = "github:nixos/nixpkgs/7445ccd775d8b892fc56448d17345443a05f7fb4";
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14.url = "github:nixos/nixpkgs/ac5c1886fd9fe49748d7ab80accc4c847481df14";

nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
gomod2nix.url = "github:nix-community/gomod2nix";
Expand All @@ -26,19 +26,19 @@



nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14,
nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746,
nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4,
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14,
}: let
supportedSystems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" "aarch64-linux" ];


forEachSupportedSystem = f: nixpkgs.lib.genAttrs supportedSystems (system: f {
inherit system;

nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs = import nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14 { inherit system; };
nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs = import nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746 { inherit system; };
nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs = import nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4 { inherit system; };
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs = import nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14 { inherit system; };

buildGoApplication = gomod2nix.legacyPackages.${system}.buildGoApplication;
pkgs = import nixpkgs { inherit system; };
Expand All @@ -50,9 +50,9 @@
buildGoApplication,


nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs,
nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs,
nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs,
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs,
... }: {
default = pkgs.callPackage ./default.nix {
inherit buildGoApplication;
Expand All @@ -67,9 +67,9 @@
buildGoApplication,


nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs,
nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs,
nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs,
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs,
... }: {
devShell = pkgs.mkShell {
# The Nix packages provided in the environment
Expand All @@ -87,7 +87,7 @@
buildGoApplication,


nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs, nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs, nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs, ... }: {
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs, nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs, nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs, ... }: {
runtime = pkgs.buildEnv {
name = "runtimeenv";
paths = [
Expand All @@ -101,7 +101,7 @@
buildGoApplication,


nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs, nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs, nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs, ... }: {
nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs, nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs, nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs, ... }: {
development = pkgs.buildEnv {
name = "devenv";
paths = [
Expand Down