chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / os-specific / darwin / apple-sdk-12.3 / libpm.nix
blob110b9a1ab4789ddd5badf68a9950819b51abab12
2   stdenvNoCC,
3   buildPackages,
4   darwin-stubs,
5 }:
7 stdenvNoCC.mkDerivation {
8   pname = "libpm";
9   inherit (darwin-stubs) version;
11   dontUnpack = true;
12   dontBuild = true;
14   nativeBuildInputs = [ buildPackages.darwin.checkReexportsHook ];
16   installPhase = ''
17     mkdir -p $out/lib
18     cp ${darwin-stubs}/usr/lib/libpm* $out/lib
19   '';
21   passthru.tbdRewrites = {
22     const."/usr/lib/libpmenergy.dylib" = "${placeholder "out"}/lib/libpmenergy.dylib";
23     const."/usr/lib/libpmsample.dylib" = "${placeholder "out"}/lib/libpmsample.dylib";
24   };