Commit Graph

134589 Commits

Author SHA1 Message Date
Andreas Rammhold
fdc2017f1c buildRustCrate: binary heuristic should be able to treat spaces 2018-09-13 20:28:39 +02:00
Andreas Rammhold
1371815060 buildRustCrate: extracted builder scripts into dedicated files
The build expression got quiet large over time and to make it a bit
easier to grasp the different scripts involved in the build are now
separated from the nix file.
2018-09-13 20:28:39 +02:00
Andreas Rammhold
0c50140da5 buildRustCrate: add heuristic to picking the right source files
Cargo has a few odd (old) ways of picking source files if the `bin.path`
attribute isn't given in the Cargo.toml. This commit adds support for
some of those. The previous behaviour always defaulted to `src/main.rs`
which was not always the right choice.

Since there is  look-ahead into the unpacked sources before running the
actual builder the path selection logic has to be embedded within the
build script.

`buildRustCrate` currently supports two ways of running building
binaries when processing a crate:

- Explicit definition of all the binaries (& optionally the paths to
their respective `main.rs`) and,
- if not binary was explictly configured all files matching the patterns
  `src/main.rs`, `src/bin/*.rs`.

When the explicit list is given without path information paths are now
being picked from a list of candidates. The first match wins. The order
is the same as within the cargo compatibility code.

If the crate does not provide any libraries the path `src/{bin_name}.rs`
is also considered.

All underscores within the binary names are translated into dashes (`-`)
before the lookups are made. This seems to be a common convention.
2018-09-13 20:28:39 +02:00
Robin Gloster
ee21f64f6a
Merge pull request #46614 from mayflower/atlassian-update
Atlassian update
2018-09-13 19:52:59 +02:00
Robin Gloster
1f7561eedc
Merge pull request #46617 from WilliButz/grafana-update
grafana: 5.2.3 -> 5.2.4
2018-09-13 19:52:11 +02:00
Jörg Thalheim
cfc8e26ce5
Merge pull request #46566 from Mic92/ncm2
vimPlugins.ncm2: init at 2018-09-03
2018-09-13 18:36:41 +01:00
Simon Lackerbauer
a431f3e35d
atlassian-jira: 7.12.0 -> 7.12.1 2018-09-13 19:32:33 +02:00
Simon Lackerbauer
f05e51abed
atlassian-crowd: 3.1.2 -> 3.2.5 2018-09-13 19:09:22 +02:00
Simon Lackerbauer
4d962b6dcd
atlassian-confluence: 6.8.0 -> 6.11.1 2018-09-13 19:07:53 +02:00
WilliButz
68b25008e2
grafana: 5.2.3 -> 5.2.4 2018-09-13 18:22:37 +02:00
Jörg Thalheim
80d7a4c872
Merge pull request #46602 from xeji/p/zodb
pythonPackages.zodb: fix tests
2018-09-13 16:55:03 +01:00
Joachim Fasting
aacf68a635
tor-browser-bundle-bin: stdenv.shell -> runtimeShell in wrapper 2018-09-13 17:45:50 +02:00
Joachim Fasting
546e511edc
tor-browser-bundle-bin: parameterize icon theme 2018-09-13 17:45:49 +02:00
Joachim Fasting
5710ee3bef
tor-browser-bundle-bin: add gsettings-schemas
See https://github.com/NixOS/nixpkgs/issues/46587
2018-09-13 17:45:43 +02:00
xeji
ed7b654a21
Merge pull request #46593 from ryantm/aliases
treewide: fix `config.allowAliases = false` evaluation
2018-09-13 16:15:43 +02:00
Thomas Tuegel
503962140e
Merge pull request #46483 from bkchr/kde_frameworks
kde-frameworks: 5.49 -> 5.50
2018-09-13 08:49:58 -05:00
Ryan Mulligan
f91a79ecc8 treewide: fix config.allowAliases = false evaluation 2018-09-13 06:47:22 -07:00
Maximilian Bosch
2cfc0bb7ee tamarin-prover: fix ghc 8.4 build (#46597)
See https://hydra.nixos.org/build/81125645

`tamarin-prover' upstream has a patch to fix GHC 8.4 compilation (and
uses stack lts-12.1 now), but it's not released yet:

a08f6e4007

The build is divided in several derivations, therefore the patch had to
be splitted and rebased for `lib/term', `lib/theory' and `lib/utils' to
ensure that the patch applies properly during the `patchPhase'.

Addresses #45960
2018-09-13 14:11:09 +02:00
Markus J. Ankenbrand
e2df8e7c0f seaview: init at 4.7 (#46595) 2018-09-13 14:10:44 +02:00
Uli Baum
b54677969b pythonPackages.zodb: fix tests
Tests failed after `persistent` was updated to 4.4.
Apply an upstream patch to fix them.
2018-09-13 13:35:34 +02:00
Jörg Thalheim
da7990eb5a
Merge pull request #46600 from mcmtroffaes/feature/wolfssl-tls13
wolfssl: enable all features
2018-09-13 12:05:21 +01:00
Jörg Thalheim
75177ab7e9
Merge pull request #46601 from dywedir/bat
bat: 0.6.1 -> 0.7.0
2018-09-13 11:54:58 +01:00
Vladyslav Mykhailichenko
af5cea59e7 bat: 0.6.1 -> 0.7.0 2018-09-13 13:30:36 +03:00
xeji
eb88142c4b
leo-editor: 5.6 -> 5.7.3, fix build (#46589)
Previous version depended on qt56.qtwebengine which was broken.
2018-09-13 12:17:45 +02:00
xeji
2bc08ce0f5
Merge pull request #46488 from xeji/p/python-fixes
pythonPackages.{pydub,readme_renderer,pyfakefs,us,restview}: fix build
2018-09-13 11:38:20 +02:00
Sarah Brofeldt
d024f91349
Merge pull request #46573 from johanot/kubernetes-1.10-1.11
kubernetes: 1.10.5 -> 1.11.3
2018-09-13 11:29:11 +02:00
Matthias C. M. Troffaes
66e6ee73d4 wolfssl: enable all features 2018-09-13 10:27:59 +01:00
Uli Baum
6dc57134da pythonPackages.restview: fix tests
Failed after readme_renderer was updated. Apply an upstream patch.
2018-09-13 11:21:19 +02:00
Andreas Rammhold
87462d6be4
vmTools: update debian repositories to stable Release.xz urls
Previously the Release.xz URL would show up with a new hash whenever
debian releases an update. By using archive.org we should have a stable
source for those. I wasn't able to find the equivalent in the debian
world. Maybe they don't keep all the different Release files around..
2018-09-13 11:10:23 +02:00
Domen Kožar
595ae18797
nixos: datadog-agent: fix systemd support 2018-09-13 09:11:55 +01:00
Domen Kožar
bef541c569 datadog: add live process monitoring 2018-09-13 09:11:06 +01:00
Bastian Köcher
df007e9ffe kde-frameworks.syndication: Init 2018-09-13 09:28:22 +02:00
Austin Seipp
0f2b10d1ac libiio: init at 0.15
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-09-12 23:33:57 -05:00
Peter Hoeg
56b9f6fc8e milkytracker: 1.01 -> 1.02.00 2018-09-13 12:21:39 +08:00
xeji
68b7de9e2e
pythonPackages.BTrees: fix build (#46588)
a test case failed since the update to 4.5.1, disable it
2018-09-13 02:32:37 +02:00
Uli Baum
d225a91b7c mitmproxy: 3.0.4 -> 4.0.4, fix tests
- add missing checkInputs
- apply upstream patch to fix some tests that failed due to
  expired test ssl certs
- re-enable a previously disabled test case
2018-09-13 00:06:53 +00:00
Alyssa Ross
1ec301ded2 openssl: 1.1.0 -> 1.1.1 (#46524) 2018-09-12 23:56:08 +00:00
Daiderd Jordan
89e52157c8
Merge pull request #46584 from LnL7/darwin-broken-a
broken darwin packages (a)
2018-09-13 00:05:42 +02:00
Maximilian Bosch
61a9463498 weechatScripts.weechat-matrix-bridge: don't export `olm.lua' as script (#46582)
Loading olm.lua as weechat script with `/script load olm.lua' causes
errors like this:

```
/nix/store/43jbh7yxh8j4gjfzbvpd9clncah5dip1-weechat-matrix-bridge-2018-05-29/lib/ffi.so: undefined symbol: lua_tointeger
```

As `olm.lua' is loaded by `matrix.lua' it doesn't need to be included
manually by the weechat configuration.
2018-09-12 23:56:03 +02:00
xeji
decd819911
Merge pull request #46556 from rnhmjoj/lastpass
qutebrowser: patch all python scripts
2018-09-12 23:51:40 +02:00
xeji
df2bae8097
Merge pull request #46581 from markuskowa/licenses-17
Add licenses
2018-09-12 23:34:51 +02:00
xeji
82a49eb8d2
Merge pull request #46355 from xeji/p/nant-drop
nant, boo, banshee: remove
2018-09-12 23:25:37 +02:00
R. RyanTM
65bc378de8 mbuffer: 20180318 -> 20180625 (#46241)
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
mbuffer
2018-09-12 23:20:26 +02:00
John Ericson
34e3502297
Merge pull request #46517 from srhb/revert-build-host-target-platform-deprecation-master
Revert build host target platform deprecation on master
2018-09-12 17:19:16 -04:00
Daiderd Jordan
9fc6f1123d
asymptote: mark broken on darwin
It only builds with gc-7.6.0 on darwin for some reason.

/cc ZHF #45961
2018-09-12 23:14:42 +02:00
Daiderd Jordan
b814881394
aws-okta: mark broken on darwin
Could be caused by our older 10.10.5 CoreFoundation.

    # github.com/segmentio/aws-okta/vendor/github.com/keybase/go-keychain
    go/src/github.com/segmentio/aws-okta/vendor/github.com/keybase/go-keychain/corefoundation_go110.go:35:33: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFDataCreate
    go/src/github.com/segmentio/aws-okta/vendor/github.com/keybase/go-keychain/corefoundation_go110.go:61: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal
    go/src/github.com/segmentio/aws-okta/vendor/github.com/keybase/go-keychain/corefoundation_go110.go:98:41: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithBytes
    go/src/github.com/segmentio/aws-okta/vendor/github.com/keybase/go-keychain/corefoundation_go110.go:133: cannot use nil as type _Ctype_CFAllocatorRef in argument to func literal

/cc ZHF #45961
2018-09-12 23:14:41 +02:00
Daiderd Jordan
0dff3d5c73
litecoin: add missing framework and mark broken on darwin
In file included from qt/bitcoin.cpp:9:
    ./qt/bitcoingui.h:14:10: fatal error: 'QLabel' file not found
    #include <QLabel>
             ^~~~~~~~
    1 error generated.

/cc ZHF #45961
2018-09-12 23:14:40 +02:00
Markus Kowalewski
6d8be09c8a
vbetool: add license 2018-09-12 23:12:15 +02:00
Markus Kowalewski
4503d462c7
sg3_utils: add licenses 2018-09-12 23:12:15 +02:00
Markus Kowalewski
131bc90d08
localtime: add license 2018-09-12 23:12:15 +02:00