Skip to content

Commit

Permalink
memorymapping{,Hook}: drop
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy committed Nov 6, 2024
1 parent d6294c6 commit f17e590
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 70 deletions.
3 changes: 0 additions & 3 deletions pkgs/applications/science/physics/crystfel/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
, gtk3
, gdk-pixbuf
, argp-standalone
, memorymappingHook
, withGui ? true
, withBitshuffle ? true
}:
Expand Down Expand Up @@ -211,8 +210,6 @@ stdenv.mkDerivation rec {
] ++ lib.optionals withGui [ gtk3 gdk-pixbuf ]
++ lib.optionals stdenv.hostPlatform.isDarwin [
argp-standalone
] ++ lib.optionals (stdenv.hostPlatform.isDarwin && !stdenv.hostPlatform.isAarch64) [
memorymappingHook
]
++ lib.optionals withBitshuffle [ hdf5-external-filter-plugins ];

Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/science/physics/xfitter/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
, qcdnum
, root
, zlib
, memorymappingHook
}:

stdenv.mkDerivation rec {
Expand All @@ -40,7 +39,6 @@ stdenv.mkDerivation rec {
buildInputs =
[ apfel blas ceres-solver lhapdf lapack libyaml root qcdnum gsl yaml-cpp zlib ]
++ lib.optionals ("5" == lib.versions.major root.version) [ apfelgrid applgrid ]
++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook ]
++ lib.optional (stdenv.hostPlatform.libc == "glibc") libtirpc
;

Expand Down
4 changes: 1 addition & 3 deletions pkgs/development/compilers/chicken/5/overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,7 @@ in
plot = addToBuildInputs pkgs.plotutils;
postgresql = addToBuildInputsWithPkgConfig pkgs.postgresql;
rocksdb = addToBuildInputs pkgs.rocksdb_8_3;
scheme2c-compatibility = old:
addToNativeBuildInputs (lib.optionals (stdenv.system == "x86_64-darwin") [ pkgs.memorymappingHook ])
(addPkgConfig old);
scheme2c-compatibility = addPkgConfig;
sdl-base = old:
((addToPropagatedBuildInputsWithPkgConfig pkgs.SDL old) //
# needed for sdl-config to be in PATH
Expand Down
45 changes: 0 additions & 45 deletions pkgs/development/libraries/memorymapping/default.nix

This file was deleted.

6 changes: 0 additions & 6 deletions pkgs/development/libraries/memorymapping/setup-hook.sh

This file was deleted.

3 changes: 1 addition & 2 deletions pkgs/development/python-modules/rdkit/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
numpy,
pandas,
pillow,
memorymappingHook,
}:
let
external = {
Expand Down Expand Up @@ -96,7 +95,7 @@ buildPythonPackage rec {
eigen
inchi
maeparser
] ++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook ];
];

dependencies = [
numpy
Expand Down
4 changes: 1 addition & 3 deletions pkgs/games/tintin/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ stdenv, fetchFromGitHub, lib, zlib, pcre
, memorymappingHook
, gnutls
}:

Expand All @@ -14,8 +13,7 @@ stdenv.mkDerivation rec {
hash = "sha256-AfWw9CMBAzTTsrZXDEoOdpvUofIQfLCW7hRgSb7LB00=";
};

buildInputs = [ zlib pcre gnutls ]
++ lib.optionals (stdenv.system == "x86_64-darwin") [ memorymappingHook ];
buildInputs = [ zlib pcre gnutls ];

preConfigure = ''
cd src
Expand Down
2 changes: 2 additions & 0 deletions pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -765,6 +765,8 @@ mapAliases {
mcomix3 = mcomix; # Added 2022-06-05
mdt = md-tui; # Added 2024-09-03
meme = throw "'meme' has been renamed to/replaced by 'meme-image-generator'"; # Converted to throw 2024-10-17
memorymapping = throw "memorymapping has been removed, as it was only useful on old macOS versions that are no longer supported"; # Added 2024-10-05
memorymappingHook = throw "memorymapping has been removed, as it was only useful on old macOS versions that are no longer supported"; # Added 2024-10-05
memstream = throw "memstream has been removed, as it was only useful on old macOS versions that are no longer supported"; # Added 2024-10-05
memstreamHook = throw "memstream has been removed, as it was only useful on old macOS versions that are no longer supported"; # Added 2024-10-05
mhwaveedit = throw "'mkwaveedit' has been removed due to lack of maintenance upstream. Consider using 'audacity' or 'tenacity' instead";
Expand Down
6 changes: 0 additions & 6 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21721,12 +21721,6 @@ with pkgs;

mediastreamer-openh264 = callPackage ../development/libraries/mediastreamer/msopenh264.nix { };

memorymapping = callPackage ../development/libraries/memorymapping { };
memorymappingHook = makeSetupHook {
name = "memorymapping-hook";
propagatedBuildInputs = [ memorymapping ];
} ../development/libraries/memorymapping/setup-hook.sh;

memray = callPackage ../development/tools/memray { };

menu-cache = callPackage ../development/libraries/menu-cache { };
Expand Down

0 comments on commit f17e590

Please sign in to comment.