git.iko.soy/typeable/nixpkgs
on master help sign in
ifuse: rework expression
commit098da6633ecd108ec513b2130774a2be276298e5 authorworldofpeace <worldofpeace@users.noreply.github.com> dateMon 13 Aug 2018, 00:49 (8 years ago) parentddc73a6
1 file changed+21−15
pkgs/tools/filesystems/ifuse/default.nix+21−15
pkgs/tools/filesystems/ifuse/default.nix+21−15
@@ -1,25 +1,31 @@
1−{ stdenv, fetchurl, pkgconfig, usbmuxd, fuse, gnutls, libgcrypt,
2− libplist, libimobiledevice }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, usbmuxd, fuse, libimobiledevice }:
32
43stdenv.mkDerivation rec {
5− name = "ifuse-1.1.3";
4+ pname = "ifuse";
5+ version = "1.1.3";
66
7− nativeBuildInputs = [ pkgconfig fuse libplist usbmuxd gnutls libgcrypt libimobiledevice ];
7+ name = "${pname}-${version}";
88
9− src = fetchurl {
10− url = "${meta.homepage}/downloads/${name}.tar.bz2";
11− sha256 = "1p9a4n36jb194cnp6v57cz2bggwbywaz8pbpb95ch83pzdkdx257";
9+ src = fetchFromGitHub {
10+ owner = "libimobiledevice";
11+ repo = pname;
12+ rev = version;
13+ sha256 = "0p01rds3vc5864v48swgqw5dv0h937nqnxggryixg9pkvzhc6cx5";
1214 };
1315
14− meta = {
15− homepage = http://www.libimobiledevice.org;
16− license = stdenv.lib.licenses.lgpl21Plus;
16+ nativeBuildInputs = [ autoreconfHook pkgconfig fuse usbmuxd libimobiledevice ];
17+
18+ meta = with stdenv.lib; {
19+ homepage = https://github.com/libimobiledevice/ifuse;
1720 description = "A fuse filesystem implementation to access the contents of iOS devices";
1821 longDescription = ''
19− Mount directories of an iOS device locally using fuse. By default the media
20− directory is mounted, options allow to also mount the sandbox container of an
21− app, an app's documents folder or even the root filesystem on jailbroken
22− devices.'';
23− inherit (usbmuxd.meta) platforms maintainers;
22+ Mount directories of an iOS device locally using fuse. By default the media
23+ directory is mounted, options allow to also mount the sandbox container of an
24+ app, an app's documents folder or even the root filesystem on jailbroken
25+ devices.
26+ '';
27+ license = licenses.lgpl21Plus;
28+ platforms = platforms.linux;
29+ maintainers = with maintainers; [ ];
2430 };
2531}