Commit Graph

458 Commits

Author SHA1 Message Date
Matthew Bauer
43873351ff blas/lapack: add wrapper for “alternative”s of BLAS/LAPACK provider
This is based on previous work for switching between BLAS and LAPACK
implementation in Debian[1] and Gentoo[2]. The goal is to have one way
to depend on the BLAS/LAPACK libraries that all packages must use. The
attrs “blas” and “lapack” are used to represent a wrapped BLAS/LAPACK
provider. Derivations that don’t care how BLAS and LAPACK are
implemented can just use blas and lapack directly. If you do care what
you get (perhaps for some CPP), you should verify that blas and lapack
match what you expect with an assertion.

The “blas” package collides with the old “blas” reference
implementation. This has been renamed to “blas-reference”. In
addition, “lapack-reference” is also included, corresponding to
“liblapack” from Netlib.org.

Currently, there are 3 providers of the BLAS and LAPACK interfaces:

- lapack-reference: the BLAS/LAPACK implementation maintained by netlib.org
- OpenBLAS: an optimized version of BLAS and LAPACK
- MKL: Intel’s unfree but highly optimized BLAS/LAPACK implementation

By default, the above implementations all use the “LP64” BLAS and
LAPACK ABI. This corresponds to “openblasCompat” and is the safest way
to use BLAS/LAPACK. You may received some benefits from “ILP64” or
8-byte integer BLAS at the expense of breaking compatibility with some
packages.

This can be switched at build time with an override like:

    import <nixpkgs> {
        config.allowUnfree = true;
        overlays = [(self: super: {
          lapack = super.lapack.override {
            lapackProvider = super.lapack-reference;
          };
          blas = super.blas.override {
            blasProvider = super.lapack-reference;
          };
        })];
      }

or, switched at runtime via LD_LIBRARY_PATH like:

    $ LD_LIBRARY_PATH=$(nix-build -E '(with import <nixpkgs> {}).lapack.override { lapackProvider = pkgs.mkl; is64bit = true; })')/lib:$(nix-build -E '(with import <nixpkgs> {}).blas.override { blasProvider = pkgs.mkl; is64bit = true; })')/lib ./your-blas-linked-binary

By default, we use OpenBLAS LP64 also known in Nixpkgs as
openblasCompat.

[1]: https://wiki.debian.org/DebianScience/LinearAlgebraLibraries
[2]: https://wiki.gentoo.org/wiki/Blas-lapack-switch
2020-04-17 16:23:55 -05:00
Jörg Thalheim
a5661135f2
Merge pull request #84096 from DieGoldeneEnte/llvm-latest
llvmPackages_latest: llvm9->llvm10
2020-04-13 16:48:45 +01:00
Holger Wünsche
671733227c
{llvm,polly}-polly: moved to aliases.nix 2020-04-13 14:27:51 +02:00
Elis Hirwing
3b6539896b
Merge pull request #83896 from etu/slim-down-default-php-v3
PHP: Make the default package more sane [v3]
2020-04-05 20:00:03 +02:00
Elis Hirwing
a5f77d6ea2
php-unit: Drop the declaration of the php-unit attributes since they aren't used 2020-04-03 10:11:11 +02:00
Elis Hirwing
be7bf5a18d
php-embed: Drop the declaration of the php-embed attributes 2020-04-03 10:11:07 +02:00
Jörg Thalheim
10059e4b71
Merge remote-tracking branch 'upstream/master' into HEAD 2020-03-29 14:08:10 +01:00
Orivej Desh
30dc230997
avldrums-lv2: alias to x42-avldrums (#83665)
Fixes #83649
2020-03-29 10:22:55 +00:00
Frederik Rietdijk
a36be028f5 Merge staging-next into staging 2020-03-28 21:15:15 +01:00
Benjamin Hipple
a80ed9f72a aliases.nix: add aliases for removed torch packages
We've removed the abandoned and broken torch project as part of https://github.com/NixOS/nixpkgs/issues/71888

This commit adds aliases for:

- https://github.com/NixOS/nixpkgs/pull/81173
- https://github.com/NixOS/nixpkgs/pull/83568
2020-03-28 09:54:59 -04:00
Robin Gloster
d4f08ee383
Merge pull request #83452 from prusnak/slack
slack: 4.2.0 -> 4.4.0
2020-03-28 12:06:19 +00:00
Marek Mahut
9a43587998
slack-dark: alias to slack 2020-03-27 14:45:53 +01:00
Orivej Desh
ef164d2ba9 vamp-plugin-sdk: rename from vamp.vampSDK 2020-03-26 22:34:47 +00:00
Tor Hedin Brønner
aef3860211
libcroco: remove as it's no longer used
librsvg and gnome-shell was the only derivations needing libcroco. Both
of them have now dropped it as a dependency, so we can stop carrying it.
2020-03-24 07:11:03 +01:00
Orivej Desh
e1c3085354 lrdf: move from librdf libraries
It was never called librdf and it is not a librdf.org project.
2020-03-23 00:22:36 +00:00
Jörg Thalheim
b00b66e262
Merge pull request #82861 from gila/terraform-lxd
terraform-providers.lxd: init at 1.3.0
2020-03-19 13:08:20 +00:00
Jeffry Molanus
4bcdfdb7b8 terraform-providers.lxd: init at 1.3.0 2020-03-19 00:10:04 +01:00
Dmitry Kalinkin
fd867123f6
remove lmmath, rename latinmodern-math to lmmath 2020-03-18 03:24:53 -04:00
Aaron Andersen
6283b00f4f
Merge pull request #82319 from aanderse/tomcat-update
tomcat: 7.0.92 -> 7.0.100, 8.5.42 -> 8.5.51, 9.0.21 -> 9.0.31
2020-03-16 15:46:48 -04:00
Léo Gaspard
7566b4f924
Merge pull request #82614 from Ekleog/xfce4-remove-alias
xfce4-12: remove alias
2020-03-15 12:00:20 +01:00
Léo Gaspard
175f9ef4f8 xfce4-12: remove alias 2020-03-14 22:05:50 +01:00
zimbatm
001be890f7 folding@home: 6.02 -> 7.5.1
The v7 series is very different.

This commit introduces the 3 packages: fahclient, fahcontrol and
fahviewer. It also rebuilds the NixOS module to map better with the new
client.
2020-03-14 13:01:26 -07:00
Aaron Andersen
22f24f7859 tomcat8: 8.5.42 -> 8.5.51 2020-03-11 07:51:04 -04:00
Emily
6eb45bf38a source-han-{sans,serif,mono}: {update,refactor,init}
* source-han-sans: 1.004R -> 2.001
* source-han-serif: switch to Super OTC
* source-han-mono: init at 1.002

The Source Han fonts now use shared package infrastructure, and the
Super OTC distributions, which unify the various scripts into a single
bundle file, improving automatic font selection and reducing overall
disk space usage. This also means that the Traditional
Chinese—Hong Kong language variant is now included.

The old package names including language are aliased to the Super OTC
bundle packages.
2020-02-29 14:57:27 +03:00
Alyssa Ross
dddcfaccbb aliases: helpful 'fetchFromGithub' typo message 2020-02-28 14:38:16 +00:00
Lily Ballard
18007d5656 xv: 0.1.1 -> 0.1.2, rename to xxv
Also update the license.
2020-02-27 22:58:32 -08:00
Florian Klink
fb17ac3786 sundials_3: remove
This package has only been used for python.pkgs.scikits-odes, which
should compile with sundials 5 by now.
2020-02-19 15:38:45 +01:00
Michele Guerini Rocco
8de09faad1
Merge pull request #79664 from rnhmjoj/dina
dina: generate otb files with fontforge
2020-02-15 01:28:40 +01:00
rnhmjoj
72bdf27771
rxvt-unicode: fix typo in aliases.nix 2020-02-13 09:30:22 +01:00
Frederik Rietdijk
424697d512 Merge master into staging-next 2020-02-12 09:55:31 +01:00
Maximilian Bosch
3d1007716c
pinentry_qt5: alias to pinentry-qt
Attribute was removed in a4916fdea5 which
will land in 20.03, but breaks evaluation for everyone using
pinentry_qt5 on NixOS 19.09 when updating.
2020-02-11 16:10:01 +01:00
Frederik Rietdijk
1a6c3cb06b Merge staging into staging-next 2020-02-11 07:59:53 +01:00
zimbatm
bcdc90a3a7 ruby_2_4: remove
According to https://endoflife.software/programming-languages/server-side-scripting/ruby
ruby 2.4 will go end-of-life in march, where the new release of nixpkgs
will be cut. We won't be able to support it for security updates.

Remove all references to ruby_2_4 and add ruby_2_7 instead where
missing.

Mark packages that depend on ruby 2.4 as broken:
* chefdk
* sonic-pi
2020-02-10 13:23:35 -05:00
Michele Guerini Rocco
565724c775
Merge pull request #77347 from rnhmjoj/urxvt
rxvt-unicode: rewrite plugin system
2020-02-10 17:21:59 +01:00
rnhmjoj
7f7c94497a
dina,dina-pcf: unify packages 2020-02-10 00:28:56 +01:00
worldofpeace
1b2b9dac5c
Merge pull request #79115 from flokli/simplify-firefox
firefoxPackages.*: remove unsupported packages, clean up derivation
2020-02-09 17:57:55 -05:00
Florian Klink
9bf7d51047 conkeror: remove package
Conkeror doesn't work with any secure firefox release.
Please move to some of the alternatives suggested at
http://conkeror.org/Alternatives.
2020-02-09 22:48:27 +01:00
Maximilian Bosch
dd6a291e9f
gcc-snapshot: remove
Package is marked as broken for >2 years and used a fairly old
snapshot from the gcc7-branch, so I fairly doubt that this is
somewhere used (and is also pretty misleading as you don't expect a
random snapshot from gcc7 at `pkgs.gcc-snapshot`).
2020-02-09 22:46:29 +01:00
Florian Klink
84af9839e0 firefoxPackages.*, firefox-esr*, icecat: add aliases 2020-02-09 22:33:33 +01:00
Florian Klink
cbbb81c830
Merge pull request #79135 from dtzWill/fix/moby-now-linuxkit
moby: remove, merged into linuxkit in 2018
2020-02-05 01:09:15 +01:00
Will Dietz
3e83806771
moby: remove, merged into linuxkit in 2018
Don't alias linuxkit, as linuxkit is not a drop-in replacement.
Instead, throw with an explanation.
(thanks reviewers!)
2020-02-04 17:51:03 -06:00
Maximilian Bosch
f28acbdd33
Merge pull request #79221 from Ma27/bump-oracle-sqldeveloper
sqldeveloper: {17.4.1.054.0712,18.2.0.183.1748} -> 19.4.0.354.1759
2020-02-04 22:25:44 +01:00
Maximilian Bosch
294f667121
sqldeveloper: {17.4.1.054.0712,18.2.0.183.1748} -> 19.4.0.354.1759
There are no new releases of sqldeveloper v17/v18 and I don't think that
we should keep obviously unmaintained software that interacts with
database systems.

I removed `sqldeveloper_18` and `pkgs.sqldeveloper` now points to
version 19.4. Unfortunately I had to drop darwin support as JavaFX is
required for 19.4 which is part of the `oraclejdk` which isn't packaged
for darwin yet.

For further information please refer to the release notes:

https://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/sqldev-relnotes-194-5908846.html
2020-02-04 13:51:52 +01:00
Marek Mahut
65a1a68614 dat: move from all-packages to aliases 2020-02-04 12:52:54 +01:00
Will Dietz
ccdfbcd63c
Merge pull request #78661 from dtzWill/fix/matrique-alias-for-spectral
matrique: move to aliases.nix, not primary attribute name
2020-02-03 17:39:27 -06:00
Will Dietz
67ab3bab81
matrique: move to aliases.nix, not primary attribute name
Noticed when searching for the spectral package:

https://nixos.org/nixos/packages.html?channel=nixos-unstable&query=%5Espectral

.. which presently indicates `matrique` is the attribute name.

(matrique became spectral at some point in 2018)
2020-02-03 17:37:25 -06:00
worldofpeace
74e4cb7ea4
Merge pull request #78543 from Atemu/dnscrypt-proxy2-service
nixos/dnscrypt-proxy2: init
2020-02-02 23:02:06 -05:00
worldofpeace
39e893c468 dnscrypt-proxy: remove 2020-02-02 21:51:19 -05:00
Florian Klink
a1bcf2c90e
Merge pull request #77426 from lheckemann/remove-otter
otter-browser: remove
2020-02-02 22:29:35 +01:00
Linus Heckemann
c99e248f3c otter-browser: remove
I have no interest in maintaining this anymore and it has no other maintainers.
2020-02-02 22:28:20 +01:00