11 stdenv.mkDerivation rec {
16 url = "mirror://sourceforge/preload/preload-${version}.tar.gz";
17 hash = "sha256-vAIaSwvbUFyTl6DflFhuSaMuX9jPVBah+Nl6c/fUbAM=";
21 # Prevents creation of /var directories on build
22 ./0001-prevent-building-to-var-directories.patch
30 buildInputs = [ glib ];
32 configureFlags = [ "--localstatedir=/var" ];
35 make sysconfigdir=$out/etc/conf.d install
39 description = "Makes applications run faster by prefetching binaries and shared objects";
40 homepage = "https://sourceforge.net/projects/preload";
41 license = licenses.gpl2Only;
42 platforms = lib.platforms.linux;
43 mainProgram = "preload";
44 maintainers = with maintainers; [ ldprg ];