* maintainers/scripts/gnu/gnupdate (pipe-failed?): New procedure.
(nix-prefetch-url): Use it.
(gnupdate)[nixpkgs->snix]: New procedure.
Use it.
svn path=/nixpkgs/trunk/; revision=26160
This patch allows projects with per-version sub-directories to be
handled (e.g., MIT Scheme, MyServer, IceCat, etc.) It also makes sure
alpha releases are discarded (e.g., "gnupg-2.1.0beta3") as well as
unrelated files (e.g., "TeXmacs-600dpi-fonts.tar.gz").
* maintainers/scripts/gnu/gnupdate (ftp-list): Return a list of entries
where each entry indicates the file type in addition to the file name.
(releases): Adjust accordingly. Recurse into sub-directories and
return a list of name/directory pairs. Catch `ftp-error' instead
of everything.
[release-rx]: Adjust to work with TeXmacs.
[alpha-rx]: New variable.
[sans-extension]: New procedure.
(latest-release): Adjust accordingly.
(%package-name-rx): New variable.
(package/version): Use it.
(packages-to-update): Adjust accordingly. Use the directory returned
by `latest-release'.
[unpack]: New procedure.
(fetch-gnu): Add a `directory' parameter; use it.
svn path=/nixpkgs/trunk/; revision=26075
derivation evaluate inside the tryEval. This catches cases such as
aufs2-util, which fails due to an assertion in its dependency aufs2.
* Explicitly blacklist "xbursttools" because it gives some
evaluation error in cross-OpenSSL. No idea why, probably due to
some pass-through attribute.
svn path=/nixpkgs/trunk/; revision=23247
I tried to fix some trivial conflicts.
I don't know if I merged well some more difficult conflicts on openssl/darwin_patch
or haskell-platform.
svn path=/nixpkgs/branches/stdenv-updates/; revision=22878
* maintainers/scripts/gnu/gnupdate.scm (attribute-value,
derivation-source, derivation-output-path, source-output-path,
derivation-source-output-path, find-attribute-by-name,
find-package-by-attribute-name, stdenv-package, package-requisites):
New procedures.
(%options): Add `--select'.
(main): Compute the source output paths of `stdenv'. Filter out
packages that are/aren't in `stdenv', depending on the `--select'
option.
svn path=/nixpkgs/trunk/; revision=22453
* maintainers/scripts/gnu/gnupdate.scm (xml-element->snix): New
procedure.
(xml->snix): Rewrite to use a parser generated by `ssax:make-parser'.
(%options)[sxml]: Remove.
(main): Update accordingly.
svn path=/nixpkgs/trunk/; revision=21695
its dependencies. To make it works, you need to change the default
stdenv as documented in the error message.
./maintainers/scripts/dep-licenses.sh <attribute name>
svn path=/nixpkgs/trunk/; revision=18508
This script use your local Nix store to find occurences of similar libraries
name and generate a patchelf command based on the package name found inside
your Nix store.
svn path=/nixpkgs/trunk/; revision=17089
nixos.org/tarballs. It no longer greps the source for fetchurl
calls, because a lot of URLs are now computed
(e.g. "http://foo/${name}.tar.bz2"). So instead we evaluate the Nix
expression with "nix-instantiate --xml --strict" and look for URLs
in the result. Because I'm lazy the script no longer checks whether
the hash of the download matches the hash in the expression.
svn path=/nixpkgs/trunk/; revision=15310