Commit graph

158988 commits

Author SHA1 Message Date
Matthew Bauer 1ba9fd335d scons: add setup hook
The scons build system is python-based and has a binary named scons. Unlike CMake, it cannot generate makefiles so we end up having to override the build, install, and check phases. I have added the setupHook to the scons package so that integration requires no unique steps - just putting scons in nativeBuildInputs should be enough. sconsFlags controls the flags specifically passed to scons while buildFlags, installFlags, and checkFlags should still be usable. Some packages use different names for the prefix flag. In those cases you will have to set "prefixKey" to something like "PREFIX=" as there are multiple names for the "prefix" used in scons.
2018-11-13 19:13:50 -06:00
Matthew Bauer f2a20b6e52 treewide: use wafHook
Replace "waf" phases with wafHook that manages everything
automatically. Should make things more modular.

Packages affected here are:

- a2jmidid
- ams-lv2
- ardour
- fomp
- guitarix
- ingen
- jalv
- mda-lv2
- non
- patchage
- hamster-time-tracker
- kupfer
- xiphos
- xfce4-dockbarx-plugin
- xfce4-namebar-plugin
- dropbox
- clasp
- aubio
- liliv
- lv2
- lvtk
- ntk
- raul
- sratom
- suil
- ganv
- ndn-cxx
- ns3
- serd
- sord
- termbox
- wxmupen64plus
- jackaudio
- pflask
- blockhash
- glmark2
- weighttp
2018-11-13 19:13:48 -06:00
Matthew Bauer 92ebfa1383 wafHook: init
The waf build system is python-based and hosted locally in each package in the executable file named "waf". Unlike CMake, it cannot generate makefiles so we end up having to override the configure, build, and install phases. I've tried to keep these as close to what's in setup.sh as possible. If there is no waf file in the root directory, then we just copy the one hosted in Nixpkgs. Otherwise the only thing you have to add to a package using Waf is "wafHook" into nativeBuildInputs. wafFlags controls the flags specifically passed to waf while configureFlags, buildFlags, and installFlags are still used as in the generic builder.
2018-11-13 19:13:13 -06:00
John Ericson df9334b646
Merge pull request #50233 from Ekleog/fix-test-system
Fix meta.tests system
2018-11-11 19:05:13 -05:00
John Ericson c94ccfd81e
Merge pull request #50223 from ryan4729/go-cross-compile
go: make compiler usable for cross compiles
2018-11-11 18:31:44 -05:00
Samuel Dionne-Riel 9997a3dc16
Merge pull request #43686 from Pneumaticat/rdocker-init
rdocker: init at unstable-2018-07-17
2018-11-11 22:42:04 +00:00
ryan4729 b46f5e1277 go: organize GOARCH and GOOS 2018-11-11 14:37:12 -08:00
Silvan Mosberger 03187b7497
Merge pull request #49685 from rht/brave-0.55.22
brave: 0.25.2 -> 0.56.12
2018-11-11 22:13:49 +01:00
rht e46f25addc
brave: 0.25.2 -> 0.56.12 2018-11-11 20:42:10 +00:00
Thomas Tuegel b529b81be3
Merge pull request #50207 from Thra11/qtwebglplugin
qtwebglplugin: init at 5.11
2018-11-11 13:51:29 -06:00
Edward Tjörnhammar 1de9c8a023
catch: 1.12.0 -> 1.12.2 2018-11-11 17:55:36 +01:00
Jason Hilton 7759fe1f22
catch2: init at 2.4.2 2018-11-11 17:55:31 +01:00
Edward Tjörnhammar 30422aa7d0
jetbrains.webstorm: 2018.2.3 -> 2018.2.5 2018-11-11 17:29:34 +01:00
Edward Tjörnhammar e61f199470
jetbrains.ruby-mine: 2018.2.2 -> 2018.2.4 2018-11-11 17:29:34 +01:00
Edward Tjörnhammar b8096a088e
jetbrains.phpstorm: 2018.2.3 -> 2018.2.5 2018-11-11 17:29:34 +01:00
Edward Tjörnhammar 8c084007d5
jetbrains.clion: 2018.2.4 -> 2018.2.5 2018-11-11 17:29:34 +01:00
Silvan Mosberger e2bae133a7
Merge pull request #49138 from fuwa0529/add-wownero
wownero: init at 0.4.0.0
2018-11-11 16:58:09 +01:00
Elis Hirwing 090bd931e1 gitea: 1.5.2 -> 1.5.3 (#50229)
Changelog: https://github.com/go-gitea/gitea/releases/tag/v1.5.3
2018-11-11 15:26:38 +01:00
Léo Gaspard 6aedf6a5c8
nixosTests: use the newly-extracted all-tests.nix 2018-11-11 23:20:17 +09:00
Léo Gaspard 2986ce16a8
meta.tests: rename into passthru.tests
Nix currently rejects derivations in `meta` values. This works around
that limitation by using `passthru` instead.

Closes https://github.com/NixOS/nixpkgs/issues/50230
2018-11-11 23:11:46 +09:00
Léo Gaspard cae5598611
meta.tests: drop meta.needsVMSupport
Its job is already handled by `requiredSystemFeatures`
2018-11-11 23:11:46 +09:00
Léo Gaspard aade4e577b
tests: disable some broken tests and/or restrict to x86_64 2018-11-11 23:11:46 +09:00
Léo Gaspard 83b27f60ce
tests: split into a separate all-tests.nix file
This will make the list much easier to re-use, eg. for `nixosTests`

The drawback is that this approaches makes the
```
nix-build release.nix -A tests.opensmtpd.x86_64-linux
```
command about twice as slow (3s to 6s): it now has to evaluate `nixpkgs`
once for each architecture, instead of just having the hardcoded list of
tests that allowed to say “ok just evaluate for x86_64-linux”.

On the other hand, complete evaluation of `release.nix` should be much
faster because we no longer import `nixpkgs` for each test: testing with
the following command went from 30s to 18s, and that's just for a few
tests.
```
time nix-instantiate --eval --strict nixos/release.nix -A tests.nat
```
I initially wanted to test on the whole `release.nix`, but there are too
many broken tests and it takes too long to eval them all, especially
compared to the fact that the current implementation breaks some setup.

Given developers can just `nix-build nixos/tests/my-test.nix`, it sounds
like an overall win.
2018-11-11 23:11:46 +09:00
Léo Gaspard 6c68fbd4e1
tests: refactor to carry the package set as an argument
This way, the package set will be possible to pass without re-importing
all the time
2018-11-11 23:11:45 +09:00
Silvan Mosberger 921b63134a
Merge pull request #50215 from volth/patch-285
gnum4: set platforms=all; it works on Windows
2018-11-11 14:55:26 +01:00
Peter Simons 4fc8527697 dovecot, opensmtpd: comment out invalid meta.tests attribute
See https://github.com/NixOS/nixpkgs/issues/50230 for details.
2018-11-11 14:02:20 +01:00
markuskowa e9aec8ccab
Merge pull request #50095 from r-ryantm/auto-update/gocr
gocr: 0.51 -> 0.52
2018-11-11 13:33:39 +01:00
Edward Tjörnhammar 888d01da48
nixos/minetest fix: add missing uid/gid for minetest 2018-11-11 12:47:09 +01:00
Edward Tjörnhammar d598672020
minecraft-server: 1.12.2 -> 1.13.2 2018-11-11 12:47:09 +01:00
Edward Tjörnhammar 8ff9e78dc1
minetest: 0.4.16 -> 0.4.17 2018-11-11 12:47:09 +01:00
Edward Tjörnhammar 3ba7d2ae01
zangband: 2.7.3 -> 2.7.4b
With minor fixups but marking as broken since the game doesn't progress
after character generation.
2018-11-11 12:47:09 +01:00
Edward Tjörnhammar ba35b5971c
i2pd: 2.21.1 -> 2.22.0 2018-11-11 12:47:09 +01:00
Niklas Thörne 0a7d20ece5 uftrace: 0.9 -> 0.9.1 (#50228) 2018-11-11 12:15:06 +01:00
Jörg Thalheim 8905ca4d71
Merge pull request #50219 from worldofpeace/wire-desktop/no-explicit-phases
wire-desktop: don't explicitly set phases
2018-11-11 11:06:28 +00:00
Jörg Thalheim 290eb75678
Merge pull request #50224 from volth/sed-windows
gnused: fix Windows build
2018-11-11 10:53:04 +00:00
Sarah Brofeldt 7e345e064b
Merge pull request #50227 from nyanloutre/spaceship-prompt-fix
spaceship-prompt: correct homepage url
2018-11-11 11:11:55 +01:00
Sarah Brofeldt 2aa9d3ac31
Merge pull request #49775 from eadwu/vscode-extensions.ms-python.python/2018.9.2
vscode-extensions.ms-python.python: 2018.9.1 -> 2018.10.1
2018-11-11 11:03:44 +01:00
Robert Schütz 879789666f python.pkgs.py3status: 3.13 -> 3.14 2018-11-11 11:01:10 +01:00
nyanloutre fb3d15c34c
spaceship-prompt: correct homepage url 2018-11-11 10:53:51 +01:00
Sebastien Maret 880fae6a08 matplotlib: 2.2.3 -> 3.0.2
Python 3 will use the new matplotlib 3.x while Python 2
will use 2.x.

matplotlib: keep 2.2.3 for Python2k
2018-11-11 10:14:25 +01:00
Frederik Rietdijk 961180afc8 scour: call via python-packages.nix 2018-11-11 09:54:28 +01:00
Maximilian Bosch 3c4f70996e s/propogatedBuildInputs/propagatedBuildInputs 2018-11-11 08:39:19 +01:00
Jethro Kuan 0a82eb4377 change to propogatedBuildInputs 2018-11-11 08:39:19 +01:00
Jethro Kuan 3723b2d8ab remove absl-py, change to buildInputs 2018-11-11 08:39:19 +01:00
Jethro Kuan 5165ecb7f6 remove tests
PyPI archive does not contain tests
2018-11-11 08:39:19 +01:00
Jethro Kuan c98731b8fa don't propogate tensorflow 2018-11-11 08:39:19 +01:00
Jethro Kuan 2b4a70d21e remove withTensorflow option 2018-11-11 08:39:19 +01:00
Maximilian Bosch 32d8215a58 fix eval 2018-11-11 08:39:19 +01:00
Jethro Kuan 78e557806e add option to build without Tensorflow 2018-11-11 08:39:19 +01:00
Jethro Kuan f11cd8165d fix maintainer 2018-11-11 08:39:19 +01:00