* Added the Dutch Tax Return program for 2009.
svn path=/nixpkgs/trunk/; revision=20828
This commit is contained in:
parent
d533e31357
commit
25ea790dd4
33
pkgs/applications/taxes/aangifte-2009/default.nix
Normal file
33
pkgs/applications/taxes/aangifte-2009/default.nix
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
{ stdenv, fetchurl, libX11, libXext, libSM }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
name = "aangifte2009-1";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2009_linux.tar.gz;
|
||||||
|
sha256 = "07l83cknzxwlzmg1w6baf2wqs06bh8v3949n51hy1p3wgr8hf408";
|
||||||
|
};
|
||||||
|
|
||||||
|
dontStrip = true;
|
||||||
|
|
||||||
|
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 =
|
||||||
|
''
|
||||||
|
ensureDir $out
|
||||||
|
cp -prvd * $out/
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Elektronische aangifte IB 2009 (Dutch Tax Return Program)";
|
||||||
|
url = http://www.belastingdienst.nl/particulier/aangifte2009/download/;
|
||||||
|
};
|
||||||
|
}
|
@ -43,7 +43,7 @@ let config_ = config; in # rename the function argument
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
lib = import ../lib; # see also libTests below
|
lib = import ../lib;
|
||||||
|
|
||||||
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
# The contents of the configuration file found at $NIXPKGS_CONFIG or
|
||||||
# $HOME/.nixpkgs/config.nix.
|
# $HOME/.nixpkgs/config.nix.
|
||||||
@ -106,13 +106,13 @@ let
|
|||||||
# The package compositions. Yes, this isn't properly indented.
|
# The package compositions. Yes, this isn't properly indented.
|
||||||
pkgsFun = __overrides: with helperFunctions; rec {
|
pkgsFun = __overrides: with helperFunctions; rec {
|
||||||
|
|
||||||
# override system. This is useful to build i686 packages on x86_64-linux
|
# Override system. This is useful to build i686 packages on x86_64-linux.
|
||||||
forceSystem = system: (import ./all-packages.nix) {
|
forceSystem = system: (import ./all-packages.nix) {
|
||||||
inherit system;
|
inherit system;
|
||||||
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config;
|
inherit bootStdenv noSysDirs gccWithCC gccWithProfiling config;
|
||||||
};
|
};
|
||||||
|
|
||||||
# used by wine, firefox with debugging version of Flash, ..
|
# Used by wine, firefox with debugging version of Flash, ...
|
||||||
pkgsi686Linux = forceSystem "i686-linux";
|
pkgsi686Linux = forceSystem "i686-linux";
|
||||||
|
|
||||||
inherit __overrides;
|
inherit __overrides;
|
||||||
@ -6715,23 +6715,28 @@ let
|
|||||||
|
|
||||||
|
|
||||||
aangifte2005 = import ../applications/taxes/aangifte-2005 {
|
aangifte2005 = import ../applications/taxes/aangifte-2005 {
|
||||||
inherit stdenv fetchurl;
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
||||||
inherit (xlibs) libX11 libXext;
|
inherit (pkgsi686Linux.xlibs) libX11 libXext;
|
||||||
};
|
};
|
||||||
|
|
||||||
aangifte2006 = import ../applications/taxes/aangifte-2006 {
|
aangifte2006 = import ../applications/taxes/aangifte-2006 {
|
||||||
inherit stdenv fetchurl;
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
||||||
inherit (xlibs) libX11 libXext;
|
inherit (pkgsi686Linux.xlibs) libX11 libXext;
|
||||||
};
|
};
|
||||||
|
|
||||||
aangifte2007 = import ../applications/taxes/aangifte-2007 {
|
aangifte2007 = import ../applications/taxes/aangifte-2007 {
|
||||||
inherit stdenv fetchurl;
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
||||||
inherit (xlibs) libX11 libXext libSM;
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
||||||
};
|
};
|
||||||
|
|
||||||
aangifte2008 = import ../applications/taxes/aangifte-2008 {
|
aangifte2008 = import ../applications/taxes/aangifte-2008 {
|
||||||
inherit stdenv fetchurl;
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
||||||
inherit (xlibs) libX11 libXext libSM;
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
||||||
|
};
|
||||||
|
|
||||||
|
aangifte2009 = import ../applications/taxes/aangifte-2009 {
|
||||||
|
inherit (pkgsi686Linux) stdenv fetchurl;
|
||||||
|
inherit (pkgsi686Linux.xlibs) libX11 libXext libSM;
|
||||||
};
|
};
|
||||||
|
|
||||||
abcde = import ../applications/audio/abcde {
|
abcde = import ../applications/audio/abcde {
|
||||||
@ -9274,25 +9279,20 @@ let
|
|||||||
inherit (pythonPackages) pysqlite;
|
inherit (pythonPackages) pysqlite;
|
||||||
};
|
};
|
||||||
|
|
||||||
vice = import ../misc/emulators/vice {
|
vice = import ../misc/emulators/vice {
|
||||||
inherit stdenv fetchurl lib perl gettext libpng giflib libjpeg alsaLib readline mesa;
|
inherit stdenv fetchurl lib perl gettext libpng giflib libjpeg alsaLib readline mesa;
|
||||||
inherit pkgconfig SDL makeDesktopItem autoconf automake;
|
inherit pkgconfig SDL makeDesktopItem autoconf automake;
|
||||||
inherit (gtkLibs) gtk;
|
inherit (gtkLibs) gtk;
|
||||||
};
|
};
|
||||||
|
|
||||||
wine =
|
wine =
|
||||||
if system == "x86_64-linux" then
|
# Wine cannot be built in 64-bit; use a 32-bit build instead.
|
||||||
# Can't build this in 64-bit; use a 32-bit build instead.
|
import ../misc/emulators/wine {
|
||||||
pkgsi686Linux.wine
|
inherit (pkgsi686Linux) fetchurl stdenv bison mesa ncurses
|
||||||
# some hackery to make nix-env show this package on x86_64...
|
libpng libjpeg alsaLib lcms xlibs freetype
|
||||||
// {system = "x86_64-linux";}
|
fontconfig fontforge libxml2 libxslt openssl;
|
||||||
else
|
flex = pkgsi686Linux.flex2535;
|
||||||
import ../misc/emulators/wine {
|
};
|
||||||
inherit fetchurl stdenv bison mesa ncurses
|
|
||||||
libpng libjpeg alsaLib lcms xlibs freetype
|
|
||||||
fontconfig fontforge libxml2 libxslt openssl;
|
|
||||||
flex = flex2535;
|
|
||||||
};
|
|
||||||
|
|
||||||
xosd = import ../misc/xosd {
|
xosd = import ../misc/xosd {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user