3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

8914 commits

Author SHA1 Message Date
Marek Fajkus ccdf2b2be6
elmPackages.*: add meta
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-16 19:48:00 +01:00
Sandro a9bb54359e
Merge pull request #108099 from siraben/double-quotes-fix 2021-01-16 11:27:58 +01:00
Austin Seipp d18e537613
Merge pull request #109461 from thoughtpolice/nixpkgs/yosys-plugins
yosys: add support for loading plugins, revert symbiflow changes
2021-01-16 03:51:57 -06:00
Ben Siraphob 8dd78bb4fb treewide: fix double quoted strings in meta.description 2021-01-16 11:29:30 +07:00
Austin Seipp 9a951db846
yosys: some more small fixes from review feedback
Fixes up the usage of patches/postInstall. Also removes `stdenv.lib` and
other minor tweaks.

Based on feedback from Sandro and Mihai.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:51 -06:00
Austin Seipp 365ef90263
yosys: cherry-pick some minor fixes (cf d81e4d9f6)
d81e4d9f66 contained some minor fixes to the yosys derivation
that make it a little easier to read and maintain. Incorporate those.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:50 -06:00
Austin Seipp ec1830e696
init: experimental yosys-{bluespec, ghdl} plugins
These plugins can be included in a closure, along with the `yosys`
derivation, and they will be automatically picked up for use. For
example, this allows you to include 'yosys-bluespec' in your
`buildInputs`, and then immediately run:

    $ nix-shell -p yosys yosys-bluespec yosys-ghdl
    $ yosys -m bluespec -p 'help read_bluespec'
    $ yosys -m ghdl -p 'help ghdl'

These two plugins are a bit experimental, admittedly, but they are good,
clean examples of how to write and use the yosys plugin infrastructure,
and make it easy to test updates, etc.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 16:09:50 -06:00
Austin Seipp 7996fb0d4e
picat: 3.0p3 -> 3.0p4
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 12:03:57 -06:00
Austin Seipp 2660037f8c
yosys: enable loading "out of band" plugins
By default, when yosys looks for plugins with the `-m` flag or `plugin`
command, it always looks in `YOSYS_PREFIX/share/yosys/plugins` for a
`.so` file, and loads that.

By design, this is intended to be a single, global, mutable location
such as `/usr/share/yosys/...` on disk, and plugins are supposed to
install their `.so` files here after yosys is installed, and they all
coexist together. Obviously, this won't work for us, but users might
expect these plugins to still work. More importantly, they won't want to
add special cases to their build systems.

Instead, to allow Nix users to use yosys plugins with the same UX (e.g.
natively call `plugin bluespec` or `-m ghdl`), we add a patch to yosys
that allows it to search a new `NIX_YOSYS_PLUGIN_DIRS` search path
environment variable. In tandem, we add a setup hook that adds to this
search path if a package has a `$out/share/yosys/plugins` directory.

Thus, it's enough to just include `yosys`, and any package that has a
yosys plugin in `$out/share/yosys/plugins`, and you can load it with
`-m` or the `plugin` command.

We could use a style like the haskellPackages set, where the set of
packages are "encased" in a lambda, and we pass packages that are
compatible with that version of the compiler:

    haskell.packages.ghc8102.ghcWithPackages (p: with p; [ ... ])

but, realistically, there will probably only ever be one version of
yosys and one set of compatible plugins, so this seems overdone.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 10:13:56 -06:00
Austin Seipp 51d1125f24
ghdl: 0.37 -> unstable-2021.01.14
This unreleased version of GHDL fixes a bunch of bugs. It also contains
a few internal API changes for synthesis support -- required by the GHDL
yosys plugin.

Ideally, we can just remove this when 0.38 comes out.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
2021-01-15 10:13:46 -06:00
Austin Seipp ca27105b04
Revert "Merge pull request #105709 from CajuM/symbiflow"
This reverts commit 02828f91f1, reversing
changes made to f0a7fce6ee.
2021-01-15 10:13:27 -06:00
Tim Steinbach 10e0e8251c
scala_2_12: 2.12.12 → 2.12.13 2021-01-15 10:39:11 -05:00
Milan 03a818a6f8
openjdk: build with empty pre-version (#108994)
Some applications, like the Jetbrains IDEs, check for a suffix to
determine if a stable JDK is used.
This flag was already passed for older versions, but it got lost for
OpenJDK 14+.
2021-01-15 05:12:41 +01:00
Felix Springer b77c2c5a89 idris2: 0.2.2 -> 0.3.0 2021-01-14 19:11:36 +01:00
Maximilian Bosch f620cda93f
Merge pull request #109055 from lourkeur/update/oraclejdk8
oraclejdk8: 8u261 -> 8u271
2021-01-12 12:42:28 +01:00
Dmitry Kalinkin 02828f91f1
Merge pull request #105709 from CajuM/symbiflow
Add Symbiflow + prjxray for OSS Xilinx FPGA development
2021-01-11 18:49:31 -05:00
Louis Bettens 2679f31ad1 oraclejdk8: 8u261 -> 8u271 2021-01-11 23:00:59 +01:00
github-actions[bot] 36bab113bf
Merge master into staging-next 2021-01-11 01:02:21 +00:00
Ben Siraphob e9b6e535a6
vyper: init at 0.2.8 (#104758)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-01-11 02:01:47 +01:00
Jan Tojnar dd72357155
Merge branch 'master' into staging-next 2021-01-10 23:24:33 +01:00
zowoq 134b008891 go: remove meta.branch
Only needed for `disabled` in `buildGo{Module,Package}`.
2021-01-11 06:00:38 +10:00
Câju Mihai-Drosi 44fbc60abd symbiflow-yosys-plugins: init at 0.8-6021-gd8b2d1a2 2021-01-10 10:01:48 +02:00
Câju Mihai-Drosi c1674d2ace symbiflow-yosys: init at 0.8-6021-gd8b2d1a2 2021-01-10 10:01:48 +02:00
Câju Mihai-Drosi d9140d37ad symbiflow-vtr: init at 8.0.0.rc2-4003-g8980e4621 2021-01-10 10:01:48 +02:00
Câju Mihai-Drosi a7d6c39c3c prjxray-tools: init at 0.1-2676-gac8d30e3 2021-01-10 10:01:42 +02:00
Mihai-Drosi Câju d81e4d9f66 yosys: Added plugins support and various fixes
* fixed buildInputs and nativeBuildInputs for cross compilation
* don't use pkgconfig alias
* simplified patchPhase
* made the version variable overridable in preBuild
2021-01-10 09:32:05 +02:00
Michael Weiss 8ae8602bf7
Merge branch 'master' into staging-next
Manually resolved a conflict in
pkgs/development/libraries/libbladeRF/default.nix.
2021-01-09 12:16:11 +01:00
Pavol Rusnak 271f4001c3
rust: fix comment about invocation of print-hashes.sh 2021-01-08 14:38:42 +01:00
Jan Tojnar e6c0c98940
Merge branch 'master' into staging-next
zynaddsubfx conflict has been updated to 3.0.1, which conflicted with rewrite after 3.0.5 update on a different branch.
2021-01-08 02:07:34 +01:00
Sandro 594ba151ca
Merge pull request #107439 from sbond75/cakelisp 2021-01-08 00:14:15 +01:00
David Wood 61759faf10
computecpp: 2.2.1 -> 2.3.0 2021-01-07 17:27:46 +00:00
Jan Tojnar f19eb635b4
Merge branch 'master' into staging-next
b04fc593e7 seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
2021-01-07 13:04:31 +01:00
Maximilian Bosch 2020d15962
Merge pull request #108652 from tvbeat/rls-rust-src
rls: set RUST_SRC_PATH to rustLibSrc
2021-01-07 12:17:16 +01:00
Sandro 0565ddec3f
Merge pull request #108526 from prusnak/glslang
glslang: 8.13.3743 -> 11.1.0
2021-01-07 11:55:53 +01:00
Luka Blaskovic 1f3cc427dc rls: set RUST_SRC_PATH to rustLibSrc 2021-01-07 10:31:03 +00:00
Thiago Kenji Okada bbbe322b1a flutter: refactor and reduce derivation size
Instead of copying the whole dart derivation to bin/cache/dart-sdk
directory, just symlink it.

Also, make sure that the flutter is build from dart passed as a
parameter.

Before:
/nix/store/p3avfmvd0yrjpwwml7vvqbjin5vacx2k-flutter-stable-1.22.0	2084894968

After:
/nix/store/750k4z1yj5xsw7ymmwvn7cfjjzkaygzg-flutter-stable-1.22.0	1647047080
2021-01-06 17:50:45 -03:00
Thiago Kenji Okada a03f012956 flutter: format with nixpkgs-fmt 2021-01-06 17:50:45 -03:00
Doron Behar 7aed38b8ab
Merge pull request #107547 from jerith666/openjdk-15 2021-01-06 16:02:45 +02:00
Pavol Rusnak 31bd59648f glslang: 8.13.3743 -> 11.1.0
- versioning scheme change
- enable on darwin
2021-01-05 23:17:35 +01:00
Vincent Laporte 67b72b7430 ocamlPackages.reason: use Dune 2 2021-01-05 18:23:20 +01:00
sbond75 805788f40a cakelisp: init at 0.1.0 2021-01-04 22:28:11 -05:00
github-actions[bot] 92f5b04596
Merge staging-next into staging 2021-01-04 06:25:40 +00:00
Kira Bruneau f0c6e40948 gcc10: fix MinGW build & use local copy of mcfgthread patches 2021-01-03 23:04:37 -05:00
Sandro 80677f372f
Merge pull request #108266 from jumper149/master
idris2: 0.2.1 -> 0.2.2
2021-01-04 04:46:20 +01:00
github-actions[bot] 581059aed4
Merge staging-next into staging 2021-01-04 00:57:38 +00:00
zowoq fe13e4fa6f go_2-dev: change pname/version to use unstable format
otherwise this causes problems with stable go versions and nix-env
2021-01-04 06:49:46 +10:00
John Ericson 8e48232180 gcc: Always pass --enable-shared by default
I am actually a bit skeptical about this, but @matthewbauer makes the
case for this in
https://github.com/NixOS/nixpkgs/pull/107238#discussion_r546454453 and
I'm happy to go with it not being as in the loop on static linking stuff
as he is.
2021-01-03 19:19:09 +00:00
John Ericson f52263ced0 treewide: Start to break up static overlay
We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.

CC @FRidh @matthewbauer
2021-01-03 19:18:16 +00:00
John Ericson 0df75bc04e gcc 8, 10: tabs -> spaces 2021-01-03 19:14:56 +00:00
github-actions[bot] 07165c7226
Merge staging-next into staging 2021-01-03 18:38:32 +00:00