diff --git a/pkgs/applications/misc/pueue/default.nix b/pkgs/applications/misc/pueue/default.nix index 27f4afb435f8..39a6312103c6 100644 --- a/pkgs/applications/misc/pueue/default.nix +++ b/pkgs/applications/misc/pueue/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, Libsystem , SystemConfiguration , installShellFiles , libiconv @@ -9,20 +10,25 @@ rustPlatform.buildRustPackage rec { pname = "pueue"; - version = "2.1.0"; + version = "3.1.0"; src = fetchFromGitHub { owner = "Nukesor"; repo = "pueue"; rev = "v${version}"; - hash = "sha256-xUTkjj/PdlgDEp2VMwBuRtF/9iGGiN4FZizdOdcbTag="; + hash = "sha256-vJJ3qQb38b0vr7o+7rc3z5wftI6Ko4mJiGLvVzyjTeE="; }; - cargoSha256 = "sha256-7VdPu+9RYoj4Xfb3J6GLOji7Fqxkk+Fswi4C4q33+jk="; + cargoHash = "sha256-3taLua69kqPnNraIZIesMkFguCbPWTF5Hu9s2Lc02ZA="; - nativeBuildInputs = [ installShellFiles ]; + nativeBuildInputs = [ + installShellFiles + ] ++ lib.optionals stdenv.isDarwin [ + rustPlatform.bindgenHook + ]; buildInputs = lib.optionals stdenv.isDarwin [ + Libsystem SystemConfiguration libiconv ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fa2fcc94e454..32dabd6a60a8 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5405,8 +5405,9 @@ with pkgs; proxmox-backup-client = callPackage ../applications/backup/proxmox-backup-client { }; - pueue = callPackage ../applications/misc/pueue { - inherit (darwin.apple_sdk.frameworks) SystemConfiguration; + pueue = darwin.apple_sdk_11_0.callPackage ../applications/misc/pueue { + inherit (darwin.apple_sdk_11_0) Libsystem; + inherit (darwin.apple_sdk_11_0.frameworks) SystemConfiguration; }; pixcat = with python3Packages; toPythonApplication pixcat;