Commit Graph
79 Commits
Author SHA1 Message Date
Benjamin Hipple 6206a342e0 mkl: include Intel's libiomp.so in the MKL RPM unpack
Since Intel's default openmp implementation is available in the same src
tarball, we can just include it in the package. This means that `mkl` now "just
works" without any environment variables, fragile setup-hooks, or forced
propagation.

Since the openmp implementation is only needed at runtime (and for test cases),
users can substitute a different one if they prefer by exporting it with
`LD_PRELOAD`, which is how Intel recommends handling this. If they do not do so,
`libiomp.so` lives next to `libmkl_rt.so` and thus will be in the RPATH as a
sane default.

Since this still comes from the same src tarball, we can ship it without losing
the fixed-output derivation; likewise, since Hydra is not building or caching
these, shipping these proprietary packages costs no bandwidth for the nix
community.
2018-12-19 22:05:22 +01:00
Benjamin Hipple 8dbc8e586c fetchurl: refresh and add extra KDE mirrors
* fetchurl: fix and add extra KDE mirrors (#51480)

- The gwdg.de mirror has moved the relative path of its KDE tarballs
- Add new mirrors from Berkeley and MIT, which are on the list of officially supported mirrors

https://download.kde.org/extra/download-mirrors.html

* More KDE mirror touchups

- The official one is a redirect to HTTPS anyways, so go directly to HTTPS
- Add China USTC for Asian users
- Swap Finland university from FTP to HTTP

* fetchurl: keep one ftp KDE mirror
2018-12-08 15:39:05 +01:00
Benjamin Hipple 72c059fad6 waf: 2.0.10 -> 2.0.13 2018-12-06 00:14:53 +00:00
Benjamin Hipple 08c75aaedc libffi: swap src URL from FTP to HTTPS
HTTPS is never worse and often better than FTP, since it's faster, more secure,
and more likely to be accessible through firewalls.

This does not change the tarball sha, as confirmed by `nix-prefetch-url`.
2018-12-03 22:10:29 +00:00
Benjamin Hipple a7d1474023 emacsPackagesNg.trivialBuild: cleanup and standardize function
No real function change here, but this updates the trivial and melpa builders to
be formatted more consistently with the rest of the builders, and swaps
`eval "$preBuild"` for the more standard `runHook preBuild`.
2018-11-27 00:23:04 -05:00
Benjamin Hipple a4758050a3 ghc bootstrap binary: 8.2.1 -> 8.2.2
If the nix store lives on NFS, `ghc 8.2.1` is unable to build a package
database. This bug was fixed by @bgamari in `ghc 8.2.2` here:
https://ghc.haskell.org/trac/ghc/ticket/13945

This commit upgrades the unpacked bootstrap GHC version, so that we can build
newer versions of GHC even if the store is on NFS.
2018-11-21 16:06:22 +01:00
Benjamin Hipple 286e7a57c4 docs: fix minor grammar issues in the manual 2018-11-14 21:40:47 -05:00
Benjamin Hipple a649f1c0cd doc: fix default python interpreter
The default for `python3` is currently `python36`.
2018-11-10 13:00:10 -05:00
Benjamin Hipple baf0703010 pythonPackages.pythondaemon: rename to pythonPackages.python-daemon
This commit renames the pythondaemon module to match its module name, github
name, and pypi name, which makes it easier to find and reference. In order to
avoid breaking any external users, I've left an alias with a deprecated warning.
2018-10-30 21:09:34 +01:00
Benjamin Hipple f65afcb4c3 pythonPackages.bitarray: init at 0.8.3 2018-10-22 17:23:05 -04:00
Benjamin Hipple 9e056a9629 libdbusmenu-qt: 0.9.3+14 -> 0.9.3+16
The upgraded version has memory leak fixes and test case fixes for qt5.

This also swaps to git due to difficulties in fetching src with `bzr` without
'not a branch' errors.
2018-10-19 20:15:11 +00:00
Benjamin Hipple 7472c5477a luigi: init at 2.7.9 2018-10-13 06:24:07 -04:00
Benjamin Hipple 964214b107 cpplint: init at 1.3.0
Static analyzer for C++ code. Licensed under a very permissive, generic Google license (BSD3 wording).
2018-10-12 18:51:43 +00:00
Benjamin Hipple 1bcdf27c48 Update with code review feedback; add example python application 2018-10-12 10:06:25 +02:00
Benjamin Hipple c0af13f1c8 python: update documentation
This touches up a handful of places in the python documentation to try to make
the current best-practices more obvious. In particular, I often find the
function signatures (what to pass, what not to pass) confusing and have added
them to the docs.

Also updated the metas to be more consistent with the most frequently used
modern style.
2018-10-12 10:06:25 +02:00
Benjamin Hipple 4e7c822dc6 grub: fetch from HTTPS instead of FTP; update meta (#48137)
HTTPS is unlikely to be worse and is often better than FTP. Aside from being
faster, there are many networking setups where outgoing FTP traffic is blocked.
2018-10-10 22:25:14 +02:00
Benjamin Hipple d78da463c5 par: add license 2018-10-09 21:35:12 -04:00
Benjamin Hipple 87a089bacc xen: add license 2018-10-09 21:29:08 -04:00
Benjamin Hipple 3ec3116fae harfbuzz: add license 2018-10-09 21:27:05 -04:00
Benjamin Hipple b721a1b9a9 pytest: add license 2018-10-09 21:23:37 -04:00
Benjamin Hipple cd1f5914bd pythonPackages.atom: init at 0.4.1 2018-10-09 21:02:27 -04:00
Benjamin Hipple 11c0d07761 f2fs-tools: fetch src from HTTPS instead of SSH (#48110)
All users can use HTTPS, but some enterprise users may not be able to access
external SSH endpoints behind corporate firewalls.
2018-10-09 22:37:18 +02:00
Benjamin Hipple 8d42787c61 abi-compliance-checker: init at 2.3 2018-10-07 16:09:27 -04:00
Benjamin Hipple cc07807b5b abi-dumper: init at 1.1 2018-10-07 16:09:02 -04:00
Benjamin Hipple f41c55b2ca vtable-dumper: init at 1.2 2018-10-07 16:06:38 -04:00
Benjamin Hipple 2a1fa9a1c9 Add zlib; swap to lz4.dev 2018-10-06 17:04:04 -04:00
Benjamin Hipple 2ed17db8cd slurm: add lz4 dependency
Slurm looks for lz4 by default, and if it finds it can improve its compression techniques
2018-10-05 17:03:18 +00:00
Benjamin Hipple 0b82df8dbe Convert entire mkl package to a fixed-output derivation 2018-10-04 13:16:20 +00:00
Benjamin Hipple ba02a2c371 Add Darwin as a supported platform 2018-10-02 22:53:48 -04:00
Benjamin Hipple d7003ed576 patchelf: fix license
Use the attr set instead of a string
2018-09-29 16:36:33 -04:00
Benjamin Hipple 0b9d9ab256 Remove dead code from stdenv check-meta license logic
The `unfree` and `unfreeRedistributable` licenses both have `free = false`,
which will trigger the first portion of logic. This removes dead code to
simplify the logic.

As a follow-up, I plan to add an attribute `redistributable = [true|false]`,
which can be used by Hydra to determine whether a given package with a given
license can be included in the channel.
2018-09-23 12:48:02 -04:00
Benjamin Hipple d7c1d04af4 mkl: init at 2019.0.117
This packags the Intel Math Kernel library on x86-64 platforms, which is a
dependency for many data science and machine learning packages.

Upstream, Intel provides proprietary binary RPMs with a permissive
redistribution license. These have been repackaged in both Debian and Anaconda,
so we are not the first distribution to redistribute.
2018-09-22 15:28:39 -04:00
Benjamin Hipple 426c2856d7 pythonPackages.python-binance: init at 0.7.0
Library for communicating with the Binance REST API.
2018-09-18 21:44:27 -04:00
Benjamin Hipple 4d8bb9a34a dockerTools: unpin go version
The linked PR has been merged, and in fact dockerTools has upgraded to the
latest `go1.11` compiler:

https://github.com/moby/moby/pull/35739
https://github.com/moby/moby/pull/37358
2018-09-09 11:21:59 -04:00
Benjamin Hipple 291de70ed6 scs: init at 2.0.2 (#45294) 2018-08-23 23:26:41 +02:00
Benjamin Hipple 4e65df60d9 pcre2: fetch src from HTTPS instead of FTP
Same change as in https://github.com/NixOS/nixpkgs/pull/44828, for the same reasons.
2018-08-23 14:52:37 +00:00
Benjamin Hipple 65bb0b23b9 Add platforms.all 2018-08-18 12:11:06 -04:00
Benjamin Hipple 460029cf94 ecos: init at 2.0.6 2018-08-18 03:38:50 +00:00
Benjamin Hipple 0c119682ce p7zip: vendor debian patches
A few months ago I moved these patches to the new debian alsa instance [1], but
it looks like their `sha256`s on the tag at the remote have changed again.

It doesn't appear that debian's source remote is stable in the way we need it to
be; let's just vendor the patches to avoid future issues.

[1] https://github.com/NixOS/nixpkgs/pull/41769
2018-08-16 01:52:30 +00:00
Benjamin Hipple 16d4753344 pythonPackages.fastcache: init at 1.0.2 (#45048) 2018-08-15 11:02:55 +02:00
Benjamin Hipple cc8e4a5884 pythonPackages.multiprocess: 0.70.4 -> 0.70.6.1 (#45047) 2018-08-15 11:01:32 +02:00
Benjamin Hipple 34d7a370c1 antlr: fix license
See #43716
2018-08-11 13:43:56 +00:00
Benjamin Hipple 32b11f423d waf: 2.0.6 -> 2.0.10
This commit also swaps the build tool to use python3 internally (which waf fully
supports and prefers) and swaps the src to be downloaded from gitlab. The waf.io
site only keeps source tarballs of the latest version, so once a new waf comes
out we can no longer reproduce older versions.

We need the ensureNewerSources hook to avoid this error, in both `python2` and `python3`:

    ValueError: ZIP does not support timestamps before 1980
2018-08-09 14:51:28 -04:00
Benjamin Hipple 03709a06a9 pcre: fetch from HTTPS instead of FTP (#44828)
It's not uncommon for enterprise environments to block FTP traffic to external
sites. Since `pcre` gives an official HTTPS download URL [1] alongside the
official FTP endpoint, let's use that instead.

[1] https://www.pcre.org/
2018-08-09 20:21:29 +02:00
Benjamin Hipple c9d55ae426 Set xindy HOME to . 2018-08-09 18:49:35 +02:00
Benjamin Hipple 7c5fd6801b texlive: 2017 -> 2017-final
This commit rebuilds texlive 2017 with the final release of 2017. As described
in these issues [1][2][3], the upstream CTAN mirrors are a continuously moving
rolling release without historical archives.

This particular FTP server is also a rolling release folling CTAN for the latest
version, but it has snapshots of the final texlive releases; it appears that the
2017 distribution has been unmodified since texlive-2018 was released earlier
this year.

Along the way, we needed to fix several issues:
- xindy: if $HOME is unset, it will try to mkdir /homeless-shelter, which fails
  due to insufficient permissions.
- scheme-infraonly: this scheme had symlinks into other releases that were
  read-only, so it couldn't patch and modify the scripts. This commit removes it
  for now, but that's not a particularly satisfying solution. Ideas?

This also adds some documentation on the upgrade process to prepare for
texlive-2018 [4].

This commit also replaces the sha1 hashes with upstream's standard sha512 hashes.
It appears the motivation for the shorter hashes was to save disk space in the
derivations; in master, the size of this directory is 1012K; in this commit it
is 1600K. The difference is not particularly large, and the downsides to using
our own sha1 hashes are:

- More nix code to maintain
- Multi-step upgrade process for maintainers: the maintainer first has to
  download all upstream tarballs by sha512 hash, then run the fix script, then
  rebuild with sha1 hashes.
- Less transparent. If we use the upstream sha512 hashes, any user can
  immediately verify that the hashes we're providing match upstream, or match
  the snapshot in time.
- Easier to debug. Since upstream is rolling and packages may disappear or fail
  to build, it's useful to be able to determine if the sha mismatch is because
  of an update or not; if we have a sha1 mismatch and no tarball to pull, we
  can't figure out which sha512sum would have produced that sha1.
- Less trust required. Due to the above, users don't have to trust the
  content-addressed mirrors on IPFS and @veprbl's servers as much.
- Easier to cobble together a source distribution from a variety of sources. It
  seems some FTP servers have more/less than others, or older/newer packages. If
  we know what we're looking for beforehand and we're just missing a few
  packages whose hashes match the advertised hashes upstream, it's easier to find.

[1] https://github.com/NixOS/nixpkgs/issues/24683
[2] https://github.com/NixOS/nixpkgs/issues/10026
[3] https://github.com/NixOS/nixpkgs/issues/34490
[4] https://github.com/NixOS/nixpkgs/issues/40232
2018-08-09 18:49:35 +02:00
Benjamin Hipple bc4c0c4f4d pythonPackages.plaid-python: 2.3.0 -> 2.3.3 (#43905) 2018-07-21 23:09:21 +02:00
Benjamin Hipple dab1b67f9a pythonPackages.aws-adfs: init at 0.12.0 (#43458) 2018-07-15 17:16:32 +02:00
Benjamin Hipple 47dfba89d1 s4cmd: init at 2.0.1
Tool for interacting with S3 buckets, with some performance optimizations over s3cmd.

Skips installing the bash shell completion scripts in /etc, to work around:
https://github.com/NixOS/nixpkgs/issues/4968
https://github.com/pypa/setuptools/issues/130
2018-07-12 23:08:36 -04:00
Benjamin Hipple 6e146c3700 pythonPackages.plaid-python: init at 2.3.0 (#42530)
* pythonPackages.plaid-python: init at 2.3.0

* Run unit tests with py.test
2018-06-25 15:05:47 +02:00
Benjamin Hipple 39f357a836 slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604 (#42536)
* slurm: 17.11.5 -> 17.11.7, pyslurm: 20180427 -> 20180604

This commit also swaps to use the official repository's github release tags
instead of their download site, which only keeps the most recent version with no
historical archives.

* Document why we don't run tests

* Remove dead testing code
2018-06-25 14:58:04 +02:00
Benjamin Hipple 3bb305515f mariadb: provide multiple src url mirrors
Both mariadb.com and mariadb.org appear to be canonical upstream sources, and
have identical sha256 hashes at these URLs.

For the third-party mirrors, if we are just going to provide one URL, it should
be an HTTPS url instead of FTP or SSH, which many users may not be able to
access due to network security configurations.
2018-06-24 19:03:18 +00:00
Benjamin Hipple acec84f928 fzf: 0.17.3 -> 0.17.4 2018-06-13 22:14:07 +00:00
Benjamin Hipple 17d7650585 mupdf: apply CVE-2018-10289 patch (#41802)
Fixes mupdf issue in https://github.com/NixOS/nixpkgs/issues/41748 by applying
patch from https://bugs.ghostscript.com/show_bug.cgi?id=699271
2018-06-10 22:01:05 +02:00
Benjamin Hipple d81ab0ab7d alsa: setup mirrors for src downloads (#41761)
This commit adds a list of supported mirrors for all alsa projects, as described
on the download section of the alsa-project hompage:
http://alsa-project.org/main/index.php/Download
2018-06-10 20:56:20 +02:00
Benjamin Hipple 5cc335cd55 xfsprogs: swap src url to HTTPS
This swaps the fetchgit call to be more consistent with the majority of other
NixPkgs fetchgit calls. Moreover, almost every network will be able to do HTTPS,
while some enterprise networks may limit external SSH access.
2018-06-09 19:35:39 -04:00
Benjamin Hipple e2b44b3170 fftw: support multiple src URLs
The fftw download page provides both an HTTP and FTP endpoint for downloading release tarballs:
http://fftw.org/download.html

Since some users may have difficulty fetching via FTP through corporate
firewalls, we should provide the option to get it over HTTP as well.
2018-06-09 19:18:16 -04:00
Benjamin Hipple e20abf829a p7zip: fix src URL for debian gitlab move (#41769)
Another broken URL related to: https://github.com/NixOS/nixpkgs/issues/39927

Note that the patch file has legitimately changed, because ~4 months ago Debian
replaced their CVE security fix with a newer version that fixes some additional
bugs: https://salsa.debian.org/debian/p7zip/commit/d6fd3b37345489ec2907fcf70aabf0c754f5371f
2018-06-09 23:08:59 +00:00
Benjamin Hipple 7a17a117d6 npth: use gnupg mirrors for fetchurl
This lets nix try any of the gnupg mirror alternatives if the previous FTP site
is down or temporarily unavailable.
2018-06-09 12:16:24 -04:00
Benjamin Hipple c256347cee pcsclite: fix URL for debian move to gitlab
Another repo moved as part of https://github.com/NixOS/nixpkgs/issues/39927
2018-06-09 11:25:13 -04:00
Benjamin Hipple 646767e961 ctags: fix source url (#41382) 2018-06-03 18:15:51 +02:00
Benjamin Hipple 1baf5cfa7c lz4: 131 -> v1.8.2 (#41293)
Upgrades lz4 from version 131 (released 2015-06-29) to v1.8.2 (released 2018-05-07)
2018-06-03 12:17:32 +00:00
Benjamin Hipple 6bde47d651 pythonPackages.keyring: 12.0.2 -> 12.2.1 (#41142) 2018-05-27 19:58:52 +02:00
Benjamin Hipple ec632ec3b6 pythonPackages.keyrings-alt: 2.3 -> 3.1 2018-05-27 12:51:54 -04:00
Benjamin Hipple a7ab884128 poppler: 0.64.0 -> 0.65.0 (#40786) 2018-05-22 18:22:42 +02:00
Benjamin Hipple 65f58cfaf8 vim_configurable: unpin from old lua 5.1 (#40749)
This pin was added in 2014 during a lua upgrade, but it appears vim today builds
fine with lua 5.2, so we can have it just depend on the `lua` package.
2018-05-20 22:11:43 +02:00
Benjamin Hipple 17f50018c0 lua5.1: fix broken source fetch (#40748)
The upstream src URL for the patch appears to no longer exist. Per discussion in
https://github.com/NixOS/nixpkgs/issues/39927, the upstream URL is not stable,
so this commit inlines the patch in the nixpkgs src tree.
2018-05-19 17:30:04 +02:00
Benjamin Hipple 3fc1694e8a truffleHog: init at 2.0.91
This commit adds the python3 application truffleHog, which is a stand-alone tool
that scans a git repo for unencrypted passwords.

This depends on a newer GitPython, which depends on a new major version of
gitdb, which depends on a new major version of smmap, so I've packaged those
as well in the preceding commits.
2018-05-13 11:41:02 -04:00
Benjamin Hipple 5efce7c43d GitPython: 2.0.8 -> 2.1.9
Also moves GitPython into the newer python module folder structure.
2018-05-13 11:33:42 -04:00
Benjamin Hipple 318ce72a05 gitdb2: init at 2.0.3
Also move gitdb and gitdb2 to the new python module structure.
2018-05-13 11:33:41 -04:00
Benjamin Hipple 68573a61a9 smmap2: init at 2.0.3
This commit adds smmap2, which is a separate pypi package from the existing
smmap 0.9.0, though they both come from the same repo. It also moves smmap into
the new python modules location.
2018-05-13 11:33:41 -04:00
Benjamin Hipple 9e9cc471b6 dejavu-fonts: fix missing Perl IOString dependency (#39341)
Per the docs, IOString was recently added as a dependency:
https://github.com/dejavu-fonts/dejavu-fonts/blob/master/BUILDING.md

As-is, attempting to rebulid from source errors out with this missing perl module.
2018-04-22 23:24:44 +01:00
Benjamin Hipple 5ab428799e conda: init at miniconda3 4.3.31 (#34872)
* conda: init at miniconda3 4.3.31
2018-02-18 18:21:25 +00:00
Benjamin Hipple 537181136c grpc: 1.8.3 -> 1.9.1
Also added meta and license information.
2018-02-13 00:05:52 -05:00
Benjamin Hipple ef6e39fced cryptop: 0.1 -> 0.2
Upgrade to new version. According to the upstream documentation, this project is
only tested on python3, so I've upgraded the pkg's interpreter as well.

Tested with nix-build and ./result/bin/cryptop
2017-12-09 14:59:27 -05:00
Benjamin Hipple 4e022bab76 android-platform-tools: 26.0.0 -> 26.0.2 2017-12-03 16:58:03 -05:00
Benjamin Hipple b1ec502c1e Init Centos 7.4 vmTools diskImage
This commit adds the CentOS 7.4 base image from the CentOS mirror, for use with
building RPMs or evaluating Nix expressions in a CentOS image.

When CentOS 7.5 comes out, I will swap this URL to the permanently vaulted image.
2017-12-03 11:42:34 -05:00
Benjamin Hipple 05c00a8345 haskell docs: fix typo 2017-11-27 22:24:32 -05:00
Benjamin Hipple 368432e17f Init Centos 7.3 vmTools diskImage
This commit adds the CentOS 7.3 base image from the CentOS vault, for use with
building RPMs or evaluating Nix expressions.
2017-11-18 16:05:49 -05:00