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