Commit graph

41141 commits

Author SHA1 Message Date
Jan Tojnar
aaaf48b2aa
libgda: move from gnome3.libgda 2018-12-12 20:00:59 +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
Vincent Laporte
1a04bd4414 ocamlPackages.checkseum: init at 0.0.3
Chekseum is an OCaml library which implements ADLER-32 and CRC32C Cyclic
Redundancy Check. It provides 2 implementation, the first in C and the
second in OCaml.

Homepage: https://github.com/mirage/checkseum
2018-12-11 08:12:27 +00:00
Vincent Laporte
e9b43adab7 ocamlPackages.optint: init at 0.0.2
This library provide one module Optint which internally uses an int if
you are in a x64 architecture or an int32 (boxed value) if you are in a
x86 architecture.

Homepage: https://github.com/mirage/optint
2018-12-11 08:12:27 +00: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
Vincent Laporte
655231a612 coqPackages.simple-io: init at 0.2
Purely functional IO for Coq.

homepage: https://github.com/Lysxia/coq-simple-io
2018-12-10 15:35:34 +00:00
edef
995d224f44
Merge pull request #51664 from erictapen/tlslite-ng-init
pythonPackages.tlslite-ng: init at 0.7.5, migrate tlslite references to it, delete tlslite
2018-12-10 13:03:27 +00:00
Justin Humm
93bf0a02f5
pythonPackages.tlslite: delete, migrate refs to pythonPackages.tlslite-ng
tlslite has a test failure on Python 3.7 [0]. @tomato42, a commiter of
tlslite and author of tlslite-ng said, that tlslite is abandoned (last
commit 2015) and tlslite-ng should be used as a drop in replacement.

[0] https://github.com/trevp/tlslite/issues/121
2018-12-10 13:45:45 +01:00
Maximilian Bosch
f64f8a312f
Merge pull request #51613 from the-kenny/regenerate-node-packages
nodePackages: Regenerate
2018-12-10 13:31:53 +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
Vincent Laporte
2b66c286be coqPackages.corn: init at 8.8.1 2018-12-10 07:56:32 +00: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
Alexey Shmalko
2801679e4b
Merge pull request #51764 from Taneb/metamath
Metamath: init at 0.167
2018-12-09 13:16:20 +02:00
Nathan van Doorn
395b69a6a0 metamath: init at 0.167 2018-12-09 10:18:25 +00:00
Vincent Laporte
83d84c08b9 filterCoqPackages: honor recurseIntoAttrs 2018-12-09 03:08:54 +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
Peter Simons
c37ae1dcf6 ghc: add new compiler version 8.6.3 2018-12-08 11:46:20 +01:00
Alyssa Ross
0e8e02e686
Merge pull request #51214 from rnhmjoj/wine
winePackages.wine: add SDL support
2018-12-07 22:44:13 +00: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
Justin Humm
09991d40e6
pythonPackages.tlslite-ng: init at 0.7.5 2018-12-07 15:28:55 +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
Renaud
a74c463a45
Merge pull request #50933 from cyounkins/mail_sender
perlPackages.MailSender: init at 0.903
2018-12-06 17:44:00 +01: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