3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

39129 commits

Author SHA1 Message Date
adisbladis c1a66a49fb
Merge pull request #47169 from t184256/nixpkgs-python-importer
pythonPackages.nixpkgs: init at 0.2.2
2018-09-28 12:59:18 +08:00
Alexander Sosedkin c73048605c pythonPackages.nixpkgs: init at 0.2.2
Allows to `from nixpkgs import` stuff in interactive Python sessions
2018-09-28 11:47:11 +07:00
John Ericson 33716c1d4b
Merge pull request #47443 from obsidiansystems/ghcjs-no-double-callPackage
ghcjs-{7.10, 8.0}: Improve overriding situation
2018-09-27 19:11:49 -04:00
John Ericson 5ba8458ebd ghcjs-{7.10, 8.0}: Expose the good .override
The per-version `default.nix`es just fill in default arguments. It is
much more useful to have the `.override` from the inner `callPackage`,
for finer control. Converting the outer `callPackage` to a plain import
makes the inner one the only one, revealing its `.override`.
2018-09-27 18:48:13 -04:00
John Ericson 94d12f3e7c ghcjs-{7.10, 8.0}: Make symmetrical
There's no reason other than misleading branch names to prefer one over
another.
2018-09-27 18:37:10 -04:00
Vincent Laporte c8f3e0f118 ocamlPackages.elpi: init at 1.0.5 2018-09-27 17:41:12 +00:00
nek0 49bee199dd add gmic-qt 2018-09-27 19:28:23 +02:00
Philip Patsch 46651b82b8 include-what-you-use: 0.8 -> 0.10
Updates to llvm 6, fixes python scripts in /bin.
2018-09-27 16:44:49 +02:00
Jörg Thalheim 2255fce780
Merge pull request #47270 from Vskilet/roundcube-package
roundcube: init at 1.3.7
2018-09-27 14:59:40 +01:00
volth 507b2fdde3 remove Perl 5.22 and 5.24 (end-of-life upstream few months ago) 2018-09-27 09:58:50 +00:00
Austin Seipp af48e5783a libiio: install python bindings
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-09-26 19:37:40 -05:00
Vincent Laporte 23900febe7 coq: 8.8.1 -> 8.8.2 (#47388) 2018-09-26 22:26:39 +02:00
Wael M. Nasreddine f95c18f3d1
terraform-provider-nixos: move the provider to the inside of terraform.withPlugins 2018-09-26 13:10:27 -07:00
Graham Christensen fd045173ce referencesByPopularity: init to sort packages by a cachability heuristic
Using a simple algorithm, convert the references to a path in to a
sorted list of dependent paths based on how often they're referenced
and how deep in the tree they live. Equally-"popular" paths are then
sorted by name.

The existing writeReferencesToFile prints the paths in a simple
ascii-based sorting of the paths.

Sorting the paths by graph improves the chances that the difference
between two builds appear near the end of the list, instead of near
the beginning. This makes a difference for Nix builds which export a
closure for another program to consume, if that program implements its
own level of binary diffing.

For an example, Docker Images. If each store path is a separate layer
then Docker Images can be very efficiently transfered between systems,
and we get very good cache reuse between images built with the same
version of Nixpkgs. However, since Docker only reliably supports a
small number of layers (42) it is important to pick the individual
layers carefully. By storing very popular store paths in the first 40
layers, we improve the chances that the next Docker image will share
many of those layers.*

Given the dependency tree:

    A - B - C - D -\
     \   \   \      \
      \   \   \      \
       \   \ - E ---- F
        \- G

Nodes which have multiple references are duplicated:

    A - B - C - D - F
     \   \   \
      \   \   \- E - F
       \   \
        \   \- E - F
         \
          \- G

Each leaf node is now replaced by a counter defaulted to 1:

    A - B - C - D - (F:1)
     \   \   \
      \   \   \- E - (F:1)
       \   \
        \   \- E - (F:1)
         \
          \- (G:1)

Then each leaf counter is merged with its parent node, replacing the
parent node with a counter of 1, and each existing counter being
incremented by 1. That is to say `- D - (F:1)` becomes `- (D:1, F:2)`:

    A - B - C - (D:1, F:2)
     \   \   \
      \   \   \- (E:1, F:2)
       \   \
        \   \- (E:1, F:2)
         \
          \- (G:1)

Then each leaf counter is merged with its parent node again, merging
any counters, then incrementing each:

    A - B - (C:1, D:2, E:2, F:5)
     \   \
      \   \- (E:1, F:2)
       \
        \- (G:1)

And again:

    A - (B:1, C:2, D:3, E:4, F:8)
     \
      \- (G:1)

And again:

    (A:1, B:2, C:3, D:4, E:5, F:9, G:2)

and then paths have the following "popularity":

    A     1
    B     2
    C     3
    D     4
    E     5
    F     9
    G     2

and the popularity contest would result in the paths being printed as:

    F
    E
    D
    C
    B
    G
    A

* Note: People who have used a Dockerfile before assume Docker's
Layers are inherently ordered. However, this is not true -- Docker
layers are content-addressable and are not explicitly layered until
they are composed in to an Image.
2018-09-26 15:50:10 -04:00
Matthew Bauer 07cc937d60
Merge pull request #45934 from utdemir/master
bluejeans-gui: init at 1.6.39
2018-09-26 13:26:53 -05:00
Amin Bandali 4586ff7395 alloy: add alloy5 and take maintainership (#47262)
Add alloy5 (currently, 5.0.0.1), update homepage and downloadPage, and
take maintainership of the package.
2018-09-26 17:46:58 +01:00
aszlig 593062ddc2
fetchFromGitLab: Fix grouping issue for group arg
Issue introduced by c3612b97e6.

Example output before that commit (witch a random package using
fetchFromGitLab):

$ nix-instantiate --eval -A hiawatha.src.urls
[ "https://gitlab.com/api/v4/projects/hsleisink%2Fhiawatha/repository/archive.tar.gz?sha=v10.8.1" ]

After the commit:

$ nix-instantiate --eval -A hiawatha.src.urls
[ "https://gitlab.com/api/v4/projects/%2Fhsleisink%2Fhiawatha/repository/archive.tar.gz?sha=v10.8.1" ]

And with this very commit, which fixes the issue:

$ nix-instantiate --eval -A hiawatha.src.urls
[ "https://gitlab.com/api/v4/projects/hsleisink%2Fhiawatha/repository/archive.tar.gz?sha=v10.8.1" ]

The problem was that it has used optionalString in conjunction with "+",
so the optionalString only applied to the left-hand side of the +
operator.

Thanks to @ryantm for reporting the issue at:

c3612b97e6 (r220576764)

Signed-off-by: aszlig <aszlig@nix.build>
Reported-by: Ryan Mulligan <ryan@ryantm.com>
2018-09-26 16:17:18 +02:00
Roman Volosatovs eb7b217182 go-2fa: Init at 1.1.0 2018-09-26 11:36:02 +02:00
volth 92a9c5ac7d net_snmp: build with default perl (#47373) 2018-09-26 08:51:22 +02:00
Will Dietz a0248a0b68
Merge pull request #47365 from dtzWill/feature/matrix-clients
spectral: init at 2018-09-24; nheko: 0.5.0 -> 0.6.0 and bump dep mtxclient
2018-09-25 22:14:29 -05:00
xeji 14a1907afa
Merge pull request #47358 from volth/perl-dev
perl: add devel version at 5.29.3
2018-09-26 00:20:07 +02:00
aszlig 65d0b082f3
Merge Paperwork update to version 1.2.4 (#46487)
Thanks to @symphorien for this work, which apart from the update itself
includes a few more fixes and cleanups.

I've tested building and running the upgraded Paperwork and while I
haven't done extensive testing on every little feature it seems to work
so far.

The changes also include an addition to fetchFromGitLab, which allows to
specify a group.

Merges: #46487
2018-09-25 23:13:08 +02:00
xeji 4ad424fbd6
qboot: 20150603 -> 20170330, fix build (#47364)
Switch back to original upstream project which is more recent
than the fork we used.
2018-09-25 22:32:46 +02:00
John Ericson 26272e52a0
Merge pull request #47362 from obsidiansystems/ghc-sphinx
ghc: Sphinx is a build-time dependency
2018-09-25 16:31:11 -04:00
John Ericson 21c2437cc6 ghc: Sphinx is a build-time dependency 2018-09-25 16:29:03 -04:00
Will Dietz 3ede6674a6 spectral: init at 2018-09-24
* needs at least qtgraphicaleffects not mentioned in docs
* doesn't want to use our libqmatrixclient, so let it use bundled
* took a few runs (or perhaps just patience with one) to populate,
  when my profile icon appeared it seemed ready-- then click it
  to see list of rooms and such.
2018-09-25 15:13:15 -05:00
volth 06faf5cc5c perl: add devel version at 5.29.3 2018-09-25 19:51:20 +00:00
Orivej Desh 42df4e6686 pokerth: build with protobuf 3.4
It fails to compile with 3.5 and 3.6.
2018-09-25 17:45:35 +00:00
Orivej Desh 9eb751496c python.pkgs.protobuf: build with the default protobuf 2018-09-25 17:45:35 +00:00
Orivej Desh 616c30af9f protobuf: default to protobuf3_6 2018-09-25 17:45:35 +00:00
Alexey Lebedeff a6ff5865d1 rabbitmq-server: 3.6.10 -> 3.7.8
- New dependency on 'getconf' binary for
  3aa619e9ef/src/vm_memory_monitor.erl (L448)
- New dependency on 'socat' for systemd notifications
  4a3ee3a336/src/rabbit.erl (L361)
- elixir_1_6 for a new 'rabbitmqctl' tool
- Replace patching with providing custom PATH, as we already have some
  other things here
- Renamed package in all-packages.nix from a legacy spelling
2018-09-25 11:19:23 +02:00
Sarah Brofeldt 0260747427
Merge pull request #46924 from colemickens/azcopy
azcopy: init at 10.0.1
2018-09-25 10:17:43 +02:00
Jan Tojnar aba011fe71
Merge pull request #47305 from worldofpeace/qgnome
Add adwaita-qt & qgnomeplatform
2018-09-25 10:16:53 +02:00
Samuel Dionne-Riel 12051db622 U-Boot: Add Orange Pi Zero Plus2 (H5) build 2018-09-25 10:04:14 +03:00
aszlig 19e83bc2ba
Merge autoPatchelfHook improvements (#47222)
This includes the initialy commit was done by @Mic92 plus a few fixes
from my side. So essentially this avoids patching statically linked
executables and also speeds up searching for ELF files altogether.

I've tested this by comparing the outputs of all the derivations which
make use of this hook using the following Nix expression:

  let
    getPackagesForRev = rev: with import (builtins.fetchGit {
      url = ./.;
      inherit rev;
    }) { config.allowUnfree = true; }; [
      cups-kyodialog3 elasticsearch franz gurobi javacard-devkit
      masterpdfeditor maxx oracle-instantclient powershell reaper
      teamviewer unixODBCDrivers.msodbcsql17 virtlyst wavebox zoom-us
    ];

    pkgs = import <nixpkgs> {};
    baseRev = "ef764eb0d8314b81a012dae04642b4766199956d";

  in pkgs.runCommand "diff-contents" {
    chset = pkgs.lib.zipListsWith (old: new: pkgs.runCommand "diff" {
      inherit old new;
      nativeBuildInputs = [ pkgs.nukeReferences ];
    } ''
      mkdir -p "''${NIX_STORE#/}"
      cp --no-preserve=all -r "$old" "''${NIX_STORE#/}"
      cp --no-preserve=all -r "$new" "''${NIX_STORE#/}"
      find "''${old#/}" "''${new#/}" \
        \( -type f -exec nuke-refs {} + \) -o \( -type l -delete \)
      mkdir "$out"
      echo "$old" > "$out/old-path"
      echo "$new" > "$out/new-path"
      diff -Nur "''${old#/}" "''${new#/}" > "$out/diff" || :
    '') (getPackagesForRev baseRev) (getPackagesForRev "");
  } ''
    err=0
    for c in $chset; do
      if [ -s "$c/diff" ]; then
        echo "$(< "$c/old-path") -> $(< "$c/new-path")" \
             "differs, report: $c/diff" >&2
        err=1
      fi
    done
    [ $err -eq 0 ] && touch "$out"
  ''

With these changes there is only one derivation which has altered
contents, which is "franz". However the reason why it has differing
contents is not directly because of the autoPatchelfHook changes, but
because the "env-vars" file from the builder is in
"$out/opt/franz/env-vars" (Cc: @gnidorah) and we now have different
contents for NIX_CFLAGS_COMPILE and other environment variables.

I also tested this against a random static binary and the hook no longer
tries to patch it.

Merges: #47222
2018-09-25 05:21:01 +02:00
Ryan Mulligan 8d865c9515
Merge pull request #44956 from puffnfresh/package/blastem
blastem: init at 0.5.1
2018-09-24 20:04:55 -07:00
Orivej Desh (NixOS) 9942ceef1f
Merge pull request #47307 from orivej/protobuf
protobuf3_6: init at 3.6.1
2018-09-25 02:20:51 +00:00
worldofpeace 94d079b6bc adwaita-qt: init at 1.0 2018-09-24 22:16:00 -04:00
worldofpeace 6793313708 qgnomeplatform: init at 0.4 2018-09-24 22:16:00 -04:00
Kristoffer Thømt Ravneberg 6946d97ce4 gitlab-ee: init at 11.2.3 2018-09-25 03:53:32 +02:00
Orivej Desh 1c3ecab0f7 protobuf3_6: init at 3.6.1 2018-09-25 01:44:46 +00:00
John Ericson 4adf621798 Merge remote-tracking branch 'upstream/master' into haskell-no-rec 2018-09-24 20:09:25 -04:00
John Ericson e6a476c862 ghc, ghcjs: Get rid of extraneous alex, happy, and hscolour args
The compilers themselves can pull them from `bootPkgs`, where they
should always come from anyways. This enforces that, simplifies that
code, and allows use to avoid more `rec { ... }` too.
2018-09-24 20:00:39 -04:00
Brian McKenna 77088b5d12 blastem: init at 0.5.1 2018-09-25 09:33:11 +10:00
John Ericson 5779fdb3d0 haskellPackages: Avoid outer rec { .. }
This is much nicer for overlays. For example, if someone binds a new
compiler / package set, its integer-simple variation will automatically
appear.
2018-09-24 18:42:04 -04:00
Jan Malakhovski 6ebad0821f bluez-alsa: init at 1.3.1 (#47236) 2018-09-24 22:42:20 +02:00
Jörg Thalheim 0fcf01958b
Merge pull request #47112 from Avaq/add/twa
twa: init at 1.3.1
2018-09-24 21:41:37 +01:00
Elis Hirwing a12787e61a phpPackages.phpcbf: 3.3.1 -> 3.3.2
Changelog: https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.3.2
2018-09-24 22:17:51 +02:00
Elis Hirwing 1b0500e3f1 phpPackages.phpcs: 3.3.1 -> 3.3.2
Changelog: https://github.com/squizlabs/PHP_CodeSniffer/releases/tag/3.3.2
2018-09-24 22:17:51 +02:00
Jörg Thalheim 725b57ba11
Merge pull request #47283 from flokli/elasticsearch-dsl-6.2.1
pythonPackages.elasticsearch-dsl: 0.0.9 -> 6.2.1
2018-09-24 20:40:21 +01:00
Florian Klink 18c7fbd78d pythonPackages.elasticsearch-dsl: 0.0.9 -> 6.2.1 2018-09-24 21:08:31 +02:00
Jörg Thalheim d123b30ed1
Merge pull request #47279 from asymmetric/asymmetric/remove-dapptools
Remove DappHub projects
2018-09-24 18:49:18 +01:00
Lorenzo Manacorda 6017c6fa5b *: remove DappHub projects
DappHub maintains a separate overlay at
https://github.com/dapphub/dapptools/blob/master/overlay.nix
2018-09-24 19:24:06 +02:00
José Romildo Malaquias 7cd824116a shades-of-gray-theme: init at 1.1.1 (#47280) 2018-09-24 19:22:56 +02:00
Edward Tjörnhammar 491a580716
pythonPackages.sharedmem: init at 0.3.5 2018-09-24 17:00:55 +02:00
Victor SENE 1e7997bdd2 roundcube: init at 1.3.7 2018-09-24 16:44:29 +02:00
Jörg Thalheim 3e270ff919
Merge pull request #46668 from mbode/doitlive_4
doitlive: 3.0.3 -> 4.0.1
2018-09-24 13:26:27 +01:00
Aldwin Vlasblom 6539722622
twa: init at 1.3.1 2018-09-24 13:31:54 +02:00
Jack Kelly 1def63c923 ultimate-oldschool-pc-font-pack: init at 1.0 2018-09-24 16:49:42 +10:00
Michael Raskin 610203c126
Merge pull request #47259 from AveryLychee/fix/treesheets
treesheets: 2017-03-27 -> 2018-08-18
2018-09-24 05:27:46 +00:00
Vincent Laporte cbc609ca8c ocamlPackages.odoc: init at 1.2.0 2018-09-24 05:08:37 +00:00
Vincent Laporte 886acaff11 ocamlPackages.doc-ock-xml: init at 1.2.1 2018-09-24 05:08:37 +00:00
Vincent Laporte 41f06396cc ocamlPackages.doc-ock-html: init at 1.2.1 2018-09-24 05:08:37 +00:00
Vincent Laporte 55ef56b260 ocamlPackages.doc-ock: init at 1.2.1 2018-09-24 05:08:37 +00:00
Avery Lychee 14058e3cbc treesheets: 2017-03-27 -> 2018-08-18 2018-09-24 13:06:43 +10:00
Andrew Dunham 7086e1fec3 xloadimage: init at 4.1 (#47198) 2018-09-24 00:04:07 +02:00
xeji ccd2862130
Merge pull request #47141 from vbgl/jackline-20180511
jackline: 2017-12-24 -> 2018-05-11
2018-09-23 23:29:10 +02:00
Dmitry Kalinkin cd1b9d93e6 pyjet: init at 1.3.0 (#47243) 2018-09-23 22:40:29 +02:00
Jörg Thalheim 58a97dfb49 autoPatchelfHook: do not patch statically linked files
Also speed up quite significantly due less forking.
2018-09-23 21:33:43 +01:00
Will Dietz bb110d80fc llvm7: init at 7.0.0rc3
Copy of 6 + updated hashes
2018-09-23 13:30:16 -05:00
John Ericson 359d00f8b0 top-level: system should still come from the host platform
2a6e4ae49a and
e51f736076 reverted a bit too much, and I
initially missed this when reviewing. The release notes already still
mention this change, too.
2018-09-23 13:24:44 -04:00
Sarah Brofeldt 4445414073
Merge pull request #44968 from Ekleog/wasm-gc-init
wasm-gc: init at 0.1.6
2018-09-23 16:07:34 +02:00
Léo Gaspard 0602e6ddfe
wasm-gc: init at 0.1.6 2018-09-23 22:33:09 +09:00
markuskowa 3f883b443c gnuradio-limesdr: init at 1.0.0-RC (#47176) 2018-09-23 10:08:50 +02:00
Frederik Rietdijk 56853dc6d8
Merge pull request #45941 from NixOS/staging-next
Staging next
2018-09-23 09:31:28 +02:00
Frederik Rietdijk 343ac4d2fc
Merge pull request #42619 from nyanloutre/pythonPackages.block-io
pythonPackages.block-io: init at 1.1.8
2018-09-23 09:27:51 +02:00
Charles Duffy bd13ef5944 Introduce desync, an alternate implementation of casync (#47195)
desync isn't as feature-rich as casync, but has a focus on production usability
and implementation quality which may make it a more appropriate tool.
2018-09-23 01:22:07 +02:00
Daiderd Jordan 52a1179b6c ffmpeg: don't use gcc on darwin (#47189)
This isn't necessary and causes build failures for certain versions.

    CC      libavfilter/libmpcodecs/vf_eq2.o
    CC      libavfilter/libmpcodecs/vf_fil.o
    CC      libavfilter/libmpcodecs/vf_fspp.o
    libavfilter/libmpcodecs/vf_fspp.c:939:18: error: unknown token in expression
            movq %mm2, 0*8+(%rsp)

/cc ZHF #45961
2018-09-22 23:13:10 +02:00
Jörg Thalheim a8413d816a luaPackages.luadbi: 0.5 -> 0.6 (#47156)
Switch to maintained fork that is compatible with lua5.2/lua5.3.
This package was tested with prosody.
2018-09-22 22:27:35 +02:00
adisbladis 54cbcdf6a9
Merge pull request #46921 from rawtaz/open-vm-tools
open-vm-tools: 10.1.10 -> 10.3.0
2018-09-22 19:17:52 +08:00
Jörg Thalheim e969e0f78a
Merge pull request #47138 from Jeschli/pev
pev: init at unstable-2018-07-22
2018-09-22 11:56:59 +01:00
jeschli 4c9898108d pev: init at unstable-2018-07-22 2018-09-22 12:14:56 +02:00
Maximilian Bode ff2dddac7d pythonPackages.click-completion: init at 0.4.1 2018-09-22 09:52:49 +02:00
Maximilian Bode af7adc206d pythonPackages.shellingham: init at 1.2.6 2018-09-22 09:52:48 +02:00
Maximilian Bode be1f39244f pythonPackages.click-didyoumean: init at 0.0.3 2018-09-22 09:52:48 +02:00
Jan Tojnar 93408aecc4
Merge pull request #46274 from mvnetbiz/libratbag
libratbag: init at v0.9.903
2018-09-21 22:49:17 +02:00
Vincent Laporte dbd5783791
jackline: 2017-12-24 -> 2018-05-11 2018-09-21 17:04:24 +00:00
Vincent Laporte 26aa4c36ba
ocamlPackages.erm_xmpp: 0.3 -> 0.3+20180112 2018-09-21 17:04:23 +00:00
Christian Kauhaus 544eaaa52b lua: remove lua4 and lua5_0
Both versions are not maintained anymore upstream and have open security
issues, e.g. https://nvd.nist.gov/vuln/detail/CVE-2014-5461.

The same holds for lua5_1 but that seems to be in use in some places.

Re #47122
Re #47123
2018-09-21 15:56:41 +02:00
Will Dietz 69b2c0dcf1 utmps: add top-level attribute, as was the style at the time 2018-09-21 05:42:53 -05:00
Matt Votava 78f1715149 piper: init at 0.2.902
Add package piper. Piper is a gtk frontend application for ratbagctl
to configure gaming mice.
2018-09-21 02:15:38 -07:00
Matt Votava 9a859fb7f9 libratbag: init at v0.9.903
Add package libratbag and service module ratbagd
Libratbag contains ratbagd daemon and ratbagctl cli to configure
buttons, dpi, leds, etc. of gaming mice.
Add mvnetbiz to maintainers.
2018-09-21 02:13:49 -07:00
Cole Mickens 97f3a2e7b8 azcopy: init at 10.0.1 2018-09-21 01:17:52 -07:00
Will Dietz e8693206ee utmps: init at 0.0.1.3
Haven't tried using it, but packging it is first step! :)
2018-09-20 23:46:31 -05:00
xeji 2c5ae2ae61
liquidwar: fix build (#47064)
- add missing dependencies readline and libtool that used to be
  propagated by guile but aren't anymore
- build with guile 2.0 instead of 1.8
2018-09-21 00:19:01 +02:00
Austin Seipp 0214f9e25e perlPackages.MojoIOLoopForkCall: 0.19 -> 0.20
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-09-20 15:17:30 -05:00
Austin Seipp 08815b9af8 perlPackages.Mojolicious: 7.88 -> 8.0
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2018-09-20 15:17:30 -05:00
xeji 9114d13d00
Merge pull request #46910 from dtzWill/update/i7z-0.27.3
i7z: 0.27.2 -> 0.27.3, cleanup, various fixes, maintained fork, qt5
2018-09-20 21:28:54 +02:00
Tim Steinbach 7d30b3d10c
linux: 4.18.8 -> 4.18.9 2018-09-20 09:52:48 -04:00
Jörg Thalheim 3388263e82
Merge pull request #46752 from rvolosatovs/feature/gotools
Gotools etc. update, remove goimports
2018-09-20 08:16:43 +01:00