nixpkgs/pkgs/by-name/if/ifuse/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

48 lines
1.1 KiB
Nix

{ lib
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkg-config
, fuse
, usbmuxd
, libimobiledevice
}:
stdenv.mkDerivation rec {
pname = "ifuse";
version = "1.1.4+date=2022-04-04";
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = pname;
rev = "6f5b8e410f9615b3369ca5eb5367745e13d83b92";
hash = "sha256-KbuJLS2BWua9DnhLv2KtsQObin0PQwXQwEdgi3lSAPk=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
fuse
usbmuxd
libimobiledevice
];
meta = with lib; {
homepage = "https://github.com/libimobiledevice/ifuse";
description = "Fuse filesystem implementation to access the contents of iOS devices";
longDescription = ''
Mount directories of an iOS device locally using fuse. By default the media
directory is mounted, options allow to also mount the sandbox container of an
app, an app's documents folder or even the root filesystem on jailbroken
devices.
'';
license = licenses.lgpl21Plus;
platforms = platforms.unix;
maintainers = [ ];
mainProgram = "ifuse";
};
}