2021-01-17 09:17:16 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, fuse }:
|
2015-10-14 18:20:30 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "djmount";
|
2015-10-14 18:20:30 +01:00
|
|
|
version = "0.71";
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://sourceforge/djmount/${version}/${pname}-${version}.tar.gz";
|
2015-10-14 18:20:30 +01:00
|
|
|
sha256 = "0kqf0cy3h4cfiy5a2sigmisx0lvvsi1n0fbyb9ll5gacmy1b8nxa";
|
|
|
|
};
|
|
|
|
|
2022-01-09 16:09:08 +00:00
|
|
|
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'
|
|
|
|
'';
|
|
|
|
|
2021-01-17 09:17:16 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-09-05 22:26:13 +01:00
|
|
|
buildInputs = [ fuse];
|
2015-10-14 18:20:30 +01:00
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://djmount.sourceforge.net/";
|
2015-10-14 18:20:30 +01:00
|
|
|
description = "UPnP AV client, mounts as a Linux filesystem the media content of compatible UPnP AV devices";
|
2021-01-15 09:19:50 +00:00
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = [ lib.maintainers.jagajaga ];
|
|
|
|
license = lib.licenses.gpl2;
|
2015-10-14 18:20:30 +01:00
|
|
|
};
|
|
|
|
}
|