Commit graph

208408 commits

Author SHA1 Message Date
Andreas Rammhold
71a96b28a0
CODEOWNERS: add myself to pkgs/build-support/rust 2020-01-07 11:57:34 +01:00
Andreas Rammhold
3e61906e1c
buildRustCrate: slight "rewording" and reformatting
There is no point in reinventinb builtins through `filterAttrs` or the
like. Lets just stick to what we already have in our toolbelt.
2020-01-07 11:57:34 +01:00
Andreas Rammhold
a3a51763f9
buildRustCrate: add buildTests flag to tell rustc to build tests instead of binaries
This helps us instruct rustc to build tests instead of binaries. The
actual build will then ONLY produce test executables. This is a first
step towards having rust crate tests within nixpkgs.

We default back to only a single output in test cases since that is the
only reasonable thing to do here.

Producing libraries or binaries in addition to tests would theoretically
be feasible but usually generates different dependency trees. It is very
common to have some libraries in `[dev-depdendencies]` within Cargo.toml
just for your tests. To not start mixing things up going with a
dedicated derivation for the test build sounds like the best choice for
now.

To use this you must provide a proper test dependency chain to
`buildRustCrate` (as you would usually do with your non-test inputs).
And then set the `buildTests` attribute to `true`. The derivation will
then contain all tests that were built in `$out/tests`. All common test
patterns and directories should be supported and tested by this change.

Below is an example how you would run a single test from the derivation.
This commit contains some more examples in the `buildRustCrateTests`
attribute set that might be helpful.

```
let
  drv = buildRustCrate {
     …
     buildTests true;
  };
in runCommand "test-my-crate" {} ''
  touch $out
  exec ${drv}/tests/my-test
''
```
2020-01-07 11:57:34 +01:00
Andreas Rammhold
2c4c7c929c
Merge pull request #77153 from andir/buildRustCrateHelpers-fix
buildRustCrate: fixup usage of `builtins.filterSource`
2020-01-07 11:41:03 +01:00
Mario Rodas
a7ecd2a93b
Merge pull request #77185 from r-ryantm/auto-update/pgmodeler
pgmodeler: 0.9.1 -> 0.9.2
2020-01-07 05:33:01 -05:00
Pascal Wittmann
60abbbb182
Merge pull request #77171 from r-ryantm/auto-update/opkg
opkg: 0.4.1 -> 0.4.2
2020-01-07 11:25:34 +01:00
Daniel Schaefer
5992086c28
Merge pull request #77202 from raboof/jitterentropy-reproducible-manpages
jitterentropy: make man pages reproducible
2020-01-07 11:13:23 +01:00
Chris Ostrouchov
41d1ac24ba pythonPackages.JayDeBeApi: refactor formatting and metadata changes 2020-01-07 02:10:48 -08:00
Chris Ostrouchov
3c0d4f2dc3 pythonPackages.JPype1: refactor fix broken build 2020-01-07 02:10:48 -08:00
Jonathan Ringer
367085bc8a python3Packages.numexpr: 2.7.0 -> 2.7.1 2020-01-07 10:50:14 +01:00
Eric Bailey
826df23514 pythonPackages.bugwarrior: depend on jira, remove test deps
- drop support for 2.7, per upstream
- remove half-baked checkInputs, but leave comment
- add yurrriq as maintainer
- add setuptools to propagatedBuildInputs
2020-01-07 01:50:03 -08:00
Timo Kaufmann
e8def5b1e0
Merge pull request #77130 from timokau/home-manager-2020-01-04
home-manager: 2019-11-17 -> 2020-01-04
2020-01-07 10:49:16 +01:00
Milan Pässler
fe2742cee4 python: pyspf: 2.0.13 -> 2.0.14pre1 2020-01-07 01:40:15 -08:00
Arnout Engelen
96167307bd jitterentropy: make man pages reproducible 2020-01-07 10:26:53 +01:00
markuskowa
7de7b51741
Merge pull request #77173 from r-ryantm/auto-update/openmpt123
openmpt123: 0.4.10 -> 0.4.11
2020-01-07 09:36:13 +01:00
markuskowa
9a805e9b4f
Merge pull request #76941 from Pamplemousse/bash_unit
bash_unit: init at 1.6.1
2020-01-07 09:31:53 +01:00
worldofpeace
f55ec6fd69
Merge pull request #77092 from worldofpeace/pantheon-update-jan-6
[ci] pantheon.elementary-terminal: 5.4.0 -> 5.5.0, pantheon.elementary-gtk-theme: 5.3.0 -> 5.4.0
2020-01-07 02:22:09 -05:00
R. RyanTM
c4571f2268 pgmodeler: 0.9.1 -> 0.9.2 2020-01-06 23:10:20 -08:00
worldofpeace
04f6b5c945
Merge pull request #77177 from petabyteboy/feature/loaof-deprecation
tree-wide: fix errors and warning related to loaOf deprecation
2020-01-07 02:10:16 -05:00
Rakesh Gupta
f412725449 pythonPackages.imgaug: 0.3.0-patch 2020-01-06 22:51:05 -08:00
Milan Pässler
2a31a6a412 tree-wide: fix errors and warning related to loaOf deprecation 2020-01-07 06:23:28 +01:00
Matthew Bauer
ddcaa0cd2f
Merge pull request #76842 from matthewbauer/add-doc-to-ghc-wrapper
haskell/with-packages-wrapper.nix: install "doc" outputs
2020-01-07 00:23:15 -05:00
Daniel Schaefer
370355449f
orcania: 2.0.1 -> 2.1.0 (#77168)
orcania: 2.0.1 -> 2.1.0
2020-01-07 06:12:15 +01:00
R. RyanTM
74b913a9e8 openmpt123: 0.4.10 -> 0.4.11 2020-01-06 20:26:32 -08:00
R. RyanTM
93c885781a mpd: 0.21.17 -> 0.21.18 2020-01-07 04:13:33 +00:00
R. RyanTM
c755f046a6 opkg: 0.4.1 -> 0.4.2 2020-01-06 19:59:32 -08:00
Mario Rodas
c2d2e4ff42
Merge pull request #77135 from r-ryantm/auto-update/libimagequant
libimagequant: 2.12.5 -> 2.12.6
2020-01-06 22:57:21 -05:00
Mario Rodas
1e6917a4f2
Merge pull request #77116 from r-ryantm/auto-update/jtc
jtc: 1.74 -> 1.75c
2020-01-06 22:54:39 -05:00
R. RyanTM
9215b50ec1 orcania: 2.0.1 -> 2.1.0 2020-01-06 19:43:40 -08:00
Ryan Mulligan
fdf4002d70
Merge pull request #77098 from r-ryantm/auto-update/git-machete
gitAndTools.git-machete: 2.12.5 -> 2.12.6
2020-01-06 19:00:10 -08:00
Ryan Mulligan
8e0b0d08c2
Merge pull request #77125 from r-ryantm/auto-update/last
last: 1042 -> 1045
2020-01-06 18:51:09 -08:00
Andreas Rammhold
6383b42dae
buildRustCrate: fixup usage of builtins.filterSource
While unifying most of the lib function calls I accidentially changed
the filterSource functions as well. Since there were no tests I ended
up forgetting about this case (even thought I ran into it…).
2020-01-07 00:49:48 +01:00
Matthew Bauer
93aabab760 haskell/with-packages-wrapper.nix: remove /bin symlink if it exists
The wrapper need a writable directory to work, so remove the symlink
to a read-only one if it occurs.
2020-01-06 18:25:50 -05:00
Ryan Mulligan
cca0c894a1
Merge pull request #77110 from r-ryantm/auto-update/janet
janet: 1.5.1 -> 1.6.0
2020-01-06 14:26:39 -08:00
Florian Klink
15695df474
Merge pull request #76386 from mweinelt/powerlevel10k
zsh-powerlevel10k: init at unstable-2019-12-19
2020-01-06 22:51:12 +01:00
Wael M. Nasreddine
0e4457ce93 pythonPackages.timezonefinder: disable on Python 2 2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
e08c77af7a h3: 3.4.4 -> 3.6.2 2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
ba3aeb1ca1 pythonPackages.h3: init at 3.4.3 2020-01-06 13:51:00 -08:00
Daiderd Jordan
9d9bba120f h3: fix darwin build
Disable linting as it uses clang-tidy, which isn't a cc-wrapper and
won't find our dependencies automatically.
2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
1301359d26 h3: init at 3.4.4 2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
be2b7fde23 pythonPackages.timezonefinder: init at 4.2.0 2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
801b3438eb pythonPackages.snowflake-sqlalchemy: init at 1.1.17 2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
892f2962ff pythonPackages.snowflake-connector-python: init at 2.1.2 2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
83288405df pythonPackages.oscrypto: init at 1.1.1 2020-01-06 13:51:00 -08:00
Wael M. Nasreddine
98e4b05851 pythonPackages.area: init at 1.1.1 2020-01-06 13:51:00 -08:00
Matt Layher
987a5ffea5 corerad: init at v0.1.4
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-01-06 13:49:14 -08:00
Matt Layher
b8d09084d2 maintainers: add mdlayher
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-01-06 13:49:14 -08:00
R. RyanTM
bc8ff94589 libimagequant: 2.12.5 -> 2.12.6 2020-01-06 13:20:41 -08:00
Silvan Mosberger
ff16d17b42
nixos/systemd: Explicitly put default path packages after othe… (#77088)
nixos/systemd: Explicitly put default path packages after others
2020-01-06 21:51:04 +01:00
Martin Weinelt
68106d9317 git-and-tools.gitstatus: unstable-2019-05-06 -> unstable-2019-12-18
Also bumps the interally used version of libgit2.
2020-01-06 21:49:15 +01:00