Add aangifte-2013

This commit is contained in:
Eelco Dolstra 2014-03-01 16:54:07 +01:00
parent 1425fa5b3b
commit 405ea01e67
11 changed files with 64 additions and 32 deletions

View File

@ -1,17 +0,0 @@
source $stdenv/setup
buildPhase() {
for i in bin/*; do
patchelf \
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
--set-rpath $libX11/lib:$libXext/lib \
$i
done
}
installPhase() {
mkdir -p $out
cp -prvd * $out/
}
genericBuild

View File

@ -1,13 +0,0 @@
{stdenv, fetchurl, libX11, libXext}:
stdenv.mkDerivation {
name = "aangifte2005-1";
builder = ./builder.sh;
src = fetchurl {
url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2005_linux.tar.gz;
md5 = "9cc709b8ad041f4b20154ff1491d0436";
};
inherit libX11 libXext;
}

View File

@ -14,5 +14,8 @@ stdenv.mkDerivation {
meta = {
description = "Elektronische aangifte IB 2006";
url = "http://www.belastingdienst.nl/download/1341.html";
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -17,5 +17,8 @@ stdenv.mkDerivation {
meta = {
description = "Elektronische aangifte IB 2007";
url = "http://www.belastingdienst.nl/download/1341.html";
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -18,5 +18,8 @@ stdenv.mkDerivation {
meta = {
description = "Elektronische aangifte IB 2008 (Dutch Tax Return Program)";
url = http://www.belastingdienst.nl/particulier/aangifte2008/aangifte_2008/aangifte_2008.html;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -33,5 +33,8 @@ stdenv.mkDerivation {
meta = {
description = "Elektronische aangifte IB 2009 (Dutch Tax Return Program)";
url = http://www.belastingdienst.nl/particulier/aangifte2009/download/;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -33,5 +33,8 @@ stdenv.mkDerivation {
meta = {
description = "Elektronische aangifte IB 2010 (Dutch Tax Return Program)";
url = http://www.belastingdienst.nl/particulier/aangifte2009/download/;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -33,5 +33,8 @@ stdenv.mkDerivation {
meta = {
description = "Elektronische aangifte IB 2011 (Dutch Tax Return Program)";
url = http://www.belastingdienst.nl/particulier/aangifte2009/download/;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -34,5 +34,8 @@ stdenv.mkDerivation {
meta = {
description = "Elektronische aangifte IB 2012 (Dutch Tax Return Program)";
url = http://www.belastingdienst.nl/particulier/aangifte2012/download/;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -0,0 +1,41 @@
{ stdenv, fetchurl, makeWrapper, xdg_utils, libX11, libXext, libSM }:
stdenv.mkDerivation {
name = "aangifte2013-1";
src = fetchurl {
url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2013_linux.tar.gz;
sha256 = "05biqxz39gwln960xj31yg8s2chdn9vs0lzm4rlcwcavxy8lam1c";
};
dontStrip = true;
dontPatchELF = true;
buildInputs = [ makeWrapper ];
buildPhase =
''
for i in bin/*; do
patchelf \
--set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \
--set-rpath ${stdenv.lib.makeLibraryPath [ libX11 libXext libSM ]}:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \
$i
done
'';
installPhase =
''
mkdir -p $out
cp -prvd * $out/
wrapProgram $out/bin/ib2013ux --prefix PATH : ${xdg_utils}/bin \
--prefix LD_PRELOAD : $(cat $NIX_GCC/nix-support/orig-gcc)/lib/libgcc_s.so.1
'';
meta = {
description = "Elektronische aangifte IB 2013 (Dutch Tax Return Program)";
url = http://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/themaoverstijgend/programmas_en_formulieren/aangifteprogramma_2013_linux;
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux;
hydraPlatforms = [];
};
}

View File

@ -7396,8 +7396,6 @@ let
a2jmidid = callPackage ../applications/audio/a2jmidid { };
aangifte2005 = callPackage_i686 ../applications/taxes/aangifte-2005 { };
aangifte2006 = callPackage_i686 ../applications/taxes/aangifte-2006 { };
aangifte2007 = callPackage_i686 ../applications/taxes/aangifte-2007 { };
@ -7412,6 +7410,8 @@ let
aangifte2012 = callPackage_i686 ../applications/taxes/aangifte-2012 { };
aangifte2013 = callPackage_i686 ../applications/taxes/aangifte-2013 { };
abcde = callPackage ../applications/audio/abcde {
inherit (perlPackages) DigestSHA MusicBrainz MusicBrainzDiscID;
libcdio = libcdio082;