diff --git a/pkgs/applications/taxes/aangifte-2008/builder.sh b/pkgs/applications/taxes/aangifte-2008/builder.sh new file mode 100644 index 000000000000..e2d2658024a4 --- /dev/null +++ b/pkgs/applications/taxes/aangifte-2008/builder.sh @@ -0,0 +1,21 @@ +source $stdenv/setup + +echo $NIX_GCC + +buildPhase=buildPhase +buildPhase() { + for i in bin/*; do + patchelf \ + --set-interpreter "$(cat $NIX_GCC/nix-support/dynamic-linker)" \ + --set-rpath $libX11/lib:$libXext/lib:$libSM/lib:$(cat $NIX_GCC/nix-support/orig-gcc)/lib \ + $i + done +} + +installPhase=installPhase +installPhase() { + ensureDir $out + cp -prvd * $out/ +} + +genericBuild \ No newline at end of file diff --git a/pkgs/applications/taxes/aangifte-2008/default.nix b/pkgs/applications/taxes/aangifte-2008/default.nix new file mode 100644 index 000000000000..85d5b3045be0 --- /dev/null +++ b/pkgs/applications/taxes/aangifte-2008/default.nix @@ -0,0 +1,22 @@ +{stdenv, fetchurl, libX11, libXext, libSM}: + +stdenv.mkDerivation { + name = "aangifte2008-1"; + + builder = ./builder.sh; + + src = fetchurl { + url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2008_linux.tar.gz; + sha256 = "0p46bc1b14hgf07illg3crjgjdflkcknk4nzm7b73cwkni57scx3"; + }; + + inherit libX11 libXext libSM; + + dontStrip = true; + dontPatchELF = true; + + meta = { + description = "Elektronische aangifte IB 2008 (Dutch Tax Return Program)"; + url = http://www.belastingdienst.nl/particulier/aangifte2008/aangifte_2008/aangifte_2008.html; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1a377a2e29da..f27601071976 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7614,6 +7614,11 @@ let inherit (xlibs) libX11 libXext libSM; }; + aangifte2008 = import ../applications/taxes/aangifte-2008 { + inherit stdenv fetchurl; + inherit (xlibs) libX11 libXext libSM; + }; + abcde = import ../applications/audio/abcde { inherit fetchurl stdenv libcdio cddiscid wget bash vorbisTools makeWrapper;