We can use use `stdenv.hostPlatform.isStatic` instead, and move the
logic per package. The least opionated benefit of this is that it makes
it much easier to replace packages with modified ones, as there is no
longer any issue of overlay order.
CC @FRidh @matthewbauer
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/3vw7qlk7mlknydvnfps6wsp1wqrmcv08-thrift-0.11.0/bin/thrift --version` and found version 0.11.0
- found 0.11.0 with grep in /nix/store/3vw7qlk7mlknydvnfps6wsp1wqrmcv08-thrift-0.11.0
- found 0.11.0 in filename of file in /nix/store/3vw7qlk7mlknydvnfps6wsp1wqrmcv08-thrift-0.11.0
cc "@bjornfor"
Add Twisted as build input so that we can continue to have Python
support. (./configure disables Python support unless it finds the
'trial' program, from Twisted.) I don't know whether upstream intended
that, because it seems perfectly fine to run thrift + Python without
Twisted. (Only the TTwisted transport uses Twisted...)
Ah, Thrift use Twisted in its unit tests. Even when we pass
--enable-tests=no to ./configure :-D
* Drop unneeded patch to fix build error; now included upstream
* Fetch tarball instead of using git
* Drop unneeded autotools deps since we're building from tarball
TODO: Package boost-test library, so that we can run the test suite.
The python wrapper discards derivations that lack the 'pythonPath'
attribute, so provide a (dummy) pythonPath attribute to make this work:
pythonFull.override { extraLibs = [ thrift ]; }