Commit Graph

537 Commits

Author SHA1 Message Date
Frederik Rietdijk
54eeab4da0 Python: fix update script in case no PyPI releases are available for a given version 2017-07-03 20:18:47 +02:00
Frederik Rietdijk
f0002ea292 Python: improve update script
- remove dead code
- improve readability
- skip fetchFromGitHub (#26320)
2017-06-06 17:20:32 +02:00
Frederik Rietdijk
dce1c26e5d Python: fix update script
- use correct extension
- do not update expressions that have an url that does not contain pypi
- show warning in case request fails
2017-05-27 11:29:42 +02:00
Frederik Rietdijk
dcc6a69bae Merge pull request #25583 from FRidh/updatescript
Python: update script for packages
2017-05-27 08:37:31 +02:00
Frederik Rietdijk
fa8ee5d09b Python: update script for packages
This script determines whether there is an update available for the
package and if so, updates the version and sha256 attributes.

This only works for packages that have their own expression, and `pname`
and `sha256` attribute.
2017-05-27 08:34:38 +02:00
Vladimír Čunát
8004e79415
Merge branch 'master' into staging 2017-05-24 03:24:06 +02:00
Vladimír Čunát
304d30ce3f
all-tarballs: fixup evaluation (and the tarball job) 2017-04-14 10:31:31 +02:00
Tuomas Tynkkynen
7f8202bf83 Fix tarball evaluation
http://hydra.nixos.org/build/51460386

This seems the path of least resistance. Adding "x86_64-darwin" to
supportedSystems causes other errors.
2017-04-11 13:45:29 +03:00
Robin Gloster
80c916b6ce
docs: 16.09 -> 17.03 2017-03-30 17:36:44 +02:00
Shane Pearlman
a31041a1b9 nix-diff.sh maintainer script: update usage message for new flags 2017-03-19 16:34:06 -07:00
Daiderd Jordan
55599d91d0 Merge pull request #23414 from shanemikel/nix-helper-scripts
add a script that "diffs" nix environment generations
2017-03-20 00:14:52 +01:00
Shane Pearlman
d9f46aa58a nix-diff.sh maintainer script: "diffs" Nix environment generations
This script was inspired by Guix.  Read the source for documentation, or
invoke it with `nix-diff.sh -h` for a usage summary.
2017-03-19 15:51:06 -07:00
Domen Kožar
25d3a0b6b6 Merge pull request #23758 from butterflya/patch-5
hydra-eval-failures.py: Remove Python 2 specific syntax
2017-03-11 19:47:33 +01:00
Domen Kožar
bd4285a4cb
Remove Dockerfile
One can generate a new layer with nix-channel --update
from https://hub.docker.com/r/nixos/nix/

This file wasn't maintained.
2017-03-11 19:41:18 +01:00
butterflya
55e477c1f1 Remove Python 2 specific syntax 2017-03-11 17:42:20 +01:00
butterflya
318189f26f Cleanup gnome.sh
No functional changes
2017-03-11 15:50:06 +01:00
Robin Gloster
c5367a4409
maintainers/hydra-eval-failures: flush stdout more often 2017-03-02 11:46:17 +01:00
Domen Kožar
4c22b9529b
Add a script to get failures for hydra eval /cc @globin 2017-01-28 22:29:15 +01:00
Rok Garbas
56cb5b7609 update.nix moved to maintainers/scripts/update.nix 2016-12-18 16:45:33 +01:00
Domen Kožar
63d930878b travis: also evaluate nixpkgs-unstable 2016-12-15 22:43:14 +01:00
Michael Raskin
5383041ab7 vanity.sh: tolerate the fact that github login adder is too long 2016-09-26 19:24:22 +02:00
Hoang Xuan Phu
05a71f0910 fetch-kde-qt.sh: add bash safety flags 2016-09-18 21:16:07 +08:00
Thomas Tuegel
f4bb247bd6
fetch-kde-qt.sh: modularize script allowing multiple versions 2016-08-25 10:07:03 -05:00
Thomas Tuegel
c97c2bca34 kde5.applications: 16.04.3 -> 16.08.0 2016-08-18 21:02:28 -05:00
Matthew Justin Bauer
7b2bd9fbfe travis: build stdenv also 2016-08-13 15:34:57 -05:00
Domen Kožar
49222660fc Merge pull request #17256 from matthewbauer/patch-4
Travis fixes
2016-08-13 14:17:59 +02:00
Thomas Tuegel
4ee36f3112 kde5.plasma: 5.7.2 -> 5.7.3 2016-08-04 09:07:08 -05:00
Tuomas Tynkkynen
d84cec1056 travis-nox-review-pr.sh: Fix nixpkgs manual build
The current command is actually building the 'manpages' package, not the
nixpkgs manual.
2016-08-02 22:44:46 +03:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Matthew Justin Bauer
a30a34b6f3 nox: add git as build input
also: add nox as separate target to make build log more quiet
2016-07-29 20:54:02 -05:00
Thomas Tuegel
839a543d41 qt57: init at 5.7.0 2016-07-29 17:46:13 -05:00
Thomas Tuegel
06536879e7 kde5.plasma: 5.7.1 -> 5.7.2 2016-07-29 13:52:17 -05:00
Robert Helgesson
7f681d215b nix-generate-from-cpan: clean up build inputs
In particular remove those build inputs that are already mentioned among
the propagated build inputs. Fixes #10373.
2016-07-22 23:06:30 +02:00
Matthew Justin Bauer
e18a91c47c travis: just use "unstable" channel for nix-shell 2016-07-18 23:00:22 -05:00
Rok Garbas
cde541236a Merge pull request #16563 from matthewbauer/travis-new
travis: split build into matrix of 3
2016-07-15 17:47:45 +02:00
Thomas Tuegel
5630ac1d92 generate-kde-frameworks.sh: fix helper script path
- Fix a bug in the script which prevented it from finding its helper script.
- Automatically redirect the output of the script to make it even easier
  to use.
2016-07-13 13:54:59 -05:00
Thomas Tuegel
422ee37e52 kde5.applications: 16.04.2 -> 16.04.3
- Update from Applications 16.04.2 to 16.04.3.
- Remove the version number from the directory storing the Applications
  Nix expressions. It is not necessary to version the Nix expressions
  now that we keep only one version in Nixpkgs.
- Fix a bug in generate-kde-applications.sh which prevented it from
  finding its helper script.
- Automatically redirect the output of generate-kde-applications.sh to
  make the update script even easier to use.
2016-07-13 13:54:52 -05:00
Thomas Tuegel
c8885106c1 kde5.plasma: 5.7.0 -> 5.7.1
- Update from Plasma 5.7.0 to 5.7.1.
- Remove the version number from the directory storing the Plasma Nix
  expressions. It is not necessary to version the Nix expressions now
  that we keep only one version in Nixpkgs.
- Fix a bug in generate-kde-plasma.sh which prevented it from finding
  its helper script.
- Automatically redirect the output of generate-kde-plasma.sh to make
  the update script even easier to use.
2016-07-13 13:54:42 -05:00
Matthew Bauer
7c37ac0edd travis: run nixpkgs-lint in build script
This will run nixpkgs-lint for each travis build. We'll disable
"nixpkgs-lint" for now, it was a little too verbose:

https://travis-ci.org/NixOS/nixpkgs/jobs/144290920
2016-07-12 21:34:58 +00:00
Matthew Bauer
5282a336a4 travis: build manuals to verify that they work
fixes #15109
2016-07-12 21:34:58 +00:00
Matthew Bauer
2892bbd07a travis: support nox 0.0.4 arguments
This adds the "slug" arguments and also the "token" argument. The slug
argument provides the "owner_name/repo_name" format base repo to use for
the pull request. The token argument provides the GitHub presonal access
token to use for the requests to the GitHub API.
2016-07-12 21:34:58 +00:00
Matthew Bauer
95b28da353 travis: use community supported language
Switch to the "community supported" Nix version of Travis.
2016-07-12 21:34:58 +00:00
Matthew Bauer
f76e5ab0cf travis: split build into matrix of 3
This adds a 3rd matrix to be built by Travis. The new matrix "checks"
the NixPkgs evaluation so the other 2 can save their resources for
building. Hopefully, this will lead to less "out of space" errors that
seem to be happening with Travis. Also adds folding.
2016-07-12 21:34:58 +00:00
Jos van den Oever
b42ff8182a kde frameworks: 5.22 -> 5.24 2016-07-12 17:59:48 +02:00
Jos van den Oever
fd0373c589 kde plasma: 5.6.5 -> 5.7.0 2016-07-12 17:59:42 +02:00
Thomas Tuegel
592dcbc4bf Fix evaluation error in Qt/KDE packages
For now, the source hashes will continue to be stored in the Nixpkgs
tree. The package update instructions are updated.
2016-06-17 09:47:16 -05:00
Domen Kožar
5b7c6a11b5 travis-ci: remount only on linux 2016-06-16 11:18:45 +01:00
Domen Kožar
8ad607040e travis-ci: attempt to fix linux builds 2016-06-06 13:34:52 +01:00
Domen Kožar
473782b514 travis-ci: use --show-trace 2016-06-01 18:57:22 +01:00
Domen Kožar
926c9293cb travis-ci: don't check NixOS options on darwin 2016-05-31 18:58:59 +01:00
Domen Kožar
d47dca41ce try using nox from nixpkgs (#15857)
* try using nox from nixpkgs

* release.nix: block on nox since otherwise travis-ci will fail hard
2016-05-31 12:59:24 +01:00
Marc Scholten
36cc45782b Enabled osx on travis (#15855) 2016-05-31 11:34:59 +01:00
Robert Helgesson
7ca412a2fa nix-generate-from-cpan: fix core module detection
This makes the detection of core modules a bit more robust by checking
the module inclusion in a pure Perl interpreter. This ensures that any
extra path in the `nix-generate-from-cpan` script's `PERL5LIB` does not
affect the generated package expression.
2016-05-18 20:39:44 +02:00
Joachim Fasting
27149b201a
travis: refine NixOS options check
Looks like --show-trace wasn't as useful as I'd hoped.  Also, because checking
nixos options is cheaper than checking the tarball, it makes sense to check the
options first to fail faster.
2016-05-15 11:55:17 +02:00
Eelco Dolstra
4f4ba0d3f4 copy-tarballs.pl: Add --exclude flag 2016-05-09 19:35:01 +02:00
Joachim Fasting
5b7a1b97d2
travis: also check NixOS options
This will at least catch simple errors in default values and is fairly
cheap, in terms of resource and time consumption, and adds very little
additional output unless there's a failure.
2016-05-07 21:30:13 +02:00
Eelco Dolstra
a133a74c89 Remove cruft 2016-04-26 17:31:54 +02:00
Eelco Dolstra
35bd7708d5 copy-tarballs.pl: Use substituters to obtain tarballs 2016-04-18 15:18:25 +02:00
Eelco Dolstra
f1f79505fc find-tarballs.nix: Handle stdenv bootstrap fetchurl 2016-04-08 14:00:47 +02:00
Eelco Dolstra
e2ad72342e nix-generate-from-cpan: Skip "if" package since it's part of Perl now 2016-03-03 12:43:11 +01:00
Eelco Dolstra
50b950fe8d nix-generate-from-cpan: Don't quote names that don't need it 2016-03-03 12:43:11 +01:00
Eelco Dolstra
50e1e69c0a Remove unmaintained gnupdate script 2016-03-02 17:14:49 +01:00
Domen Kožar
fe09260465 travis-ci: fix /etc/nix/nix.conf population 2016-02-28 19:18:07 +00:00
Domen Kožar
3069cab2e7 travis-ci: stop abusing hydra now that it pushes directly to cache 2016-02-28 08:25:08 +00:00
zimbatm
3110d60cf6 Merge pull request #10768 from rycee/refactor/nix-generate-from-cpan
nix-generate-from-cpan: large refactor
2016-02-26 00:40:15 +00:00
Domen Kožar
05730a9bf8 travis-ci: enable tarball job again (now we have more memory) 2016-02-25 15:59:43 +00:00
Vladimír Čunát
e053971d81 tarball: fix the job
Find-tarballs was failing on some `requireFile` that was fixed-output
but didn't specify `outputHashMode`. Apparently, nix is fine with that
and uses the "flat" default, although that's undocumented.
2016-02-25 08:29:57 +01:00
Michael Raskin
3845649b89 vanity counter: update Github name search 2016-02-24 10:37:34 +01:00
Michael Raskin
b4eebd86c1 Be less location-dependent 2016-02-20 16:12:50 +01:00
Robert Helgesson
c90c30dd1e nix-generate-from-cpan: large refactor
This commit includes a substantial refactoring of
`nix-generate-from-cpan`. This somewhat simplifies the code through the
use of the CPAN::Meta module while adding the following features:

 - The program now takes an optional maintainer on the command line that
   is subsequently added into the generated package.

 - An attempt is made to convert the license specified inside the
   META.json or META.yaml file to a license in `stdenv.lib.licenses`.

 - An attempt is made to disambiguate attribute names of packages whose
   name is a reserved word in Nix.

 - Write logging output using Log::Log4perl.

 - Print module RSS feed URL. The RSS feed, hosted by MetaCPAN, can be
   used to track updates to the module.
2016-01-23 18:54:05 +01:00
Eelco Dolstra
5eb2804cdb copy-tarballs.pl: Create redirects before uploading file
This makes the script more robust to interruption.
2015-12-16 15:39:08 +01:00
Eelco Dolstra
d5371eb029 copy-tarballs: Cache S3 lookups 2015-12-16 15:39:02 +01:00
Eelco Dolstra
7cd3d502bb copy-tarballs.pl: Revive extracting all tarballs from release.nix 2015-12-16 15:38:59 +01:00
Eelco Dolstra
493f633002 Die tabs die 2015-12-16 15:38:55 +01:00
Eelco Dolstra
a6ca6bbed9 copy-tarballs.pl: Fix --expr 2015-12-15 10:47:46 +00:00
Eelco Dolstra
903803a1f3 Allow uploading multiple files 2015-12-15 10:11:55 +00:00
Eelco Dolstra
8f5856ce63 copy-tarballs.pl: Remove redundant check 2015-12-10 17:26:05 +01:00
Eelco Dolstra
567e002545 copy-tarballs: Use an S3 bucket for tarballs.nixos.org
Tarballs.nixos.org is now stored in an S3 bucket rather than an EBS
volume. Redirects are used to simulate symlinks.

The function find-tarballs.nix now filters out fetchzip, fetchpatch
and the like.
2015-12-10 16:07:07 +01:00
Michael Raskin
30bf5a01ad Fix maintainer list format and improve vanity.sh reliability 2015-12-08 19:12:26 +01:00
William A. Kennington III
dd2de66d61 Merge branch 'master.upstream' into staging.upstream 2015-10-30 17:16:07 -07:00
Arseniy Seroka
61910861dc fix spelling 2015-10-25 04:26:49 +03:00
Luca Bruno
697d61ceab maint script gnome.sh: update all packages 2015-09-25 10:48:39 +02:00
Luca Bruno
67d2344120 gnome-shell: use src.nix 2015-09-17 17:02:55 +02:00
Luca Bruno
dbdb732849 maint script gnome-latest.sh: rename to gnome.sh, update src.nix 2015-09-17 17:02:55 +02:00
Luca Bruno
39965bba04 maint script gnome-latest.sh: support point versions, handle 404 errors 2015-09-17 17:02:55 +02:00
Luca Bruno
08bd889058 maint script gnome-latest.sh: don't write sha to a file 2015-09-17 15:21:14 +02:00
Domen Kožar
4eeb4c88aa Merge pull request #8436 from dezgeg/pr-travis-oom
travis-nox-review-pr: Try to detect if the build ran out of memory
2015-06-21 09:26:25 +02:00
Tuomas Tynkkynen
d78d168096 travis-nox-review-pr: Try to detect if the build ran out of memory
Travis builds sometimes fail because Travis doesn't have much memory.
When it happens, the failure reason is often hard to see in the logs and
is confusing (especially for new contributors).

Try to detect OOM errors in dmesg and give a warning when it happens.
2015-06-20 23:31:17 +03:00
Luca Bruno
84327822e1 gnome-latest.sh: use bash, it doesn't work with sh 2015-06-11 12:27:50 +02:00
Florian Friesdorf
88e58a4fa2 cygwin: stdenv 2015-05-28 10:53:34 +02:00
Georges Dubus
4d6ba289db Travis: disable tarball creating check, because travis can't handle it 2015-03-04 15:28:09 +01:00
Benjamin Staffin
92aef0621f update-channel-branches: fix to work with posix /bin/sh
Should now work equally well with bash (as on NixOS) and dash (on
various other distributions).

The only truly required change was on line 10: "function" is a
superfluous keyword that's not present in posix sh.

Change-Id: If917499b2e24c0d039e8c61208227b90c9fc5c0d
2015-02-17 17:21:55 -08:00
Peter Simons
ec6b82a0c2 Merge branch 'master' into staging. 2015-01-19 18:41:17 +01:00
Michael Raskin
ad7ced806f Update vanity to add more special characters. 2015-01-18 18:20:08 +03:00
Eric Seidel
b070eacfcd rename occurrences of cc.gcc to cc.cc 2015-01-14 20:51:58 -08:00
Georges Dubus
c7df7f6361 Travis: check tarball creation even for pull requests
This will help us catch PR that break the tarball creation, for example
by breaking evaluation on other platforms.
2015-01-04 14:02:07 +01:00
John Wiegley
28b6fb61e6 Change occurrences of gcc to the more general cc
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Nicolas B. Pierron
9334085e80 update-channel-branches.sh: Add verbosity to improve the user experience, and update NixOS documentation. 2014-12-18 22:25:21 +01:00
Nicolas Pierron
d7edec4888 Add other source of channels, and distinguish between local and remote channels. 2014-12-18 01:24:40 +00:00
Nicolas Pierron
f0c21ab3f7 Add a script to add git branches for each channel. 2014-12-17 00:44:58 +00:00
Domen Kožar
48a282b913 http://nixos.org -> https://nixos.org
(cherry picked from commit 78bb17dd22e4da4e3810fbc78185d73bb25ea73e)
Signed-off-by: Domen Kožar <domen@dev.si>
2014-12-14 11:26:45 +01:00
Eelco Dolstra
97a2de297e Fix various Perl packages
Perl 5.20 removed some modules, in particular Module::Pluggable. So
now other modules need to get it from CPAN.

http://hydra.nixos.org/build/17450281
2014-11-25 00:29:48 +01:00
Aristid Breitkreuz
f10647f1c3 move dockerfile to subdirectory 2014-11-08 23:47:10 +01:00
Michael Raskin
bbd9f55947 Improve escaping (process backtick) and remove trailing spaces 2014-11-04 13:00:25 +03:00
Georges Dubus
d7af81d2dc Make travis use "nox-review pr"
This should put an end to all the false rebuilds reported by travis.
2014-10-31 14:49:51 +01:00
wmertens
e20e0470bf travis build: oops
Evaluation is too long - shouldn't have removed /dev/nulling

I wish I had a travis test environment :sad:
2014-10-15 18:50:28 +02:00
wmertens
b084b39375 travis build: Revert silly idea
nox-review should review against master, it's travis that should check out a hydra-available master commit to set the PR on. Perhaps we could rebase the current HEAD on the hydra-built commitish instead?
2014-10-15 18:45:13 +02:00
wmertens
5e6b6df33e Travis build: source environment before build
💩
2014-10-15 11:52:23 +02:00
Wout Mertens
3de73cb77d Travis: Make it work with non-PR 2014-10-15 11:23:34 +02:00
Wout Mertens
0083284ad8 Travis: chop build in install and build phases
This allows us to see how long install takes.
Also, build from hydra binaries as much as possible.
2014-10-15 11:05:12 +02:00
wmertens
e6d15e9d28 travis build: Silence git
Last one I promise 😁
2014-10-14 15:00:56 +02:00
wmertens
e3563e6c23 travis build: More silence 2014-10-14 14:54:14 +02:00
wmertens
9fc5cc6576 travis build: Make curl silent (but report errors) 2014-10-14 14:31:43 +02:00
Michael Raskin
3d75833956 Update vanity counter. Now with GitHub username support 2014-10-12 23:05:27 +04:00
Michael Raskin
6465d684b8 Improve name quoting to correctly handle underscore 2014-10-12 23:05:27 +04:00
Georges Dubus
4d246d00e5 Made the travis build check the metadata 2014-10-07 15:59:37 +02:00
Michael Raskin
81b766bd95 Fix local filename in vanity counter 2014-10-07 16:25:33 +04:00
Aristid Breitkreuz
f7e83a32ad make vanity script less spammy 2014-10-05 16:16:56 +02:00
Michael Raskin
ca626ea96d A small vanity counter for finding top-grossing committers 2014-09-30 23:11:19 +04:00
Georges Dubus
af2199e9ad Fixes to the travis script
- Build 4 jobs at a time (might help with the timeout)
- Be quiet with pip (should make the output more readable)
2014-09-23 14:31:01 +02:00
Domen Kožar
363aef7fd0 travis-nox-review: build tarball job as evaluation test 2014-09-23 14:23:01 +02:00
Georges Dubus
5ab79f6090 Review PR in travis with nox-review 2014-09-21 21:17:56 +02:00
Eelco Dolstra
6479d6fea4 Remove broken script 2014-07-30 10:23:05 +02:00
Eelco Dolstra
b6569c8497 copy-tarballs.pl: Create base-32 symlinks 2014-05-22 12:11:53 +02:00
Eelco Dolstra
4de6357776 Remove mysterious line 2014-05-01 10:43:07 +02:00
Eelco Dolstra
bdb658d033 nixpkgs-lint: Tweak 2014-03-31 19:49:01 +02:00
Eelco Dolstra
7a51e17775 Fix updating of the tarball mirror 2014-02-19 13:58:42 +01:00
Eelco Dolstra
3293421dd3 Fix references to pkgs/lib 2013-10-10 13:28:22 +02:00
Eelco Dolstra
2a5098384e Make eval-release.nix less picky
It now only checks that each derivation's drvPath attribute evaluates.
Previously it checked everything (via toXML) but that causes
derivations with dubious passthru attribute to fail (see commit
70fee5da11).
2013-10-06 00:21:28 +02:00
Eelco Dolstra
1ca98d7c09 Move some old docs 2013-10-01 10:53:21 +02:00
Eelco Dolstra
34ea77c220 Remove obsolete doc file 2013-10-01 10:53:21 +02:00
Bjørn Forsman
decad1fc7d nixpkgs-lint: add check for meta.platforms attribute 2013-09-07 20:43:07 +02:00
Ivan Kozik
1866619acc Fix a few typos 2013-08-11 10:55:53 +00:00
Eelco Dolstra
f3a17b04e6 nixpkgs-lint: Warn against capitalised package names and missing versions 2013-07-30 16:52:12 +02:00
Eelco Dolstra
7c38b9d3bc nixpkgs-lint: Fix priority check 2013-07-30 16:52:11 +02:00
Eelco Dolstra
74c52ac8ad nixpkgs-lint: Add support for filtering by maintainer
For instance, you can now say "nixpkgs-lint -m alice" to show only
packages maintained by Alice.

Also added command-line parsing.
2013-07-30 12:05:36 +02:00
Eelco Dolstra
6b495e9251 Add nixpkgs-lint
This is a simple tool to scan Nixpkgs for violations of the packaging
guidelines, such as multiple packages with the same name, packages
that lack a description or license, and so on.

To use:

$ nix-env -i nixpkgs-lint
$ cd .../nixpkgs
$ nixpkgs-lint

Current statistics:

Number of packages: 8666
Number of missing maintainers: 3711
Number of missing licenses: 6159
Number of missing descriptions: 1337
Number of bad descriptions: 633
Number of name collisions: 277
2013-07-25 23:52:36 +02:00
Eelco Dolstra
01294254a0 nix-generate-from-cpan: Handle META.json
Fixes #761.
2013-07-16 13:45:24 +02:00
Eelco Dolstra
15c1ca9d21 nix-generate-from-cpan: Hack to handle non-UTF-8 META.yml files 2013-06-16 18:34:32 +02:00
Eelco Dolstra
629daa2102 Rewrite the CPAN generator to Perl
Also:

- It's now installable by doing "nix-env -i nix-generate-from-cpan".

- It maps dependencies to the correct attribute (e.g. HTML::HeadParser
  is mapped to HTMLParser).

- It automatically selects buildPerlPackage or buildPerlModule.

- It's documented in the manual.
2013-06-13 15:56:23 +02:00
Eelco Dolstra
fca2f04bb1 Make the location of the tarballs cache configurable 2013-06-04 12:45:12 +02:00
Shea Levy
f3f3a728f6 generate-cpan-package: Don't hard-code Eelco's environment
Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-27 16:35:42 -04:00
Eelco Dolstra
f135b6e530 Fix comment 2013-03-26 12:09:02 +01:00
Eelco Dolstra
993fc7206d eval-release.nix: Handle the new job structure
Now that we don't need to pass "system" arguments anymore, this thing
is *almost* obsolete.  (Except for the need to handle assertion
failures, you could just do "nix-instantiate --eval-only ..." on
release.nix.)
2013-03-26 11:59:00 +01:00
Eelco Dolstra
427b8cacf3 Add very hacky script to generate Perl packages
Given the name of Perl module, this script will download the package
containing the module from CPAN, determine its dependencies, and print
a Nix expression suitable for inclusion in perl-packages.nix on
stdout.

Example:

$ ./maintainers/scripts/generate-cpan-package DBIx::Class
  DBIxClass = buildPerlPackage {
    name = "DBIx-Class-0.08205";
    src = fetchurl {
      url = mirror://cpan/authors/id/F/FR/FREW/DBIx-Class-0.08205.tar.gz;
      sha256 = "16iyrfvwf4y94wxpwlla131grdf10z4xx9q9s6jsi39ycaxdaj6l";
    };
    buildInputs = [ DBDSQLite PackageStash TestException TestWarn ];
    propagatedBuildInputs = [ ClassAccessorGrouped ClassC3Componentised ClassInspector ConfigAny ContextPreserve DataCompare DataDumperConcise DataPage DBI DevelGlobalDestruction HashMerge ModuleFind Moo MROCompat namespaceclean PathClass ScopeGuard SQLAbstract SubName TryTiny ];
    meta = {
      homepage = http://www.dbix-class.org/;
      description = "Extensible and flexible object <-> relational mapper.";
      license = "perl";
    };
  };
2013-01-28 12:11:32 +01:00
Eelco Dolstra
f615e304bb Handle more bad characters 2013-01-15 18:15:33 +01:00
Eelco Dolstra
eeda226b02 Merge branch 'master' into systemd 2013-01-15 12:11:07 +01:00
Eelco Dolstra
ee19b41203 Update the tarball mirroring scripts 2013-01-15 11:18:42 +01:00
Eelco Dolstra
0731cd042c eval-release.nix: Handle exceptions properly 2013-01-14 23:28:58 +01:00
Eelco Dolstra
72684fb42f Remove support for the obsolete powerpc-darwin and i686-darwin platforms 2012-11-29 14:10:49 +01:00
Eelco Dolstra
6552ea2ddb svn path=/nixpkgs/trunk/; revision=32961 2012-03-09 17:53:04 +00:00
Eelco Dolstra
a736ed4e66 * Split off copy-tarball.sh from copy-tarballs.sh. The former mirrors a single URL.
svn path=/nixpkgs/trunk/; revision=32960
2012-03-09 17:29:17 +00:00
Yury G. Kudryashov
a41d989a1e svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=32093
2012-02-06 23:08:11 +00:00
Yury G. Kudryashov
5b132f6e96 svn merge ^/nixpkgs/trunk
Conflicts: cups, all-packages.nix (gcc45_debug)

svn path=/nixpkgs/branches/stdenv-updates/; revision=31863
2012-01-26 15:27:03 +00:00
Yury G. Kudryashov
954c8cdac1 test-eval-release: handle ENV{VERBOSE}.
See test-eval-release.sh for details.

svn path=/nixpkgs/trunk/; revision=31824
2012-01-24 19:10:54 +00:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Yury G. Kudryashov
0c79434ccb svn merge ^/nixpkgs/trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=31567
2012-01-14 21:34:37 +00:00
Eelco Dolstra
d62848cd2c * eval-release.nix: force nix-instantiate to include nested attribute
sets.

svn path=/nixpkgs/trunk/; revision=31500
2012-01-12 16:59:58 +00:00
Yury G. Kudryashov
9ee0a9df9b svn merge ^/nixpkgs/trunk
A few trivial conflicts

svn path=/nixpkgs/branches/stdenv-updates/; revision=31434
2012-01-08 16:01:12 +00:00
Yury G. Kudryashov
ac911fce68 Fix XaraLX, add debian-patches.sh
svn path=/nixpkgs/trunk/; revision=31358
2012-01-06 18:13:11 +00:00
Yury G. Kudryashov
900c6e18cd svn merge ^/nixpkgs/trunk
Conflicts: openssl, libplist

svn path=/nixpkgs/branches/stdenv-updates/; revision=31337
2012-01-06 01:07:45 +00:00
Yury G. Kudryashov
27e639b5b2 gnome-latest.sh: don't use fetchurl_gnome
Output both name and src instead of using fetchurl_gnome

svn path=/nixpkgs/trunk/; revision=31332
2012-01-06 00:54:52 +00:00
Yury G. Kudryashov
b077940b3b svn merge https://nixos.org/repos/nix/nixpkgs/trunk
No conflicts

svn path=/nixpkgs/branches/stdenv-updates/; revision=30916
2011-12-15 19:16:38 +00:00
Ludovic Courtès
de2e9e6ab0 gnupdate: Really select `stdenv' packages when asked for it.
* maintainers/scripts/gnu/gnupdate (gnupdate)[selected-gnu-packages]:
  Really limit to `stdenv' when ask for it.

svn path=/nixpkgs/trunk/; revision=30869
2011-12-13 16:11:02 +00:00
Eelco Dolstra
eda3fd1730 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30852
2011-12-12 16:54:35 +00:00
Ludovic Courtès
fa135fc655 gnupdate: Remove quirks for GNUnet.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]:
  Remove GNUnet.
  (nixpkgs->gnu-name)[quirks]: Likewise.

svn path=/nixpkgs/trunk/; revision=30724
2011-12-04 13:48:57 +00:00
Ludovic Courtès
dee4d2f6af gnupdate: Support signatures with expired keys.
* maintainers/scripts/gnu/gnupdate (gnupg-verify)[expkeysig-rx]: New
  variable.  Recognize signatures with expired keys.
  (gnupg-status-good-signature?): Recognize `expired-key-signature' as good.

svn path=/nixpkgs/trunk/; revision=30667
2011-12-01 22:44:04 +00:00
Peter Simons
69488d688d synchronize with trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=30186
2011-11-02 10:28:32 +00:00
Ludovic Courtès
3419ae4fdd gnupdate: Handle GnuPG-related packages.
* maintainers/scripts/gnu/gnupdate (gnu?): Check `gnupg.org'.
  (ftp-server/directory)[quirks]: Add libassuan.

svn path=/nixpkgs/trunk/; revision=30176
2011-11-01 22:38:09 +00:00
Ludovic Courtès
573c9178b5 gnupdate: Make `nix-prefetch-url' memoizing.
* maintainers/scripts/gnu/gnupdate (memoize): New procedure.
  (nix-prefetch-url): Use it.

svn path=/nixpkgs/trunk/; revision=30109
2011-10-30 00:00:20 +00:00
Ludovic Courtès
354b1a12c1 gnupdate: Fix auto-downloading of GPG keys.
* maintainers/scripts/gnu/gnupdate (gnupg-verify): Always return STATUS.

svn path=/nixpkgs/trunk/; revision=30108
2011-10-30 00:00:16 +00:00
Ludovic Courtès
2492fba29f gnupdate: Add `--attribute' option.
* maintainers/scripts/gnu/gnupdate (open-nixpkgs): Add optional
  ATTRIBUTE parameter; honor it.
  (%options)["-A"]: New option.
  (gnupdate)[nixpkgs->snix]: Add ATTRIBUTE parameter and pass it down to
  `open-nixpkgs'.
  [selected-gnu-packages]: New procedure.
  Adjust callers accordingly.

svn path=/nixpkgs/trunk/; revision=30107
2011-10-30 00:00:11 +00:00
Eelco Dolstra
3cb8791cf9 * Backport the GCC xlibs dependency fix.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30061
2011-10-27 16:50:00 +00:00
Yury G. Kudryashov
03e747c41a Add a script to generate fetchurl_gnome args
svn path=/nixpkgs/trunk/; revision=29397
2011-09-20 16:18:04 +00:00
Ludovic Courtès
8a904741f8 gnupdate: Support `meta.homepage' as a string list.
* maintainers/scripts/gnu/gnupdate (gnu?): Improve type-checking of
  `meta.homepage'; support string lists.

svn path=/nixpkgs/trunk/; revision=29315
2011-09-17 10:09:26 +00:00
Ludovic Courtès
7f6a997831 gnupdate: Exclude IceCat 3.x variants.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Augment.

svn path=/nixpkgs/trunk/; revision=29015
2011-09-04 23:06:11 +00:00
Ludovic Courtès
8e29f04bd4 gnupdate: Automatically download missing OpenPGP keys.
* maintainers/scripts/gnu/gnupdate (%gpg-command, %openpgp-key-server):
  New variables.
  (gnupg-verify, gnupg-status-good-signature?,
  gnupg-status-missing-key?, gnupg-receive-keys, gnupg-verify*): New
  procedures.
  (fetch-gnu): Use `gnupg-verify*'.

svn path=/nixpkgs/trunk/; revision=29014
2011-09-04 23:06:07 +00:00
Ludovic Courtès
5545472461 gnupdate: Update the list of ignored packages.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Update.

svn path=/nixpkgs/trunk/; revision=28756
2011-08-22 17:38:57 +00:00
Ludovic Courtès
2943c2eb78 GNU GRUB 1.99.
svn path=/nixpkgs/trunk/; revision=27440
2011-06-13 20:52:32 +00:00
Ludovic Courtès
87a9719a36 gnupdate: Ignore GCC-related attributes.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes): Add
  GCC 4.6 and gfortran/gcj attributes.

svn path=/nixpkgs/trunk/; revision=26796
2011-04-12 08:05:41 +00:00
Ludovic Courtès
91e63f9cae gnupdate: Handle `repeated' nodes referring to a drv not encountered yet.
* maintainers/scripts/gnu/gnupdate (xml-element->snix): Return an
  `unresolved' node when the repeated derivation hasn't been encountered
  yet.
  (resolve): New procedure.
  (xml->snix): Use it.

svn path=/nixpkgs/trunk/; revision=26790
2011-04-12 08:05:20 +00:00
Ludovic Courtès
cea90f43e4 gnupdate: Use (ice-9 format).
* maintainers/scripts/gnu/gnupdate: Use (ice-9 format).

svn path=/nixpkgs/trunk/; revision=26789
2011-04-12 08:05:16 +00:00
Ludovic Courtès
e0fa94d81f Remove obsolete version of `gnupdate'.
svn path=/nixpkgs/trunk/; revision=26483
2011-03-23 21:56:12 +00:00
Ludovic Courtès
f8b9855727 gnupdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes): Add
  `gcc45_real' and `gcc45_realCross'.
  (ftp-server/directory)[quirks]: Add `ucommon'.

svn path=/nixpkgs/trunk/; revision=26261
2011-03-10 16:27:43 +00:00
Ludovic Courtès
cc02933305 gnupdate: Improve error handling for pipes.
* 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
2011-03-04 13:18:56 +00:00
Ludovic Courtès
918a142f2a gnupdate: Update the list of ignored attributes.
* maintainers/scripts/gnu/gnupdate (%ignored-package-attributes):
  Update.

svn path=/nixpkgs/trunk/; revision=26077
2011-02-23 17:36:24 +00:00
Ludovic Courtès
b70494961b gnupdate: Display FTP exceptions more nicely.
* maintainers/scripts/gnu/gnupdate (releases): Display MESSAGE and ARGS
  with ~S.

svn path=/nixpkgs/trunk/; revision=26076
2011-02-23 17:36:21 +00:00
Ludovic Courtès
7a99d54ca7 gnupdate: Handle recursive FTP directory structures; handle funky file names.
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
2011-02-23 17:36:15 +00:00
Ludovic Courtès
ad32df1795 gnupdate: Add a quirk for Source-Highlight.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  "source-highlight".

svn path=/nixpkgs/trunk/; revision=26074
2011-02-23 17:36:11 +00:00
Ludovic Courtès
e86ac7fc39 gnupdate: Fix the MIT Scheme quirk.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Fix
  the mit-scheme quirk.

svn path=/nixpkgs/trunk/; revision=26073
2011-02-23 17:36:07 +00:00
Ludovic Courtès
542d7424f0 gnupdate: Remove compatibility hack.
svn path=/nixpkgs/trunk/; revision=26000
2011-02-16 22:49:57 +00:00
Ludovic Courtès
e201d01ed0 GNUpdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  "libzrtpcpp" and "libosip2".

svn path=/nixpkgs/trunk/; revision=25685
2011-01-24 22:29:29 +00:00
Lluís Batlle i Rossell
b48b2a7bb4 Merging from trunk. I solved some trivial merge conflicts.
svn path=/nixpkgs/branches/stdenv-updates/; revision=25188
2010-12-17 20:39:58 +00:00
Michael Raskin
ae0da179c7 Adding a script to use callPackage on a package not mentioned in the all-packages.nix
svn path=/nixpkgs/trunk/; revision=25138
2010-12-15 07:21:21 +00:00
Lluís Batlle i Rossell
6dc839d344 Merging from trunk. I resolved some conflicts; I hope that well.
svn path=/nixpkgs/branches/stdenv-updates/; revision=24429
2010-10-23 14:52:21 +00:00
Rob Vermaas
21de0b5f23 nixpkgs/maintainer/scripts: added hydra_eval_check script. need hydra_eval_jobs from hydra in PATH and should get absolute path to release.nix as argument
svn path=/nixpkgs/trunk/; revision=24396
2010-10-21 07:09:47 +00:00
Lluís Batlle i Rossell
cd4b54748a Updating from trunk
svn path=/nixpkgs/branches/stdenv-updates/; revision=24038
2010-10-03 09:25:34 +00:00
Ludovic Courtès
bfbe1fadbd gnupdate: Add quirks.
* maintainers/scripts/gnu/gnupdate (ftp-server/directory)[quirks]: Add
  `freefont-ttf' and `gnu-ghostscript'.

svn path=/nixpkgs/trunk/; revision=23876
2010-09-20 20:46:37 +00:00
Lluís Batlle i Rossell
2c5de61327 Updating from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23840
2010-09-17 19:10:21 +00:00
Ludovic Courtès
7ff37213b7 gnupdate: Update to new FFI.
* maintainers/scripts/gnu/gnupdate (pointer->procedure): New procedure.

svn path=/nixpkgs/trunk/; revision=23712
2010-09-10 11:50:06 +00:00
Ludovic Courtès
8f5831d26c gnupdate: Add quirk for GNU Make.
* maintainers/scripts/gnu/gnupdate (nixpkgs->gnu-name)[quirks]: Add
  `gnumake'.

svn path=/nixpkgs/branches/stdenv-updates/; revision=23276
2010-08-20 15:26:16 +00:00
Lluís Batlle i Rossell
f16353b6f2 Updated from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23275
2010-08-20 13:41:12 +00:00
Ludovic Courtès
a69596b951 gnupdate: Use the latest FFI.
* maintainers/scripts/gnu/gnupdate (version-string>?): Use the new
  `string->pointer', available in 1.9.12.

svn path=/nixpkgs/trunk/; revision=23253
2010-08-19 16:52:18 +00:00
Eelco Dolstra
7b9d03d596 * strictAttrs: return the original attribute set.
svn path=/nixpkgs/trunk/; revision=23252
2010-08-19 15:13:09 +00:00
Eelco Dolstra
1ac9dcd24d * Fix eval-release.nix by testing whether all attributes of a
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
2010-08-19 12:37:10 +00:00
Michael Raskin
ab8a599e8c Adding a script to use eval-release.nix for tests
svn path=/nixpkgs/trunk/; revision=23234
2010-08-18 16:37:46 +00:00
Lluís Batlle i Rossell
5417c720fd Merging from trunk.
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
2010-08-02 15:48:19 +00:00
Ludovic Courtès
227c0d768e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=22468
2010-07-04 21:11:31 +00:00
Ludovic Courtès
5808f1a0ca gnupdate: Remove obsolete workaround.
* maintainers/scripts/gnu/gnupdate: Remove `(sxml ssax) workaround for
  macro-generating macros.

svn path=/nixpkgs/trunk/; revision=22467
2010-07-04 21:11:27 +00:00
Ludovic Courtès
c83cb10f2b gnupdate: Turn into a module.
* maintainers/scripts/gnu/gnupdate.scm: Rename to...
* maintainers/scripts/gnu/gnupdate: ... this.  Use `define-module' and
  the orthodox way of doing things.
  (main): Rename to...
  (gnupdate): ... this.

svn path=/nixpkgs/trunk/; revision=22466
2010-07-04 21:11:19 +00:00
Ludovic Courtès
c05efc563c gnupdate: Add quirk for GRUB 2.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory): Add quirk
  for GRUB 2.

svn path=/nixpkgs/trunk/; revision=22455
2010-07-04 21:10:22 +00:00
Ludovic Courtès
f740342ade gnupdate: Remove unused variables.
* maintainers/scripts/gnu/gnupdate.scm (gnu?): Don't bind unused fields
  in `match'.
  (ftp-server/directory): Ditto.

svn path=/nixpkgs/trunk/; revision=22454
2010-07-04 21:10:17 +00:00
Ludovic Courtès
073c01503a gnupdate: Add --select', to select packages stdenv' depends on (or not).
* 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
2010-07-04 21:10:13 +00:00
Ludovic Courtès
65b175a2f1 gnupdate: Ignore the "gcc44" and "gcc45" attributes.
* maintainers/scripts/gnu/gnupdate.scm (%ignored-package-attributes):
  Add "gcc44" and "gcc45".

svn path=/nixpkgs/trunk/; revision=22452
2010-07-04 21:10:08 +00:00
Michael Raskin
14eea491b8 Adding Redstore HTTP RDF/SPARQL server
svn path=/nixpkgs/trunk/; revision=22428
2010-06-29 22:18:49 +00:00
Ludovic Courtès
0b33aa7abb GNUpdate: Update to the new module name.
svn path=/nixpkgs/trunk/; revision=22214
2010-06-10 21:52:23 +00:00
Michael Raskin
f92200b710 Starting documenting upstream-updater
svn path=/nixpkgs/trunk/; revision=22121
2010-06-03 11:31:53 +00:00
Ludovic Courtès
5f7d5aa2bf gnupdate: Remove unneeded file.
* maintainers/scripts/gnu/sxml-match.scm: Remove.

svn path=/nixpkgs/trunk/; revision=22075
2010-06-01 10:13:17 +00:00
Ludovic Courtès
3b9cee4638 gnupdate: Fix unbound-variable in `%ftp-login'.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): Bind `command' to
  the command.

svn path=/nixpkgs/trunk/; revision=21742
2010-05-12 12:22:40 +00:00
Ludovic Courtès
b43b098513 gnupdate: Re-fix thinko.
svn path=/nixpkgs/trunk/; revision=21717
2010-05-10 21:26:57 +00:00
Ludovic Courtès
5583d516d2 gnupdate: Add `--dry-run' option.
* maintainers/scripts/gnu/gnupdate.scm (%options): Add `dry-run'.
  (main): Handle `--dry-run'.

svn path=/nixpkgs/trunk/; revision=21716
2010-05-10 21:26:53 +00:00
Ludovic Courtès
5dd1036a04 gnupdate: Add optional directory argument to `ftp-list'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-list): Add optional
  DIRECTORY argument.
  (releases): Pass DIRECTORY to `ftp-list'.

svn path=/nixpkgs/trunk/; revision=21715
2010-05-10 21:26:48 +00:00
Ludovic Courtès
d8c33c1820 gnupdate: Handle FTP logins with password.
* maintainers/scripts/gnu/gnupdate.scm (%ftp-login): New procedure.
  (ftp-open): Use it.

svn path=/nixpkgs/trunk/; revision=21714
2010-05-10 21:26:43 +00:00
Ludovic Courtès
fd9d4a5747 gnupdate: Add quirk for MIT/GNU Scheme.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `mit-scheme'.
  (nixpkgs->gnu-name)[quirks]: Ditto.

svn path=/nixpkgs/trunk/; revision=21711
2010-05-10 14:30:55 +00:00
Ludovic Courtès
fbb4886d49 gnupdate: Fix typo in the GNU predicate.
* maintainers/scripts/gnu/gnupdate.scm (gnu?): Fix typo analyzing
  `meta.homepage'.

svn path=/nixpkgs/trunk/; revision=21706
2010-05-10 14:30:35 +00:00
Ludovic Courtès
e4fecd6b8e gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21703
2010-05-10 12:33:58 +00:00
Ludovic Courtès
7e4f5567d4 gnupdate: Add quirk for `commoncpp2'.
* maintainers/scripts/gnu/gnupdate.scm (ftp-server/directory)[quirks]:
  Add `commoncpp2'.

svn path=/nixpkgs/trunk/; revision=21700
2010-05-09 23:14:55 +00:00
Ludovic Courtès
11d4a76c27 gnupdate: Use SSAX instead of SXML to reduce the memory & CPU overhead.
* 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
2010-05-09 23:14:29 +00:00
Ludovic Courtès
f226c85249 gnupdate: Fix typo.
svn path=/nixpkgs/trunk/; revision=21049
2010-04-13 08:56:00 +00:00
Ludovic Courtès
d41df5eb06 Add GNU package update script.
svn path=/nixpkgs/trunk/; revision=21040
2010-04-12 23:02:36 +00:00
Eelco Dolstra
e7906f26af * Make copy-tarballs.sh work on release.nix.
svn path=/nixpkgs/trunk/; revision=19834
2010-02-05 14:14:43 +00:00
Nicolas Pierron
00efa9c2dd * Add a script to retrieve licenses of the current derivation and of all
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
2009-11-21 17:50:00 +00:00
Eelco Dolstra
063f44d23c * Move classification.txt to the manual.
svn path=/nixpkgs/trunk/; revision=18419
2009-11-18 13:54:20 +00:00
Nicolas Pierron
342de508d4 Add a script to check the number of packages to rebuild after a modification.
svn path=/nixpkgs/trunk/; revision=17731
2009-10-08 19:00:48 +00:00
Eelco Dolstra
bfb4a0ccc8 * Moved the coding conventions from maintainers/docs to the Nixpkgs
manual.
* Removed some out-dated files from maintainers/docs.

svn path=/nixpkgs/trunk/; revision=17419
2009-09-25 14:27:26 +00:00
Nicolas Pierron
96b1952439 Fix hard-coded value to access gcc libraries.
svn path=/nixpkgs/trunk/; revision=17093
2009-09-13 16:08:55 +00:00
Nicolas Pierron
e84c0eca1f Add a script which generates patchelf command for binary distribution.
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
2009-09-13 13:44:58 +00:00
Eelco Dolstra
ecd43e2bfe * Updated the script that copies tarballs used in Nixpkgs to
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
2009-04-25 18:34:11 +00:00
Eelco Dolstra
aa84bce64d * Get rid of all references to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=13299
2008-11-14 16:57:19 +00:00
Eelco Dolstra
167aa686ee * DBus 1.1.20.
svn path=/nixpkgs/trunk/; revision=10945
2008-03-04 13:30:34 +00:00
Eelco Dolstra
4385e2393b * Description of the current coding conventions in Nixpkgs / NixOS.
Comments welcome.

svn path=/nixpkgs/trunk/; revision=10392
2008-01-29 22:48:54 +00:00
Eelco Dolstra
ea9667ab18 * Fixed some more URLs.
svn path=/nixpkgs/trunk/; revision=9294
2007-09-11 11:15:37 +00:00
Eelco Dolstra
8b4a66c242 * When copying tarballs to nix.cs.uu.nl, don't rewrite the URLs in the
Nix expressions anymore.  The content-addressable mirror mechanism
  in fetchurl makes it unnecessary.

svn path=/nixpkgs/trunk/; revision=9289
2007-09-10 22:47:22 +00:00
Eelco Dolstra
ae5a6dce07 * Release notes.
svn path=/nixpkgs/trunk/; revision=8772
2007-05-24 18:03:04 +00:00
Eelco Dolstra
98be355b2a * Handle SHA-256 hashes.
svn path=/nixpkgs/trunk/; revision=8702
2007-05-15 13:33:14 +00:00
Eelco Dolstra
f6d923febc * Merge builder-cygwin.sh.
svn path=/nixpkgs/trunk/; revision=7497
2006-12-27 17:58:32 +00:00
Eelco Dolstra
2dd4e1b9d3 * Remove dontMakeInstall, it's no longer necessary (just set
installCommand to true or something).

svn path=/nixpkgs/trunk/; revision=7495
2006-12-27 17:48:46 +00:00
Eelco Dolstra
f59f5d7d96 * Handle weird cases when the server redirects us while setting a
cookie.

svn path=/nixpkgs/trunk/; revision=7352
2006-12-15 21:28:59 +00:00
Eelco Dolstra
7ee6cf21ea * Don't sort the helper function sections.
svn path=/nixpkgs/trunk/; revision=6763
2006-10-18 14:04:41 +00:00
Eelco Dolstra
8c0c0b2ad8 * If the file already exists in dist/tarballs, check that the hashes match.
svn path=/nixpkgs/trunk/; revision=6719
2006-10-12 15:59:15 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00
Eelco Dolstra
25b6e47c84 * Keep a single empty line after comments.
svn path=/nixpkgs/trunk/; revision=6534
2006-09-15 15:14:50 +00:00
Eelco Dolstra
0dc7b90c20 * Float section headers to the top. Regularise whitespace between
attributes.

svn path=/nixpkgs/trunk/; revision=6533
2006-09-15 14:40:11 +00:00
Eelco Dolstra
abccd47cf5 * Use is-substring.
svn path=/nixpkgs/trunk/; revision=6532
2006-09-15 12:36:54 +00:00
Eelco Dolstra
4b249f3b6f * Support grouping of attributes into sections by using "###"
comments.

svn path=/nixpkgs/trunk/; revision=6493
2006-09-11 16:18:07 +00:00
Eelco Dolstra
811910342a * Program to sort all-packages.nix, first attempt.
svn path=/nixpkgs/trunk/; revision=6492
2006-09-11 14:33:32 +00:00
Armijn Hemel
ea7977eb84 bash, bzip2 and findutils instructions
svn path=/nixpkgs/trunk/; revision=6251
2006-08-26 09:48:21 +00:00
Armijn Hemel
6f6fc42917 instructions for gcc
svn path=/nixpkgs/trunk/; revision=6248
2006-08-25 23:34:31 +00:00
Armijn Hemel
985098d4be start documenting bootstrapping the static initial stdenv
svn path=/nixpkgs/trunk/; revision=6245
2006-08-25 21:53:26 +00:00
Eelco Dolstra
588383905a * Download and unpack Visual C++ 2005 Express Edition.
svn path=/nixpkgs/trunk/; revision=5383
2006-06-05 19:26:11 +00:00
Eelco Dolstra
e12399051a * Grmbl.
svn path=/nixpkgs/trunk/; revision=4738
2006-02-06 12:44:34 +00:00
Eelco Dolstra
816cb77889 * Updated URL.
svn path=/nixpkgs/trunk/; revision=4626
2006-01-30 16:20:35 +00:00
Armijn Hemel
6d5762168d add location of static bzip2
svn path=/nixpkgs/trunk/; revision=4478
2006-01-01 14:25:56 +00:00
Armijn Hemel
a4a9e5aea6 small howto of adding new targets for uClibc cross compiling. For some
reasons sparc-linux fails, need to look into that...but hey, this is fun.
Requests anyone? :)

svn path=/nixpkgs/trunk/; revision=4469
2005-12-31 16:12:04 +00:00
Armijn Hemel
fec867b5f2 add what should be done after completing the toolchain and a note of warning
that many packages cannot be succesfully cross compiled.

svn path=/nixpkgs/trunk/; revision=4457
2005-12-30 14:45:27 +00:00
Armijn Hemel
2f6385ba23 tell a bit more about the names of the binutils that the buildprocess expects
to find during cross compilation. We need to fix the gcc-wrapper to support
cross-compiling. Really, it's not that hard to do, but it needs to be done
correctly :)

svn path=/nixpkgs/trunk/; revision=4456
2005-12-30 14:20:44 +00:00
Armijn Hemel
3ab0457893 add some documentation about where to find the Nix expressions for the static
tools in nixpkgs, why we chose dietlibc for some packages and glibc for others.

svn path=/nixpkgs/trunk/; revision=4447
2005-12-27 15:05:35 +00:00
Armijn Hemel
e6f931a14b add some stuff about the difficulties we've encountered so far with building cross compilers, especially when building a C++ compiler.
svn path=/nixpkgs/trunk/; revision=4346
2005-12-06 21:47:41 +00:00
Armijn Hemel
3da5ecfe05 rewrite a bit, add some clarifications
svn path=/nixpkgs/trunk/; revision=4343
2005-12-06 18:08:57 +00:00
Armijn Hemel
5138d6dc10 first version of the Nix cross compilation HOWTO (easy stuff is done), more to follow
svn path=/nixpkgs/trunk/; revision=4342
2005-12-06 18:05:20 +00:00
Eelco Dolstra
94fe7734fa * Glibc 2.3.6.
* GCC 3.4.5.
* Updated several other stdenv packages.
* Modified the builders of several packages to use the generic
  builder.

svn path=/nixpkgs/trunk/; revision=4336
2005-12-06 00:12:45 +00:00
Eelco Dolstra
5e784729b2 * To do.
svn path=/nixpkgs/trunk/; revision=4320
2005-11-29 15:48:18 +00:00
Eelco Dolstra
5ba97b72a9 * Patch to OpenSSL 0.9.7h to make it build on Mac OS X.
svn path=/nixpkgs/trunk/; revision=4070
2005-10-12 07:40:27 +00:00
Eelco Dolstra
7583231221 * Docs.
svn path=/nixpkgs/trunk/; revision=3989
2005-10-02 14:52:45 +00:00
Eelco Dolstra
0ff65fba1a * ALSA utilities (for `alsamixer' etc.).
svn path=/nixpkgs/trunk/; revision=3742
2005-08-29 15:56:55 +00:00
Eelco Dolstra
6f8e9bc2f6 * Make the grep call optional.
svn path=/nixpkgs/trunk/; revision=3330
2005-07-13 09:07:54 +00:00
Eelco Dolstra
7d876cc771 * In `all-packages.nix': use the current system as default for the
`system' argument.  This is so that importers of Nixpkgs don't have
  to specify a system explicitly anymore.

svn path=/nixpkgs/trunk/; revision=2938
2005-04-29 12:13:16 +00:00
Eelco Dolstra
2ed47f7522 * GCC 4.0.0 added (though it's not used for anything yet).
svn path=/nixpkgs/trunk/; revision=2878
2005-04-22 12:14:55 +00:00
Eelco Dolstra
7775caaa35 * Evacuate tarballs.
svn path=/nixpkgs/trunk/; revision=2527
2005-04-11 13:09:01 +00:00
Eelco Dolstra
bf985e6d6e * NEWS.
svn path=/nixpkgs/trunk/; revision=2521
2005-04-11 09:01:27 +00:00
Armijn Hemel
3d1f4bc4e8 security tools in ./tools/security
svn path=/nixpkgs/trunk/; revision=2437
2005-03-22 15:24:34 +00:00
Eelco Dolstra
55a02efa5b * Mac needs Unzip 5.52.
svn path=/nixpkgs/trunk/; revision=2434
2005-03-21 14:48:48 +00:00
Eelco Dolstra
f6e91bc9c9 * Merge r2396.
svn path=/nixpkgs/trunk/; revision=2397
2005-03-14 09:22:26 +00:00
Eelco Dolstra
93e16516a7 * TODO.
svn path=/nixpkgs/trunk/; revision=2364
2005-03-10 11:40:16 +00:00
Eelco Dolstra
5569530363 * Bug.
svn path=/nixpkgs/trunk/; revision=2301
2005-02-25 12:10:21 +00:00
Eelco Dolstra
1177e8925f * Done.
svn path=/nixpkgs/trunk/; revision=2274
2005-02-22 16:26:47 +00:00
Eelco Dolstra
c5ee6019d8 * Move stuff.
* Added a NEWS file.

svn path=/nixpkgs/trunk/; revision=2259
2005-02-21 16:05:33 +00:00