From 5a5026b98893087d326045f1e6b900908389a5d9 Mon Sep 17 00:00:00 2001 From: An Nguyen Date: Fri, 27 Sep 2024 08:17:44 +0100 Subject: [PATCH] gsts: init at 5.0.3 --- pkgs/by-name/gs/gsts/package.nix | 29 +++++++++++++++++++++++++++ pkgs/tools/system/gsts/default.nix | 30 ++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 32 +++++++----------------------- 3 files changed, 66 insertions(+), 25 deletions(-) create mode 100644 pkgs/by-name/gs/gsts/package.nix create mode 100644 pkgs/tools/system/gsts/default.nix diff --git a/pkgs/by-name/gs/gsts/package.nix b/pkgs/by-name/gs/gsts/package.nix new file mode 100644 index 0000000000000..1f4f7b0415022 --- /dev/null +++ b/pkgs/by-name/gs/gsts/package.nix @@ -0,0 +1,29 @@ +{ + lib, + buildNpmPackage, + fetchFromGitHub, +}: + +buildNpmPackage rec { + pname = "gsts"; + version = "5.0.3"; + + src = fetchFromGitHub { + owner = "ruimarinho"; + repo = "gsts"; + rev = "v${version}"; + hash = "sha256-J8hd1Z6m81N9wj6I/A3chkW57NQRr0EGVtrbhrVyxjg="; + }; + + npmDepsHash = "sha256-yl4Zo+tyBbKngcMGkcy2k620jHtL7wxDYEJKYeyAGQY="; + + dontNpmBuild = true; + env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"; + + meta = { + description = "Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML."; + homepage = "https://github.com/ruimarinho/gsts"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/tools/system/gsts/default.nix b/pkgs/tools/system/gsts/default.nix new file mode 100644 index 0000000000000..db08e8fc28e69 --- /dev/null +++ b/pkgs/tools/system/gsts/default.nix @@ -0,0 +1,30 @@ +{ + lib, + buildNpmPackage, + fetchFromGitHub, +}: + +buildNpmPackage rec { + pname = "gsts"; + version = "5.0.3"; + + src = fetchFromGitHub { + owner = "ruimarinho"; + repo = "gsts"; + rev = "v${version}"; + hash = "sha256-J8hd1Z6m81N9wj6I/A3chkW57NQRr0EGVtrbhrVyxjg="; + }; + + npmDepsHash = "sha256-yl4Zo+tyBbKngcMGkcy2k620jHtL7wxDYEJKYeyAGQY="; + + makeCacheWritable = true; + dontNpmBuild = true; + env.PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD = "1"; + + meta = { + description = "Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML."; + homepage = "https://github.com/ruimarinho/gsts"; + license = lib.licenses.mit; + maintainers = with lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bca02a560764e..4533750950db0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -307,8 +307,6 @@ with pkgs; atomic-swap = callPackage ../applications/blockchains/atomic-swap { }; - avro-tools = callPackage ../development/tools/avro-tools { }; - bacnet-stack = callPackage ../tools/networking/bacnet-stack { }; bada-bib = callPackage ../applications/science/misc/bada-bib { }; @@ -3170,11 +3168,6 @@ with pkgs; awscli = callPackage ../tools/admin/awscli { }; - awscli2 = callPackage ../by-name/aw/awscli2/package.nix { - # change when https://github.com/aws/aws-cli/issues/8342 resolved - python3 = python311; - }; - okta-aws-cli = callPackage ../tools/admin/okta-aws-cli { }; awsebcli = callPackage ../tools/virtualization/awsebcli { }; @@ -4674,8 +4667,6 @@ with pkgs; dduper = callPackage ../tools/filesystems/dduper { }; - deck = callPackage ../applications/networking/deck { }; - dedup = callPackage ../tools/backup/dedup { }; deheader = callPackage ../development/tools/misc/deheader { }; @@ -6902,8 +6893,6 @@ with pkgs; deer = callPackage ../shells/zsh/zsh-deer { }; - deno = callPackage ../development/web/deno { }; - deqp-runner = callPackage ../tools/graphics/deqp-runner { }; detox = callPackage ../tools/misc/detox { }; @@ -13301,8 +13290,6 @@ with pkgs; ubpm = libsForQt5.callPackage ../applications/misc/ubpm { }; - ubridge = callPackage ../tools/networking/ubridge { }; - ubertooth = callPackage ../applications/radio/ubertooth { }; ucarp = callPackage ../servers/ucarp { }; @@ -13567,8 +13554,6 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) OpenCL; }; - wakapi = callPackage ../tools/misc/wakapi { }; - wambo = callPackage ../development/tools/wambo { }; weather = callPackage ../applications/misc/weather { }; @@ -18109,8 +18094,6 @@ with pkgs; lcov = callPackage ../development/tools/analysis/lcov { }; - leiningen = callPackage ../development/tools/build-managers/leiningen { }; - lemon = callPackage ../development/tools/parsing/lemon { }; lenmus = callPackage ../applications/misc/lenmus { }; @@ -18465,8 +18448,6 @@ with pkgs; redisinsight = callPackage ../development/tools/redisinsight { }; - redo = callPackage ../development/tools/build-managers/redo { }; - redo-apenwarr = callPackage ../development/tools/build-managers/redo-apenwarr { }; redo-c = callPackage ../development/tools/build-managers/redo-c { }; @@ -18895,8 +18876,8 @@ with pkgs; webdis = callPackage ../development/tools/database/webdis { }; - xmake = callPackage ../development/tools/build-managers/xmake { - lua = lua5_4; + xmake = darwin.apple_sdk_11_0.callPackage ../development/tools/build-managers/xmake { + inherit (darwin.apple_sdk_11_0.frameworks) CoreServices; }; xc3sprog = callPackage ../development/embedded/xc3sprog { }; @@ -22586,6 +22567,11 @@ with pkgs; inherit (darwin.apple_sdk.frameworks) AVFoundation Cocoa VideoDecodeAcceleration CoreMedia MediaToolbox Accelerate; pythonPackages = python3Packages; + # TODO(@connorbaker): OpenCV 4.9 only supports up to CUDA 12.3. + cudaPackages = cudaPackages_12_3; + # TODO: LTO does not work. + # https://github.com/NixOS/nixpkgs/issues/343123 + enableLto = false; }; opencv4WithoutCuda = opencv4.override { @@ -25589,8 +25575,6 @@ with pkgs; xwayland = callPackage ../servers/x11/xorg/xwayland.nix { }; - xwaylandvideobridge = libsForQt5.callPackage ../tools/wayland/xwaylandvideobridge { }; - yaws = callPackage ../servers/http/yaws { }; zabbixFor = version: rec { @@ -28948,8 +28932,6 @@ with pkgs; cyclone = callPackage ../applications/audio/pd-plugins/cyclone { }; - dablin = callPackage ../applications/radio/dablin { }; - daktilo = callPackage ../tools/misc/daktilo { }; darcs = haskell.lib.compose.disableCabalFlag "library"