mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
mhddfs: rip
contributes to #526161 , it has not been tested if the package builds with fuse3
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
--- mhddfs-0.1.39/src/usage.c.old 2017-02-28 15:00:25.435438622 +0100
|
||||
+++ mhddfs-0.1.39/src/usage.c 2017-02-28 15:00:33.847454958 +0100
|
||||
@@ -43,7 +43,7 @@
|
||||
"\n"
|
||||
" see fusermount(1) for information about other options\n"
|
||||
"";
|
||||
- fprintf(to, usage);
|
||||
+ fputs(usage, to);
|
||||
if (to==stdout) exit(0);
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
fuse,
|
||||
pkg-config,
|
||||
attr,
|
||||
uthash,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "mhddfs";
|
||||
version = "0.1.39";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://mhddfs.uvw.ru/downloads/mhddfs_${finalAttrs.version}.tar.gz";
|
||||
sha256 = "14ggmh91vv69fp2qpz0nxp0hprlw2wsijss2k2485hb0ci4cabvh";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [
|
||||
fuse
|
||||
attr
|
||||
uthash
|
||||
];
|
||||
|
||||
patches = [
|
||||
./fix-format-security-error.patch
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/main.c --replace "attr/xattr.h" "sys/xattr.h"
|
||||
substituteInPlace src/tools.c --replace "attr/xattr.h" "sys/xattr.h"
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp mhddfs $out/bin/
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://mhddfs.uvw.ru/";
|
||||
description = "Combines a several mount points into the single one";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.makefu ];
|
||||
mainProgram = "mhddfs";
|
||||
};
|
||||
})
|
||||
@@ -1431,6 +1431,7 @@ mapAliases {
|
||||
metaBuildEnv = throw "'metaBuildEnv' has been removed, due to it being ancient unmaintained software"; # Added 2026-02-11
|
||||
meteo = throw "'meteo' has been removed as it was unmaintained and depends on deprecated webkitgtk_4_0"; # Added 2025-10-09
|
||||
metersLv2 = warnAlias "'metersLv2' has been renamed to 'meters-lv2'" meters-lv2; # Added 2026-02-08
|
||||
mhddfs = throw "'mhddfs' has been removed because upstream marked it as unmaintained on 2015-03-17. Consider using 'mergerfs' as potential alternative"; # Added 2026-05-31
|
||||
microcodeAmd = throw "'microcodeAmd' has been renamed to/replaced by 'microcode-amd'"; # Converted to throw 2025-10-27
|
||||
microcodeIntel = throw "'microcodeIntel' has been renamed to/replaced by 'microcode-intel'"; # Converted to throw 2025-10-27
|
||||
microsoft_gsl = throw "'microsoft_gsl' has been renamed to/replaced by 'microsoft-gsl'"; # Converted to throw 2025-10-27
|
||||
|
||||
Reference in New Issue
Block a user