@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
url = " m i r r o r : / / s o u r c e f o r g e / g t k p o d / ${ pname } - ${ version } . t a r . g z " ;
url = " m i r r o r : / / s o u r c e f o r g e / g t k p o d / ${ pname } - ${ version } . t a r . g z " ;
sha256 = " 0 x i s r p x 0 6 9 f 7 b j k y c 8 v q x b 4 k 0 4 8 0 j m x 1 w s c q x r 6 c p q 1 q j 6 p c h z d 5 " ;
sha256 = " 0 x i s r p x 0 6 9 f 7 b j k y c 8 v q x b 4 k 0 4 8 0 j m x 1 w s c q x r 6 c p q 1 q j 6 p c h z d 5 " ;
} ;
} ;
postPatch = ''
sed - i ' s/which/type - P / ' scripts /* . s h
'' ;
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ] ;
nativeBuildInputs = [ pkg-config wrapGAppsHook intltool ] ;
buildInputs = [
buildInputs = [
@ -19,15 +22,17 @@ stdenv.mkDerivation rec {
gdl gnome . adwaita-icon-theme gnome . anjuta
gdl gnome . adwaita-icon-theme gnome . anjuta
] ++ ( with perlPackages ; [ perl XMLParser ] ) ;
] ++ ( with perlPackages ; [ perl XMLParser ] ) ;
patchPhase = ''
# Workaround build failure on -fno-common toolchains like upstream
sed - i ' s/which/type - P / ' scripts /* . s h
# gcc-10. Otherwise build fails as:
'' ;
# ld: .libs/autodetection.o:/build/gtkpod-2.1.5/libgtkpod/gtkpod_app_iface.h:248: multiple definition of
# `gtkpod_app'; .libs/gtkpod_app_iface.o:/build/gtkpod-2.1.5/libgtkpod/gtkpod_app_iface.h:248: first defined here
NIX_CFLAGS_COMPILE = " - f c o m m o n " ;
enableParallelBuilding = true ;
enableParallelBuilding = true ;
meta = with lib ; {
meta = with lib ; {
description = " G T K M a n a g e r f o r a n A p p l e i p o d " ;
description = " G T K M a n a g e r f o r a n A p p l e i p o d " ;
homepage = " h t t p : / / g t k p o d . s o u r c e f o r g e . n e t " ;
homepage = " h t t p s :/ / s o u r c e f o r g e . n e t / p r o j e c t s / g t k p o d / " ;
license = licenses . gpl2Plus ;
license = licenses . gpl2Plus ;
platforms = platforms . linux ;
platforms = platforms . linux ;
maintainers = [ maintainers . skeidel ] ;
maintainers = [ maintainers . skeidel ] ;