Commit Graph

24915 Commits

Author SHA1 Message Date
Izorkin
bfe31dfdcd
unit: update php module config 2018-12-11 20:11:28 +01:00
Izorkin
6c8b7ac931
unit: add php module 7.3 2018-12-11 20:11:08 +01:00
Izorkin
ff7192d4d0
php: init at 7.3.0 2018-12-11 20:11:05 +01:00
Alexey Shmalko
ebd47d7b54
Merge pull request #51838 from spacekookie/railcar
railcar: init at 1.0.4
2018-12-11 20:18:55 +02:00
Samuel Dionne-Riel
31298112f3 caffe2: Use python36Packages explicitly.
Fallout from 0f38d9669f
2018-12-11 11:31:15 +01:00
Ivan
ca8b128aa1 credstash: add standalone Python application (#51807)
credstash was only available as a library. Provide it as a standalone
application as well.

In order for this to work, I needed to remove the copy of
the library that's placed in $out/bin and marked executable
during the install phase. Other than the patched shebang and
executable bit, it's identical to the library that's installed to
$out/lib/python3.7/site-packages.

Before the postFixup has run `wrapPythonPrograms`, $out/bin contains
two Python files -- credstash and credstash.py -- where bin/credstash
is the executable you'd expect a user to invoke from the command-line
and bin/credstash.py contains the credstash module, which bin/credstash
imports.

After `wrapPythonPrograms` has run, bin/credstash is a shell
wrapper around the bin/.credstash-wrapped python entrypoint, and
bin/credstash.py is shell wrapper around bin/.credstash.py-wrapped.
Invoking bin/credstash execs bin/.credstash-wrapped, and that python
script attempts to import the credstash module from bin/credstash.py,
the shell wrapper, rather than either bin/.credstash.py-wrapped or
lib/python3.7/site-packages/credstash.py.

This leads to an error:

    $ credstash get mykey
    Traceback (most recent call last):
      File "/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin/.credstash-wrapped", line 8, in <module>
        from credstash import main
      File "/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin/credstash.py", line 2
        export PATH='/nix/store/6lm4gi5iv8fbf1b1mm6g3gfnnv63f1gn-python3-3.7.1/bin:/nix/store/hk6yma716w6141lcdh509d6qyyi7zm0i-python3.7-credstash-1.15.0/bin:/nix/store/2n13gf1zdr39ir5dynxlkqndxgy36g08-python3.7-setuptools-40.4.3/bin:/nix/store/mhnqwpa4y1l81zi4cwx989i8h8z9g67l-python3.7-jmespath-0.9.0/bin:/nix/store/qc6q3a2nv4211wyh7q319v6zzd3ab6pc-python3.7-docutils-0.14/bin'${PATH:+':'}$PATH
                  ^
    SyntaxError: invalid syntax

If we try using `dontWrapPythonPrograms` to resolve this, runtime
dependency lookups fail:

    $ credstash get mykey
    Traceback (most recent call last):
      File "/run/current-system/sw/bin/credstash", line 7, in <module>
        from credstash import main
      File "/nix/store/8rmldlvlv1z1xl7w02dy7f5qhkzdrg8z-python3.7-credstash-1.15.0/bin/credstash.py", line 26, in <module>
        import boto3
    ModuleNotFoundError: No module named 'boto3'

I was able to resolve things by simply removing bin/credstash.py before
the postFixup phase has a chance to wrap any executables. Now the
executable imports the library correctly:

 (shell wrapper)
  bin/credstash
        │      (python executable)
        └─> bin/.credstash-wrapped
                   │                        (python library)
                   └─> lib/python3.7/site-packages/credstash.py
2018-12-11 10:49:27 +01:00
Katharina Fey
7641a13447
railcar: init at 1.0.4
Co-authored-by: Alyssa Ross <hi@alyssa.is>
2018-12-11 00:48:50 +01:00
Renaud
c9d58d1321
Merge pull request #51763 from pbogdan/add-ant-theme
ant-theme: init at 1.2.0
2018-12-10 22:39:27 +01:00
Moritz Ulrich
6d21e8d361
nodePackages: Regenerate and fix azure-cli
Regenerates the `nixpkgs` NodeJS set (and updates all dependencies
internally).

Also, the `azure-cli` package doesn't build with NodeJS 10, so now
NodeJS 8 is used for `azure-cli`.

Signed-off-by: Maximilian Bosch <maximilian@mbosch.me>
2018-12-10 11:46:46 +01:00
Sarah Brofeldt
8b11a8a336
Merge pull request #51569 from akru/polkadot
polkadot: init at 0.2.17
2018-12-09 18:48:06 +01:00
Maximilian Bosch
10fa7c5707
Merge pull request #51391 from mt-caret/dpt-rp1-py
dpt-rp1-py: init at 2018-10-16
2018-12-09 17:09:24 +01:00
Nathan van Doorn
395b69a6a0 metamath: init at 0.167 2018-12-09 10:18:25 +00:00
Piotr Bogdan
dc0963b445
ant-theme: init at 1.2.0 2018-12-08 23:27:15 +00:00
Alexander Krupenkin
7eb700b9a6
polkadot: init at 0.2.17 2018-12-08 22:49:48 +03:00
Graham Christensen
37293152c7
Merge pull request #51612 from Izorkin/nginx-unit
unit: init at v1.6
2018-12-08 11:49:05 -05:00
Jörg Thalheim
da4e257fce
Merge pull request #51670 from Mic92/quassel-webserver
quassel-webserver: remove
2018-12-08 16:26:45 +00:00
Izorkin
9c5311251a php: add option config.php.systemd 2018-12-08 19:20:12 +03:00
Izorkin
35eb1c21dc phpPackages: add build phpPackages with php-unit 2018-12-08 19:20:12 +03:00
Izorkin
ef5161984c unit: init at v1.6 2018-12-08 19:20:09 +03:00
Frederik Rietdijk
3e950d584c Merge staging-next into master 2018-12-08 16:29:21 +01:00
markuskowa
c057861375
Merge pull request #51410 from jfrankenau/init-intel-media
intel-media-driver: init at 18.3.0
2018-12-08 15:43:42 +01:00
Johannes Frankenau
e48b9b5d0e intel-media-driver: init at 18.3.0 2018-12-08 14:58:33 +01:00
Michael Raskin
9bca1c6979 julia: default to 1.0 2018-12-08 12:59:25 +01:00
Frederik Rietdijk
e0950ae9ad Merge master into staging-next 2018-12-08 12:40:13 +01:00
Jörg Thalheim
40c8969b4c
quassel-webserver: remove
Package is broken and the original maintainer does not respond.
Unless someone wants to pick it up, I propose the removal.

fixes #51614
2018-12-07 16:46:36 +00:00
Frederik Rietdijk
74d0b82f29 buildPython*: add updateScript to passthru
All Python packages now have an updateScript. The script calls
`update-python-libraries` and passes it the position of the derivation
expression obtained using `meta.position`. This works fine in case a Nix
expression represents only a single derivation. If there are more in it,
`update-python-libraries` will fail.
2018-12-07 15:48:54 +01:00
Frederik Rietdijk
5f554279ec Merge master into staging-next 2018-12-07 15:22:35 +01:00
Philipp Middendorf
bf050b13b0 libopusenc: init at 0.2.1 2018-12-07 13:19:04 +01:00
Ben Darwin
cf9743da48 remove omake_rc1 from all-packages.nix since it doesn't build 2018-12-07 03:29:55 +00:00
Ben Darwin
9852c74249 teyjus: fix build by using omake from ocaml 4.02 package set 2018-12-07 03:29:55 +00:00
Renaud
61bb42b990
Merge pull request #51572 from georgewhewell/qmltermwidget-fix-darwin
qmltermwidget: add missing utmp lib on darwin
2018-12-06 22:52:50 +01:00
markuskowa
3861b9c19e
Merge pull request #51580 from ragnard/soapyrtlsdr
soapyrtlsdr: init at 0.2.5
2018-12-06 21:11:41 +01:00
Pavol Rusnak
c26dbef830 luppp: init at 1.2.0 2018-12-06 13:47:17 -05:00
Johan Thomsen
015b2b1a35 kube-router: init at 0.2.3 2018-12-06 11:20:21 -05:00
Francesco Gazzetta
0d649c8423 qr-filetransfer: init at unstable-2018-10-22 2018-12-06 09:41:54 -05:00
zimbatm
e4d06cbab6
terraform-docs: init at 0.5.0 (#51579) 2018-12-06 12:10:36 +01:00
Renaud
75fe53799d
Merge pull request #51529 from worldofpeace/open-sans/different-source
opensans-ttf: change source to salsa, rename to open-sans
2018-12-05 23:53:56 +01:00
Alexey Shmalko
9a75598d98
Merge pull request #51562 from averelld/leela-zero
leela-zero: init at 0.16
2018-12-05 23:23:05 +02:00
worldofpeace
f5e664f805 opensans-ttf: change source to salsa, rename to open-sans 2018-12-05 16:12:48 -05:00
Matthew Bauer
ab22183941
Merge pull request #51469 from matthewbauer/gimp-fix
gimp: fix on darwin
2018-12-05 13:43:40 -06:00
Matthew Bauer
73a87b57a6 gimp: fix on darwin
Fixes #41071
2018-12-05 13:20:14 -06:00
Ragnar Dahlén
963b113a35 soapyrtlsdr: init at 0.2.5 2018-12-05 19:01:15 +01:00
George Whewell
5205aaa655 qmltermwidget: add missing utmp lib on darwin 2018-12-05 15:43:25 +00:00
Averell Dalton
b47d83f793 leela-zero: init at 0.16 2018-12-05 15:16:43 +01:00
Robert Hensing
296b333709 all-packages.nix: Fix reference to self warning
This reference was added to master while the deprecation PR #51401 was open.
2018-12-05 13:47:45 +00:00
Linus Heckemann
3e1401f06b
Merge pull request #44102 from alyssais/weechat-unwrapped
weechat: seperate weechat-unwrapped from wrapper
2018-12-05 13:36:00 +01:00
Alexey Shmalko
184aacbd99
Merge pull request #51428 from tomberek/rig_init
rig: init at 1.11
2018-12-05 13:41:45 +02:00
Joe Hermaszewski
33e7330440
libgpiod: init at 2018-10-07
Co-Authored-By: expipiplus1 <github@sub.monoid.al>
2018-12-05 11:18:31 +00:00
Linus Heckemann
9504292b1e Merge remote-tracking branch 'origin/master' into weechat-unwrapped 2018-12-05 12:12:42 +01:00
sveitser
09a59a9fa3
hivemind: init at 1.0.4 2018-12-05 16:31:08 +08:00