Skip to content

Commit

Permalink
base pacakges
Browse files Browse the repository at this point in the history
Signed-off-by: House <[email protected]>
  • Loading branch information
dr-housemd committed Jul 13, 2024
1 parent 5a6adca commit 372eafd
Show file tree
Hide file tree
Showing 4 changed files with 161 additions and 148 deletions.
188 changes: 94 additions & 94 deletions bsf.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,28 @@
"packages": [
{
"package": {
"name": "golangci-lint",
"revision": "7445ccd775d8b892fc56448d17345443a05f7fb4",
"version": "1.59.0",
"description": "Fast linters Runner for Go",
"homepage": "https://golangci-lint.run/",
"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": "GPL-3.0-or-later",
"epoch_seconds": 1716993062,
"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 @@ -39,23 +48,61 @@
"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"
],
"attr_name": "golangci-lint"
"wasm32-wasi",
"x86_64-windows",
"i686-windows"
]
},
"runtime": false
"runtime": true
},
{
"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": "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": "MIT",
"epoch_seconds": 1716993062,
"epoch_seconds": 1705066566,
"platforms": [
"x86_64-darwin",
"i686-darwin",
Expand All @@ -81,23 +128,20 @@
"riscv64-linux",
"s390-linux",
"s390x-linux",
"x86_64-linux",
"wasm64-wasi",
"wasm32-wasi"
],
"attr_name": "go-task"
"x86_64-linux"
]
},
"runtime": false
},
{
"package": {
"name": "delve",
"name": "go",
"revision": "a731d0cb71c58f56895f71a5b02eda2962a46746",
"version": "1.22.0",
"description": "debugger for the Go programming language",
"homepage": "https://github.com/go-delve/delve",
"version": "1.21.6",
"description": "The Go Programming language",
"homepage": "https://go.dev/",
"free": true,
"spdx_id": "MIT",
"spdx_id": "BSD-3-Clause",
"epoch_seconds": 1705066566,
"platforms": [
"x86_64-darwin",
Expand Down Expand Up @@ -131,14 +175,14 @@
},
{
"package": {
"name": "go",
"revision": "a731d0cb71c58f56895f71a5b02eda2962a46746",
"version": "1.21.6",
"description": "The Go Programming language",
"homepage": "https://go.dev/",
"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": "BSD-3-Clause",
"epoch_seconds": 1705066566,
"spdx_id": "MIT",
"epoch_seconds": 1716993062,
"platforms": [
"x86_64-darwin",
"i686-darwin",
Expand All @@ -164,35 +208,29 @@
"riscv64-linux",
"s390-linux",
"s390x-linux",
"x86_64-linux"
]
"x86_64-linux",
"wasm64-wasi",
"wasm32-wasi"
],
"attr_name": "go-task"
},
"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": "golangci-lint",
"revision": "7445ccd775d8b892fc56448d17345443a05f7fb4",
"version": "1.59.0",
"description": "Fast linters Runner for Go",
"homepage": "https://golangci-lint.run/",
"free": true,
"spdx_id": "MPL-2.0",
"epoch_seconds": 1699289668,
"spdx_id": "GPL-3.0-or-later",
"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 @@ -214,50 +252,12 @@
"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": "golangci-lint"
},
"runtime": true
"runtime": false
},
{
"package": {
Expand Down
24 changes: 12 additions & 12 deletions bsf/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
description = "";

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

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



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


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

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

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


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


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


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


nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs, nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs, nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs, ... }: {
nixpkgs-7445ccd775d8b892fc56448d17345443a05f7fb4-pkgs, nixpkgs-ac5c1886fd9fe49748d7ab80accc4c847481df14-pkgs, nixpkgs-a731d0cb71c58f56895f71a5b02eda2962a46746-pkgs, ... }: {
development = pkgs.buildEnv {
name = "devenv";
paths = [
Expand Down
4 changes: 2 additions & 2 deletions bsf/gomod2nix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ schema = 3
version = "v0.0.0-20240617180043-68d350f18fd4"
hash = "sha256-ass/74EkCljwk7DaASDtK2zipn2cZv6tCLKvwONUWgY="
[mod."google.golang.org/grpc"]
version = "v1.64.0"
hash = "sha256-04Noi8lrzr+4ac2BA7KNXUXN/xZL/A2SsEpC2Hern84="
version = "v1.64.1"
hash = "sha256-A1+kiePmeqRIdigryUGNJWZiILLacDPtMTEyO6CqDpY="
[mod."google.golang.org/protobuf"]
version = "v1.34.2"
hash = "sha256-nMTlrDEE2dbpWz50eQMPBQXCyQh4IdjrTIccaU0F3m0="
Expand Down
Loading

0 comments on commit 372eafd

Please sign in to comment.