9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
59 lines
1.8 KiB
Nix
59 lines
1.8 KiB
Nix
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config, gnutls
|
|
, libgcrypt, libtasn1, glib, libplist, libusbmuxd }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libimobiledevice";
|
|
version = "1.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = pname;
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "1jkq3hpg4n5a6s1k618ib0s80pwf00nlfcby7xckysq8mnd2pp39";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
autoconf
|
|
automake
|
|
libtool
|
|
pkg-config
|
|
];
|
|
propagatedBuildInputs = [
|
|
glib
|
|
gnutls
|
|
libgcrypt
|
|
libplist
|
|
libtasn1
|
|
libusbmuxd
|
|
];
|
|
|
|
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
|
|
|
configureFlags = [
|
|
"--disable-openssl"
|
|
"--without-cython"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = "https://github.com/libimobiledevice/libimobiledevice";
|
|
description = "A software library that talks the protocols to support iPhone®, iPod Touch® and iPad® devices on Linux";
|
|
longDescription = ''
|
|
libimobiledevice is a software library that talks the protocols to support
|
|
iPhone®, iPod Touch® and iPad® devices on Linux. Unlike other projects, it
|
|
does not depend on using any existing proprietary libraries and does not
|
|
require jailbreaking. It allows other software to easily access the
|
|
device's filesystem, retrieve information about the device and it's
|
|
internals, backup/restore the device, manage SpringBoard® icons, manage
|
|
installed applications, retrieve addressbook/calendars/notes and bookmarks
|
|
and synchronize music and video to the device. The library is in
|
|
development since August 2007 with the goal to bring support for these
|
|
devices to the Linux Desktop.
|
|
'';
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ infinisil ];
|
|
};
|
|
}
|