nixpkgs/pkgs/tools/filesystems/djmount/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
964 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, fuse }:
2015-10-14 19:20:30 +02:00
stdenv.mkDerivation rec {
pname = "djmount";
2015-10-14 19:20:30 +02:00
version = "0.71";
src = fetchurl {
url = "mirror://sourceforge/djmount/${version}/${pname}-${version}.tar.gz";
2015-10-14 19:20:30 +02:00
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];
2015-10-14 19:20:30 +02:00
meta = {
homepage = "http://djmount.sourceforge.net/";
2015-10-14 19:20:30 +02:00
description = "UPnP AV client, mounts as a Linux filesystem the media content of compatible UPnP AV devices";
2021-01-15 10:19:50 +01:00
platforms = lib.platforms.linux;
maintainers = [ lib.maintainers.jagajaga ];
license = lib.licenses.gpl2;
2015-10-14 19:20:30 +02:00
};
}