tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ifuse: rework expression
worldofpeace
7 years ago
098da663
ddc73a67
+21
-15
1 changed file
expand all
collapse all
unified
split
pkgs
tools
filesystems
ifuse
default.nix
+21
-15
pkgs/tools/filesystems/ifuse/default.nix
reviewed
···
1
1
-
{ stdenv, fetchurl, pkgconfig, usbmuxd, fuse, gnutls, libgcrypt,
2
2
-
libplist, libimobiledevice }:
1
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, usbmuxd, fuse, libimobiledevice }:
3
2
4
3
stdenv.mkDerivation rec {
5
5
-
name = "ifuse-1.1.3";
4
4
+
pname = "ifuse";
5
5
+
version = "1.1.3";
6
6
7
7
-
nativeBuildInputs = [ pkgconfig fuse libplist usbmuxd gnutls libgcrypt libimobiledevice ];
7
7
+
name = "${pname}-${version}";
8
8
9
9
-
src = fetchurl {
10
10
-
url = "${meta.homepage}/downloads/${name}.tar.bz2";
11
11
-
sha256 = "1p9a4n36jb194cnp6v57cz2bggwbywaz8pbpb95ch83pzdkdx257";
9
9
+
src = fetchFromGitHub {
10
10
+
owner = "libimobiledevice";
11
11
+
repo = pname;
12
12
+
rev = version;
13
13
+
sha256 = "0p01rds3vc5864v48swgqw5dv0h937nqnxggryixg9pkvzhc6cx5";
12
14
};
13
15
14
14
-
meta = {
15
15
-
homepage = http://www.libimobiledevice.org;
16
16
-
license = stdenv.lib.licenses.lgpl21Plus;
16
16
+
nativeBuildInputs = [ autoreconfHook pkgconfig fuse usbmuxd libimobiledevice ];
17
17
+
18
18
+
meta = with stdenv.lib; {
19
19
+
homepage = https://github.com/libimobiledevice/ifuse;
17
20
description = "A fuse filesystem implementation to access the contents of iOS devices";
18
21
longDescription = ''
19
19
-
Mount directories of an iOS device locally using fuse. By default the media
20
20
-
directory is mounted, options allow to also mount the sandbox container of an
21
21
-
app, an app's documents folder or even the root filesystem on jailbroken
22
22
-
devices.'';
23
23
-
inherit (usbmuxd.meta) platforms maintainers;
22
22
+
Mount directories of an iOS device locally using fuse. By default the media
23
23
+
directory is mounted, options allow to also mount the sandbox container of an
24
24
+
app, an app's documents folder or even the root filesystem on jailbroken
25
25
+
devices.
26
26
+
'';
27
27
+
license = licenses.lgpl21Plus;
28
28
+
platforms = platforms.linux;
29
29
+
maintainers = with maintainers; [ ];
24
30
};
25
31
}