From a5875f3c89130e5dadc8de454830b1ca5cdd2dd1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 3 Mar 2006 19:25:06 +0000 Subject: [PATCH] * Aangifteprogramma 2005. Still impure. svn path=/nixpkgs/trunk/; revision=4976 --- pkgs/evil/belastingdiest/builder.sh | 17 +++++++++++++++++ pkgs/evil/belastingdiest/default.nix | 13 +++++++++++++ pkgs/system/all-packages-generic.nix | 5 +++++ 3 files changed, 35 insertions(+) create mode 100644 pkgs/evil/belastingdiest/builder.sh create mode 100644 pkgs/evil/belastingdiest/default.nix diff --git a/pkgs/evil/belastingdiest/builder.sh b/pkgs/evil/belastingdiest/builder.sh new file mode 100644 index 000000000000..d03ce7d309af --- /dev/null +++ b/pkgs/evil/belastingdiest/builder.sh @@ -0,0 +1,17 @@ +source $stdenv/setup + +buildPhase=buildPhase +buildPhase() { + glibc=$(cat $NIX_GCC/nix-support/orig-glibc) +# for i in bin/*; do +# patchelf --set-interpreter $glibc/lib/ld-linux.so.* $i +# done +} + +installPhase=installPhase +installPhase() { + ensureDir $out + cp -prvd * $out/ +} + +genericBuild \ No newline at end of file diff --git a/pkgs/evil/belastingdiest/default.nix b/pkgs/evil/belastingdiest/default.nix new file mode 100644 index 000000000000..535af82b588f --- /dev/null +++ b/pkgs/evil/belastingdiest/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation { + name = "aangifte2005-1"; + builder = ./builder.sh; + + src = fetchurl { + url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2005_linux.tar.gz; + md5 = "9cc709b8ad041f4b20154ff1491d0436"; + }; + +# buildInputs = [pkgconfig gtk libpng]; +} diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 7a30f83319fb..affd47555b50 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -2318,4 +2318,9 @@ rec { joe = (import ../applications/editors/joe) { inherit stdenv fetchurl; }; + + aangifte2005 = import ../evil/belastingdiest { + inherit stdenv fetchurl; + }; + }