Commit graph

1902 commits

Author SHA1 Message Date
Reno Reckling a1e0894cb4 ding: init at 1.8 (close #11989)
vcunat improved meta.
2015-12-29 21:03:19 +01:00
Charles Strahan b6c06e216b ruby: new bundler infrastructure
This improves our Bundler integration (i.e. `bundlerEnv`).

Before describing the implementation differences, I'd like to point a
breaking change: buildRubyGem now expects `gemName` and `version` as
arguments, rather than a `name` attribute in the form of
"<gem-name>-<version>".

Now for the differences in implementation.

The previous implementation installed all gems at once in a single
derivation. This was made possible by using a set of monkey-patches to
prevent Bundler from downloading gems impurely, and to help Bundler
find and activate all required gems prior to installation. This had
several downsides:

* The patches were really hard to understand, and required subtle
  interaction with the rest of the build environment.
* A single install failure would cause the entire derivation to fail.

The new implementation takes a different approach: we install gems into
separate derivations, and then present Bundler with a symlink forest
thereof. This has a couple benefits over the existing approach:

* Fewer patches are required, with less interplay with the rest of the
  build environment.
* Changes to one gem no longer cause a rebuild of the entire dependency
  graph.
* Builds take 20% less time (using gitlab as a reference).

It's unfortunate that we still have to muck with Bundler's internals,
though it's unavoidable with the way that Bundler is currently designed.
There are a number improvements that could be made in Bundler that would
simplify our packaging story:

* Bundler requires all installed gems reside within the same prefix
  (GEM_HOME), unlike RubyGems which allows for multiple prefixes to
  be specified through GEM_PATH. It would be ideal if Bundler allowed
  for packages to be installed and sourced from multiple prefixes.
* Bundler installs git sources very differently from how RubyGems
  installs gem packages, and, unlike RubyGems, it doesn't provide a
  public interface (CLI or programmatic) to guide the installation of a
  single gem. We are presented with the options of either
  reimplementing a considerable portion Bundler, or patch and use parts
  of its internals; I choose the latter. Ideally, there would be a way
  to install gems from git sources in a manner similar to how we drive
  `gem` to install gem packages.
* When a bundled program is executed (via `bundle exec` or a
  binstub that does `require 'bundler/setup'`), the setup process reads
  the Gemfile.lock, activates the dependencies, re-serializes the lock
  file it read earlier, and then attempts to overwrite the Gemfile.lock
  if the contents aren't bit-identical. I think the reasoning is that
  by merely running an application with a newer version of Bundler, you'll
  automatically keep the Gemfile.lock up-to-date with any changes in the
  format. Unfortunately, that doesn't play well with any form of
  packaging, because bundler will immediately cause the application to
  abort when it attempts to write to the read-only Gemfile.lock in the
  store. We work around this by normalizing the Gemfile.lock with the
  version of Bundler that we'll use at runtime before we copy it into
  the store. This feels fragile, but it's the best we can do without
  changes upstream, or resorting to more delicate hacks.

With all of the challenges in using Bundler, one might wonder why we
can't just cut Bundler out of the picture and use RubyGems. After all,
Nix provides most of the isolation that Bundler is used for anyway.

The problem, however, is that almost every Rails application calls
`Bundler::require` at startup (by way of the default project templates).
Because bundler will then, by default, `require` each gem listed in the
Gemfile, Rails applications are almost always written such that none of
the source files explicitly require their dependencies. That leaves us
with two options: support and use Bundler, or maintain massive patches
for every Rails application that we package.

Closes #8612
2015-12-29 09:30:21 -05:00
Arseniy Seroka e5057ef8de Merge pull request #11973 from wedens/rtv_1_8_0
rtv: 1.7.0 -> 1.8.0
2015-12-27 23:15:31 +03:00
wedens d776afef09 rtv: 1.7.0 -> 1.8.0 2015-12-27 14:02:21 +06:00
Yuri Albuquerque 9c6fecbda0 playonlinux: needs which and curl during runtime 2015-12-27 01:33:06 -04:00
Robert Helgesson 69ba5b12d9 gpsprune: add desktop item
Also add platforms to package meta section.
2015-12-26 18:04:58 +01:00
Robert Helgesson c930e03e60 josm: add desktop item
Also add platforms to package meta section.
2015-12-26 18:03:50 +01:00
Robert Helgesson d491005da1 josm: init at 9060 2015-12-24 14:50:11 +01:00
Robert Helgesson 8c4bfb747e gpsprune: init at 18.2 2015-12-24 14:48:57 +01:00
Charles Strahan c5497a7608 Merge pull request #11072 from svend/terminal-notifier-args
terminal-notifier: Pass arguments in wrapper script
2015-12-23 21:29:56 -06:00
Nicole Angel 90e881eece keepass: load plugins from store paths, fixes #11206 2015-12-23 02:12:36 +01:00
Nicole Angel e99beec0e1 Keefox (keepass plugin): init at 1.5.4 2015-12-23 02:12:15 +01:00
Tim Williams e2a25433b2 copyq: init at 2.5.0, fixed #11887 2015-12-23 01:58:59 +01:00
Derek Gonyeo 9671674959 acbuild: 0.1.1 -> 0.2.2 and moved to own default.nix, fixes #11889 2015-12-23 01:33:37 +01:00
obadz 29c676e73d pdfmod: init at 0.9.1 (close #11417)
vcunat did some cosmetic changes, such as joining lines
because we seem to rarely use one-identifier-per-line style,
or fixing hyena description to conform to our rules.
2015-12-21 15:19:36 +01:00
Jascha Geerds 9684726ba6 Merge pull request #11850 from rycee/bump/keepassx
keepassx: 0.4.3 -> 0.4.4
2015-12-21 08:05:35 +01:00
Robert Helgesson 6742104cbe keepassx2: 2.0beta2 -> 2.0
Also switch to official download URL.
2015-12-20 22:51:09 +01:00
Robert Helgesson 1253cd926c keepassx: 0.4.3 -> 0.4.4
Fixes CVE-2015-8359 and CVE-2015-8378. Also switch URL to new download
location.
2015-12-20 22:26:10 +01:00
Thomas Tuegel 4e71ebd7c9 dfilemanager: Qt 5 infrastructure update 2015-12-20 07:56:48 -06:00
Thomas Tuegel 88514fdf58 robomongo: Qt 5 infrastructure update 2015-12-20 07:56:48 -06:00
Thomas Tuegel 06f9ac71dc gpsbabel: Qt 5 infrastructure update 2015-12-20 07:56:48 -06:00
Thomas Tuegel 121f944d0d qtpass: Qt 5 infrastructure update 2015-12-20 07:56:47 -06:00
Thomas Tuegel 732de87786 twmn: Qt 5 infrastructure update 2015-12-20 07:56:47 -06:00
Thomas Tuegel 36dea909b7 calibre: Qt 5 infrastructure update 2015-12-20 07:56:47 -06:00
Arseniy Seroka fa8f15614c Merge pull request #11833 from k0ral/mediainfo
mediainfo: 0.7.79 -> 0.7.80
2015-12-19 22:04:05 +03:00
koral 563ea391e9 mediainfo: 0.7.79 -> 0.7.80 2015-12-19 16:33:50 +00:00
Pascal Wittmann 128c2bd3e3 Merge pull request #11709 from mcmtroffaes/feature/gosmore-svn-externals
gosmore: fix hash again and disable svn externals
2015-12-17 15:53:31 +01:00
Domen Kožar 60df14b4b1 fix eval 2015-12-14 21:12:51 +01:00
Domen Kožar 9688c39709 Merge pull request #11702 from ericsagnes/udevil-patch
udevil: added patch
2015-12-14 16:46:26 +01:00
Matthias C. M. Troffaes 75d292f173 gosmore: once more fix broken hash and disable externals for now to prevent further breakage 2015-12-14 15:33:51 +00:00
Eric Sagnes b22725847d udevil: added patch 2015-12-14 20:49:14 +09:00
Jascha Geerds 7b82e5b2e8 Merge pull request #11700 from magnetophon/khal-master
khal: update 0.6.0->0.7.0
2015-12-14 12:30:37 +01:00
Badi' Abdul-Wahid 618414ff46 super-user-spark: 0.1.0.0 -> 0.2.0.3 2015-12-13 20:26:09 -05:00
Bart Brouns 7349f406ff khal: update 0.6.0->0.7.0 2015-12-14 02:05:01 +01:00
devhell ab9bf1e4fa {lib-}mediainfo{-gui}: 0.7.79 -> 0.7.80
From the changelog:
```
Version 0.7.80, 2015-11-30

+ Matroska: support of MKVMerge statistics tags (duration frame count,
  stream size, bit rate) per track, thanks to ndjamena
+ FLAC: Channel positions, thanks to ndjamena
+ FLAC: difference between detected bit depth and stored bit depth
+ MPEG-TS: if DTVCC transport stream is present and no DTVCC service
  descriptor, scan also in the middle of the file in order to detect
  more caption services
+ Subtitle frame rate computing if frame count and duration are
  available (hidden by default)
+ Subtitles in Matroska: count of elements
+ Matroska, MXF and MP4/MOV: detection of truncated files
+ DTS: difference between ES Matrix and ES Discrete
+ DTS: display ES Matrix or ES Discrete even if HRA or MA is present
+ DTS: difference between DTS-HRA with 96k option and pure DTS-96/24
+ DTS: detection of DTS:X
+ Samples per frame info
+ AC-3: detection of Atmos inside TrueHD
+ Video frame rate: showing precision of 1/1.001 frame rates (e.g.
  "23.976 (24000/1001) fps" and "23.976 (23976/1000) fps")
+ MPEG-4/MOV: showing the complete list of compatible brands in the
  CodecID field
+ MPEG-4/MOV: Alternate groups
+ MPEG-4/MOV: "Disabled" tag
+ MPEG-4/MOV: "Forced" tag
+ MPEG-4/MOV: showing links between tracks (chapters for, subtitles for,
  fallback for)
+ MXF: handling of more acquisition metadata items
+ MXF: Package name
+ AVC: Store method of interlaced content (Interleaved Fields or
  Separated Fields)
+ EBUCore: acquisition metadata (Proof of concept, for feedback only)
x Matroska: frame rate detection algorithm revisited, less wrong numbers
  are expected
x SDP/Teletext: some pages were sometimes (when present in 2 different
  SDP lines) displayed several times
x MPEG-4/MOV: some hint tracks were not displayed
+ Hongkongese language added
+ Option "Full parsing"
```
2015-12-13 17:16:07 +00:00
Nikolay Amiantov 427d00ee36 doomseeker: cleanup 2015-12-13 15:14:18 +03:00
Nikolay Amiantov a4e8b8ef06 cdrtools: 3.00 -> 3.02a03 2015-12-13 15:13:43 +03:00
goibhniu bb3c2fb246 Merge pull request #11524 from mcmtroffaes/feature/gosmore-fix-and-update
gosmore: r30811 -> r31801, fix sha256
2015-12-12 16:04:35 +01:00
goibhniu 9da978b0e3 Merge pull request #11603 from wedens/rtv_update
rtv: 1.6.1 -> 1.7.0
2015-12-12 12:04:51 +01:00
Pascal Wittmann a6519d50c0 calibre: 2.45.0 -> 2.46.0 2015-12-11 19:52:20 +01:00
Nikolay Amiantov 01a49270a8 playonlinux: attempt to fix Hydra failure 2015-12-11 17:24:31 +03:00
wedens f8d2af6260 goldendict: b4bb1e9 -> ec86516 2015-12-10 23:51:07 +06:00
wedens 1b05ef86f0 rtv: 1.6.1 -> 1.7.0 2015-12-10 22:07:15 +06:00
Tobias Geerinckx-Rice 2ce24737c8 redshift: depend on geoclue2 directly 2015-12-10 02:38:42 +01:00
Nikolay Amiantov a5a481e7ee playonlinux: fix with new wxPython, fix OpenGL check 2015-12-09 23:29:24 +03:00
Domen Kožar 4b0fcf8ea1 Merge pull request #11553 from FRidh/pil
WIP: remove PIL as dependency
2015-12-08 22:15:05 +01:00
Frederik Rietdijk d9758cf3b4 calibre: use pillow instead of pil 2015-12-08 15:12:53 +01:00
Matthias C. M. Troffaes b789856ce3 gosmore: r30811 -> r31801, fix sha256 2015-12-07 14:32:54 +00:00
Domen Kožar 8c65e4e82a Merge pull request #11519 from mcmtroffaes/feature/cbatticon-sha256-fix
cbatticon: fix sha256 mismatch
2015-12-07 11:26:29 +01:00
Matthias C. M. Troffaes 9b2d64f310 cbatticon: use fetchzip to fix sha256 issues 2015-12-07 10:24:38 +00:00
Joachim Schiele a72ff7f4e7 Merge branch 'master' of github.com:NixOS/nixpkgs 2015-12-06 19:43:53 +01:00
Joachim Schiele bf0ed5e93a added kgocode 2015-12-06 19:43:25 +01:00
Emery Hemingway 2b6dcdfcd0 Rename 'emery' maintainer handle to 'ehmry', fixes #11493
Communication happens on Github so names should be consistent.
2015-12-05 23:06:20 +01:00
Moritz Ulrich e9e6d62c59 rofi-pass: 1.2 -> 1.3.1
Also contains fixes so it doesn't depend on anything in PATH.
2015-12-04 17:24:56 +01:00
Arseniy Seroka d439a4c249 Merge pull request #11422 from burke/urlview-darwin
urlview works fine on darwin
2015-12-04 19:02:06 +03:00
Burke Libbey 4f05c5eb42
urlview: enable on darwin 2015-12-04 11:00:16 -05:00
Christoph Hrdinka a2b5aafa61 xca: 1.3.1 -> 1.3.2 2015-12-02 23:01:00 +01:00
Pascal Wittmann 399c428197 viking: 1.6 -> 1.6.1 2015-11-29 22:42:14 +01:00
Aristid Breitkreuz 75abd4f0f9 Merge pull request #11322 from rycee/fix/gpsbabel-i686
gpsbabel: fix build for i686
2015-11-29 10:52:02 +01:00
Domen Kožar 1479f2cc3a Merge pull request #11286 from matthiasbeyer/add-weather
weather: init at 2.0
2015-11-28 19:27:17 +01:00
Robert Helgesson dcdd29cfcd gpsbabel: fix build for i686 2015-11-28 12:30:56 +01:00
Matthias Beyer a2c3c171e9 weather: init at 2.0 2015-11-27 11:47:51 +01:00
Pascal Wittmann 1fcea37c24 calibre: 2.44.1 -> 2.45.0 2015-11-27 10:10:39 +01:00
Domen Kožar 67e03d0c50 Merge branch 'buildPythonPackage+wheels' 2015-11-26 17:38:35 +01:00
Derek Gonyeo 00a919bb7d ykpers: 1.15.0 -> 1.17.2
The version bump was required to work with my yubikey 4 nano.
2015-11-25 14:17:20 -08:00
Nikolay Amiantov 6610fd5329 mupdf: propagate needed libraries 2015-11-25 18:30:41 +03:00
Nikolay Amiantov 0459f7f308 zathura-pdf-mupdf: 0.2.7 -> 0.2.8 2015-11-25 18:30:37 +03:00
Nikolay Amiantov f5c6e0a6af mupdf: 1.7 -> 1.8 2015-11-25 18:29:57 +03:00
Pascal Wittmann 8d92394b00 Merge pull request #11071 from rycee/fix/gpsbabel-on-i686
Fix build of gpsbabel on i686
2015-11-25 12:48:57 +01:00
Pascal Wittmann d6e6102c2d sent: 0.1 -> 0.2 2015-11-25 12:18:15 +01:00
Pascal Wittmann e16a6c0feb Merge pull request #11181 from ebzzry/emem-0.2.11
Emem 0.2.11
2015-11-25 11:18:02 +01:00
Rommel M. Martinez 065db3b799 emem: init at 0.2.11 2015-11-25 03:09:16 +08:00
Joachim Fasting 43a1582ef3 gphoto2fs: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Domen Kožar 3bab3f7334 Merge pull request #11202 from wedens/rtv_update
rtv: 1.4.2 -> 1.6.1
2015-11-24 11:07:44 +01:00
Jan Malakhovski b13c7186d6 ranger: fix paths to w3m and share
Picked from #11222.
2015-11-23 22:24:00 +01:00
wedens 5cbc71c104 rtv: 1.4.2 -> 1.6.1 2015-11-22 17:19:35 +06:00
Arseniy Seroka a2aab3a224 Merge pull request #11188 from obadz/spacefm
spacefm: 1.0.1 -> 1.0.4
2015-11-22 03:30:11 +03:00
Domen Kožar d83a97823c buildPythonPackage: fix a few more wheel packages 2015-11-21 21:44:12 +01:00
Domen Kožar 704c8bab41 buildPythonPackage: fix standalone applications using it 2015-11-21 21:44:12 +01:00
Pascal Wittmann 88cde6a73d sent: init at 0.1 2015-11-21 19:15:42 +01:00
obadz a7cda4b68a spacefm: 1.0.1 -> 1.0.4 2015-11-21 16:50:56 +00:00
Pascal Wittmann 2155231ba4 pdfpc: 4.0.0 -> 4.0.1 2015-11-20 17:07:08 +01:00
goibhniu c296f64f19 qtpass: tidy up 2015-11-19 17:38:48 +01:00
Anne Jan Brouwer bef7967630 Update default.nix 2015-11-19 16:37:31 +01:00
Anne Jan Brouwer 99781bc320 Updated to 1.0.5 2015-11-19 15:40:33 +01:00
Jaka Hudoklin 6e0f641c38 Merge pull request #11132 from joachifm/electrum-update
electrum: 2.5.1 -> 2.5.4
2015-11-18 22:57:46 +01:00
Joachim Fasting f5ed6e109d electrum: 2.5.1 -> 2.5.4 2015-11-18 22:06:21 +01:00
Pascal Wittmann f9670479e8 calibre: 2.44.0 -> 2.44.1 2015-11-18 16:13:33 +01:00
Pascal Wittmann 7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
Svend Sorensen 9aea6d811b terminal-notifier: Pass arguments in wrapper script 2015-11-16 13:29:13 -08:00
Robert Helgesson efdc9a0bd8 gpsbabel: enable parallel building 2015-11-16 22:23:47 +01:00
Robert Helgesson 89e22a78b7 gpsbabel: fix build on i686 2015-11-16 22:23:46 +01:00
William A. Kennington III 9579c9ec7f Merge commit 'cb21b77' into master.upstream
This is a partial merge of staging for builds which are working
2015-11-13 15:53:10 -08:00
Arseniy Seroka 0125adc392 Merge pull request #10999 from noctuid/zscroll
zscroll: init at 1.0
2015-11-14 00:55:48 +03:00
noctuid b0fd85342b zscroll: init at 1.0 2015-11-13 14:58:19 -05:00
Pascal Wittmann 3a4a0f7d03 calibre: 2.43.0 -> 2.44.0 2015-11-13 12:04:26 +01:00
Pascal Wittmann 5cf90b546c dmenu: 4.5 -> 4.6
xft support is now upstream
2015-11-10 09:57:17 +01:00
Vincent Laporte 931b56bafc grass: 6.4.0RC6 -> 7.0.1 2015-11-09 15:50:12 +01:00
devhell 25ba56a263 {lib}mediainfo-gui: 0.7.78 -> 0.7.79
Following a commit by @k0ral, this completes the upgrade of the other
`mediainfo` components.

From the changelog:
```
Version 0.7.79, 2015-11-02
+ CLI/DLL only, XML: new option --Output=MIXML, with XML v2.0beta1
  status, not for production, see
  https://github.com/MediaArea/MediaAreaXml for more details
+ MediaTrace: support of more than 1 file in XML output.
+ CLI/DLL only, XML: new option --Output=MAXML, with XML v0.1 status, in
  order to have bot MediaInfo and MediaTrace in the same output, not for
  production, see https://github.com/MediaArea/MediaAreaXml for more
  details
x MediaTrace: fixed some invalid outputs
x #B951, Amazon S3 support (REST API v2), CLI/DLL only and if compiled
  with libcurl support: URL without credential were badly interpreted
```
2015-11-08 15:03:00 +00:00
Arseniy Seroka ad4ca587e8 Merge pull request #10884 from k0ral/mediainfo
mediainfo: 0.7.78 -> 0.7.79
2015-11-08 17:11:03 +03:00