mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
libimobiledevice: drop unused libgcrypt dependency, modernize
This commit is contained in:
@@ -15,19 +15,19 @@
|
||||
unstableGitUpdater,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "libimobiledevice";
|
||||
version = "1.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libimobiledevice";
|
||||
repo = "libimobiledevice";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-SWWsa7asCXpcz80VNhxoePWr74QY8SP0byGSCp+nGG0=";
|
||||
};
|
||||
|
||||
preAutoreconf = ''
|
||||
export RELEASE_VERSION=${version}
|
||||
export RELEASE_VERSION=${finalAttrs.version}
|
||||
'';
|
||||
|
||||
configureFlags = [ "--without-cython" ];
|
||||
@@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
|
||||
|
||||
propagatedBuildInputs = [
|
||||
openssl
|
||||
libgcrypt
|
||||
libplist
|
||||
libtasn1
|
||||
libtatsu
|
||||
@@ -47,6 +46,9 @@ stdenv.mkDerivation rec {
|
||||
libimobiledevice-glue
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"dev"
|
||||
@@ -75,4 +77,4 @@ stdenv.mkDerivation rec {
|
||||
platforms = lib.platforms.unix;
|
||||
maintainers = with lib.maintainers; [ RossComputerGuy ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user