Author: simons
Date: Wed Jul 20 22:56:39 2011
New Revision: 27861
URL: https://svn.nixos.org/websvn/nix/?rev=27861&sc=1
Log:
all-packages.nix: added ledger 3.0 via Git
Added:
nixpkgs/trunk/pkgs/applications/office/ledger/3.0.nix
Modified:
nixpkgs/trunk/pkgs/top-level/all-packages.nix
Added: nixpkgs/trunk/pkgs/applications/office/ledger/3.0.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/applications/office/ledger/3.0.nix Wed Jul 20
22:56:39 2011 (r27861)
@@ -0,0 +1,45 @@
+{ stdenv, fetchgit, python, autoconf, automake, libtool, gettext, emacs, gmp
+, pcre, expat, boost, mpfr, git, texinfo }:
+
+let
+ rev = "cf35984971341b8a8688";
+in
+stdenv.mkDerivation {
+ name = "ledger3-${rev}";
+
+ src = fetchgit {
+ url = "git://github.com/jwiegley/ledger.git";
+ inherit rev;
+ sha256 =
"4078983db9fc8d232fa71a31b47e505c531971b4515d6ef723e7d333a2352d2a";
+ };
+
+ buildInputs = [
+ python autoconf automake libtool gettext emacs gmp pcre expat boost mpfr
+ git texinfo
+ ];
+
+ buildPhase = ''
+ sed -i acprep \
+ -e 's|search_prefixes = .*|search_prefixes = ["${boost}"]|'
+ export MAKEFLAGS="-j$NIX_BUILD_CORES -l$NIX_BUILD_CORES"
+ python acprep update --no-pch --prefix=$out
+ '';
+
+ doCheck = true;
+
+ meta = {
+ homepage = "http://ledger-cli.org/";
+ description = "A double-entry accounting system with a command-line
reporting interface";
+ license = "BSD";
+
+ longDescription = ''
+ Ledger is a powerful, double-entry accounting system that is accessed
+ from the UNIX command-line. This may put off some users, as there is
+ no flashy UI, but for those who want unparalleled reporting access to
+ their data, there really is no alternative.
+ '';
+
+ platforms = stdenv.lib.platforms.linux;
+ maintainers = [ stdenv.lib.maintainers.simons ];
+ };
+}
Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
==============================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix Wed Jul 20 22:56:35
2011 (r27860)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix Wed Jul 20 22:56:39
2011 (r27861)
@@ -6638,6 +6638,7 @@
links = callPackage ../applications/networking/browsers/links { };
ledger = callPackage ../applications/office/ledger { };
+ ledger3 = callPackage ../applications/office/ledger/3.0.nix { };
links2 = (builderDefsPackage ../applications/networking/browsers/links2) {
inherit fetchurl stdenv bzip2 zlib libjpeg libpng libtiff
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits