Merge pull request #216644 from wegank/pueue-darwin

pueue: 2.1.0 -> 3.1.0
This commit is contained in:
Weijia Wang 2023-02-16 17:37:04 +01:00 committed by GitHub
commit 6f1f95aa0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 6 deletions

View File

@ -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
];

View File

@ -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;