2022-05-23 02:26:21 +02:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, libplist
|
2024-06-19 17:05:09 +02:00
|
|
|
, nix-update-script
|
2022-05-23 02:26:21 +02:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libimobiledevice-glue";
|
2024-06-19 17:05:09 +02:00
|
|
|
version = "1.3.0";
|
2022-05-23 02:26:21 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libimobiledevice";
|
|
|
|
repo = pname;
|
2023-06-05 18:58:37 +02:00
|
|
|
rev = version;
|
2024-06-19 17:05:09 +02:00
|
|
|
hash = "sha256-+poCrn2YHeH8RQCfWDdnlmJB4Nf+unWUVwn7YwILHIs=";
|
2022-05-23 02:26:21 +02:00
|
|
|
};
|
|
|
|
|
2024-06-19 17:05:09 +02:00
|
|
|
preAutoreconf = ''
|
|
|
|
export RELEASE_VERSION=${version}
|
|
|
|
'';
|
|
|
|
|
2022-05-23 02:26:21 +02:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libplist
|
|
|
|
];
|
|
|
|
|
2024-06-19 17:05:09 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
passthru.updateScript = nix-update-script { };
|
2023-06-05 18:58:37 +02:00
|
|
|
|
2022-05-23 02:26:21 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/libimobiledevice/libimobiledevice-glue";
|
2023-06-05 18:58:37 +02:00
|
|
|
description = "Library with common code used by the libraries and tools around the libimobiledevice project";
|
2022-05-23 02:26:21 +02:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.unix;
|
2024-04-09 17:26:37 +02:00
|
|
|
maintainers = [ ];
|
2022-05-23 02:26:21 +02:00
|
|
|
};
|
|
|
|
}
|