diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-03-24 09:00:34 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-03-24 09:00:34 +0000 |
commit | 37de59a3be97093953535632fe2623dd4f5fc1f9 (patch) | |
tree | adc28b7fd80055928ef33bd709d2f9b8003925eb /pkgs/applications/taxes | |
parent | 1167cdd1badc504073dabcdf47bd86728c61e0a2 (diff) |
* Dutch tax return program for 2008.
(And the government is *still* violating the LGPL...) svn path=/nixpkgs/trunk/; revision=14678
Diffstat (limited to 'pkgs/applications/taxes')
-rw-r--r-- | pkgs/applications/taxes/aangifte-2008/builder.sh | 21 | ||||
-rw-r--r-- | pkgs/applications/taxes/aangifte-2008/default.nix | 22 |
2 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/applications/taxes/aangifte-2008/builder.sh b/pkgs/applications/taxes/aangifte-2008/builder.sh new file mode 100644 index 0000000000000..e2d2658024a49 --- /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 0000000000000..85d5b3045be00 --- /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; + }; +} |