diff options
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/drivers/m33-linux/default.nix | 12 | ||||
-rw-r--r-- | pkgs/misc/fastly/default.nix | 6 | ||||
-rw-r--r-- | pkgs/misc/g810-led/default.nix | 11 | ||||
-rw-r--r-- | pkgs/misc/logging/beats/7.x.nix | 4 | ||||
-rw-r--r-- | pkgs/misc/rivalcfg/default.nix | 6 |
5 files changed, 26 insertions, 13 deletions
diff --git a/pkgs/misc/drivers/m33-linux/default.nix b/pkgs/misc/drivers/m33-linux/default.nix index 84272898f52ca..188013d0c6444 100644 --- a/pkgs/misc/drivers/m33-linux/default.nix +++ b/pkgs/misc/drivers/m33-linux/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub }: +{ lib, stdenv, fetchFromGitHub, fetchpatch }: stdenv.mkDerivation { pname = "M33-Linux"; @@ -11,6 +11,16 @@ stdenv.mkDerivation { sha256 = "1bvbclkyfcv23vxb4s1zssvygklks1nhp4iwi4v90c1fvyz0356f"; }; + patches = [ + # Pull the `gcc-13` build fix pending upstream inclusion: + # https://github.com/donovan6000/M33-Linux/pull/6 + (fetchpatch { + name = "gcc-13.patch"; + url = "https://github.com/donovan6000/M33-Linux/commit/272e4488ef05cfd95fcc952becfc0ac982306d0c.patch"; + hash = "sha256-ubdCwXFVljvOCzYrWVJgU6PY1j6Ei6aaclhXaGwZT2w="; + }) + ]; + installPhase = '' install -Dm755 m33-linux $out/bin/m33-linux install -Dm755 90-micro-3d-local.rules $out/lib/udev/rules.d/90-micro-3d-local.rules diff --git a/pkgs/misc/fastly/default.nix b/pkgs/misc/fastly/default.nix index b5a19d30b5230..3a1efa9c15be2 100644 --- a/pkgs/misc/fastly/default.nix +++ b/pkgs/misc/fastly/default.nix @@ -10,13 +10,13 @@ buildGoModule rec { pname = "fastly"; - version = "10.7.0"; + version = "10.8.0"; src = fetchFromGitHub { owner = "fastly"; repo = "cli"; rev = "refs/tags/v${version}"; - hash = "sha256-KqFBsSoiKzvbSG5XanlFcU8NkveksnEbfqNuPeWEb48="; + hash = "sha256-XlfTtA4jYFrs1W8pyulkqbhrRt8vS+oPB/g9/tIW8Ws="; # The git commit is part of the `fastly version` original output; # leave that output the same in nixpkgs. Use the `.git` directory # to retrieve the commit SHA, and remove the directory afterwards, @@ -33,7 +33,7 @@ buildGoModule rec { "cmd/fastly" ]; - vendorHash = "sha256-Mh737emdQkIoNOAkaTafCoMQnLqXIGMKX6X5ClsmMzc="; + vendorHash = "sha256-sN6kJspIG3XKW71sTjINE+hoWHNbd8ZmVEXNcvuvThg="; nativeBuildInputs = [ installShellFiles diff --git a/pkgs/misc/g810-led/default.nix b/pkgs/misc/g810-led/default.nix index 0f38188c407dc..5f1c7e1fdae1d 100644 --- a/pkgs/misc/g810-led/default.nix +++ b/pkgs/misc/g810-led/default.nix @@ -5,14 +5,14 @@ , profile ? "/etc/g810-led/profile" }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "g810-led"; version = "0.4.3"; src = fetchFromGitHub { owner = "MatMoul"; - repo = pname; - rev = "refs/tags/v${version}"; + repo = "g810-led"; + rev = "refs/tags/v${finalAttrs.version}"; hash = "sha256-GKHtQ7DinqfhclDdPO94KtTLQhhonAoWS4VOvs6CMhY="; }; @@ -22,6 +22,9 @@ stdenv.mkDerivation rec { --replace "/etc/g810-led/profile" "${profile}" ''; + # GCC 13 cannot find `uint16_t` and other similar types by default anymore + env.CXXFLAGS = "-include cstdint"; + buildInputs = [ hidapi ]; @@ -48,4 +51,4 @@ stdenv.mkDerivation rec { maintainers = with maintainers; [ fab ]; platforms = platforms.linux; }; -} +}) diff --git a/pkgs/misc/logging/beats/7.x.nix b/pkgs/misc/logging/beats/7.x.nix index ad4d00a8149e1..5d0629d1fb69d 100644 --- a/pkgs/misc/logging/beats/7.x.nix +++ b/pkgs/misc/logging/beats/7.x.nix @@ -8,10 +8,10 @@ let beat = package: extraArgs: buildGoModule (rec { owner = "elastic"; repo = "beats"; rev = "v${version}"; - hash = "sha256-Quq32/3NeGhrsy17GrIeBiB3LGQuMFTFl3lAyyU6GZM="; + hash = "sha256-0qwWHRIDLlnaPOCRmiiFGg+/jdanWuQtggM2QSaMR1o="; }; - vendorHash = "sha256-UJjwCRxY1rrymroBqC/SfCVM9vmnQOtLlS3OONih3kM="; + vendorHash = "sha256-rwCCpptppkpvwQWUtqTjBUumP8GSpPHBTCaj0nYVQv8="; subPackages = [ package ]; diff --git a/pkgs/misc/rivalcfg/default.nix b/pkgs/misc/rivalcfg/default.nix index f6b45af3af348..3633fa0878c1e 100644 --- a/pkgs/misc/rivalcfg/default.nix +++ b/pkgs/misc/rivalcfg/default.nix @@ -2,13 +2,13 @@ python3Packages.buildPythonPackage rec { pname = "rivalcfg"; - version = "4.8.0"; + version = "4.10.0"; src = fetchFromGitHub { owner = "flozz"; repo = "rivalcfg"; - rev = "v${version}"; - sha256 = "sha256-fCl+XY+R+QF7jWLkqii4v0sbXr7xoX3A3upm+XoBAms="; + rev = "refs/tags/v${version}"; + sha256 = "sha256-8/2jEwEKdBGv31eQKao631siyUDlbtcy0HwP4+OGSok="; }; propagatedBuildInputs = with python3Packages; [ hidapi setuptools ]; |