mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
djmount: drop
This commit is contained in:
@@ -1,41 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchurl,
|
||||
pkg-config,
|
||||
fuse,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "djmount";
|
||||
version = "0.71";
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/djmount/${finalAttrs.version}/djmount-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "0kqf0cy3h4cfiy5a2sigmisx0lvvsi1n0fbyb9ll5gacmy1b8nxa";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# Taken from https://github.com/pupnp/pupnp/pull/334/files
|
||||
substituteInPlace libupnp/threadutil/inc/ithread.h \
|
||||
--replace \
|
||||
"#define ithread_mutexattr_setkind_np pthread_mutexattr_setkind_np" \
|
||||
'#define ithread_mutexattr_setkind_np pthread_mutexattr_settype'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ fuse ];
|
||||
|
||||
# Workaround build failure on -fno-common toolchains like upstream
|
||||
# gcc-10. Otherwise build fails as:
|
||||
# ld: libupnp/upnp/.libs/libupnp.a(libupnp_la-gena_ctrlpt.o):libupnp/upnp/src/inc/upnpapi.h:163:
|
||||
# multiple definition of `pVirtualDirList'; libupnp/upnp/.libs/libupnp.a(libupnp_la-upnpapi.o):libupnp/upnp/src/inc/upnpapi.h:163: first defined here
|
||||
env.NIX_CFLAGS_COMPILE = "-fcommon";
|
||||
|
||||
meta = {
|
||||
homepage = "https://djmount.sourceforge.net/";
|
||||
description = "UPnP AV client, mounts as a Linux filesystem the media content of compatible UPnP AV devices";
|
||||
mainProgram = "djmount";
|
||||
platforms = lib.platforms.linux;
|
||||
license = lib.licenses.gpl2Plus;
|
||||
};
|
||||
})
|
||||
@@ -611,6 +611,7 @@ mapAliases {
|
||||
dfilemanager = throw "'dfilemanager' has been dropped as it was unmaintained"; # Added 2025-06-03
|
||||
discord-screenaudio = throw "discord-screenaudio has been removed because it was archived upstream. Use vesktop instead."; # added 2025-11-29
|
||||
DisnixWebService = warnAlias "'DisnixWebService' has been renamed to 'disnix-web-service'" disnix-web-service; # Added 2026-01-14
|
||||
djmount = throw "'djmount' has been removed as it is no longer maintained"; # Added 2026-05-19
|
||||
dleyna-connector-dbus = throw "'dleyna-connector-dbus' has been renamed to/replaced by 'dleyna'"; # Converted to throw 2025-10-27
|
||||
dleyna-core = throw "'dleyna-core' has been renamed to/replaced by 'dleyna'"; # Converted to throw 2025-10-27
|
||||
dleyna-renderer = throw "'dleyna-renderer' has been renamed to/replaced by 'dleyna'"; # Converted to throw 2025-10-27
|
||||
|
||||
Reference in New Issue
Block a user