Commit graph

316 commits

Author SHA1 Message Date
Michael Raskin 54a1f25c4c Added conditional concatenation and used it for name and configureFlags generation.
svn path=/nixpkgs/trunk/; revision=9136
2007-08-15 21:17:11 +00:00
Michael Raskin 75747d3b1c Added possibility for flags= in calls to proposed template. As usual, look at huge Vim.
svn path=/nixpkgs/trunk/; revision=9135
2007-08-15 20:54:11 +00:00
Michael Raskin 118e9d6ebf Corrected a flaw that made automated package silently accept any extra arguments
svn path=/nixpkgs/trunk/; revision=9101
2007-08-11 11:14:36 +00:00
Michael Raskin efbabdb598 Converted Vim package to a template-based form with only lists filled in manually. Added library functions to support it. Added two proposed package templates to top-level, so that every discussion about package format can result in just editing templates or adding new ones.
svn path=/nixpkgs/trunk/; revision=9100
2007-08-11 10:34:07 +00:00
Michael Raskin 2d6a65b666 Included some configuration for Vim.
svn path=/nixpkgs/trunk/; revision=9099
2007-08-10 19:53:30 +00:00
Eelco Dolstra 9816367ed1 * Function to return a range of numbers.
svn path=/nixpkgs/trunk/; revision=8850
2007-06-09 19:45:55 +00:00
Eelco Dolstra c5e1ae5eaf * Purity fix in building Python: don't let it search in /usr/include
and /usr/lib to determine what optional modules (like bzip2, zlib,
  dl, etc.) to build.  Unfortunately there doesn't seem to be a way to
  tell the Python build process to look anywhere else, so I had to
  patch setup.py.

svn path=/nixpkgs/trunk/; revision=8780
2007-05-27 14:34:01 +00:00
Eelco Dolstra 14c0ae4055 * Move the `optional' function to lib.
svn path=/nixpkgs/trunk/; revision=8720
2007-05-20 20:24:43 +00:00
Eelco Dolstra 7b7230b0e9 * Function concatLists to concatenate a list of lists.
svn path=/nixpkgs/trunk/; revision=8219
2007-03-06 00:01:27 +00:00
Eelco Dolstra 83a82a22e5 * Filter out *~ files in cleanSource.
svn path=/nixpkgs/trunk/; revision=7803
2007-01-29 14:53:23 +00:00
Eelco Dolstra e18bd5af62 * Move cleanSource to lib.
svn path=/nixpkgs/trunk/; revision=7668
2007-01-15 09:20:18 +00:00
Eelco Dolstra b0950cab80 * A function `elem' to check whether a list contains a specific
element.

svn path=/nixpkgs/trunk/; revision=7577
2007-01-08 22:49:26 +00:00
Eelco Dolstra e726057b32 * Function `findSingle' for looking up values in dictionary-like
lists.

svn path=/nixpkgs/trunk/; revision=7446
2006-12-21 00:09:40 +00:00
Eelco Dolstra e7194e0ed5 * Library functions: filter, eqLists (equality on lists; the `=='
operator is mostly broken, see NIX-62).

svn path=/nixpkgs/trunk/; revision=7151
2006-11-27 16:58:08 +00:00
Eelco Dolstra 368c196a62 * More descriptions.
svn path=/nixpkgs/trunk/; revision=6709
2006-10-12 10:53:16 +00:00
Eelco Dolstra b8cdbb94f8 * Put utility functions like fold in lib/default.nix.
svn path=/nixpkgs/trunk/; revision=6605
2006-09-25 10:07:59 +00:00