* Dutch tax return program for 2008.

(And the government is *still* violating the LGPL...)

svn path=/nixpkgs/trunk/; revision=14678
This commit is contained in:
Eelco Dolstra 2009-03-24 09:00:34 +00:00
parent 1167cdd1ba
commit 37de59a3be
3 changed files with 48 additions and 0 deletions

View File

@ -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

View File

@ -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;
};
}

View File

@ -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;