Commit Graph
100 Commits
Author SHA1 Message Date
Rodney Lorrimar fa0b1930fb electrum: fix sha256 for 3.2.3
I have checked pkgs.electrum.src against the GPG signature from
https://download.electrum.org/3.2.3/Electrum-3.2.3.tar.gz.asc
2018-10-28 16:27:13 +10:00
Rodney Lorrimar 95fab6a09c linuxPackages.bpftrace: init at unstable-2018-10-27 2018-10-28 14:33:37 +10:00
Rodney Lorrimar b9486e2b50 nixos/datadog-agent: add module
This is the new v6 version of datadog-agent.

The old v5 module is kept as dd-agent.
2018-08-09 16:53:31 +02:00
Rodney Lorrimar 51618113f4 nixos/dd-agent: Fix dodgy temp files
DataDog was dropping PID files and and python pickle files in
/tmp. Move these to private directories as a precaution.
2018-08-09 16:53:30 +02:00
Rodney Lorrimar fb6679151a datadog-integrations-core: init at git-2018-05-27 2018-08-09 16:53:30 +02:00
Rodney Lorrimar 3a195dc2ef pythonPackages.uuid: init at 1.30 2018-08-09 16:53:30 +02:00
Rodney Lorrimar 637cc2a35e datadog-agent: init at 6.1.4
DataDog have adopted a subtle naming convention:

 - dd-agent refers to the v5 Python implementation
 - datadog-agent refers to the v6 golang implementation
2018-08-09 16:53:29 +02:00
Rodney Lorrimar 3e446ecd56 nixos/buildkite-agent: fix variable expansion in hook scripts
@cleverca found this bug in the declarative hooks config. Any shell
variables referenced in a hook script would get expanded by the hooks
directory builder.

Prevent variable expansion by quoting the here doc limit string.
2018-04-27 12:17:40 +01:00
Rodney Lorrimar ca7d983999 buildkite-agent3: init at 3.0.1 (#39471)
New stable release. Version 2.6 is kept for backwards compatibility.

https://github.com/buildkite/agent/releases/tag/v3.0.0
https://github.com/buildkite/agent/releases/tag/v3.0.1
2018-04-25 13:47:26 +01:00
Rodney Lorrimar d06b547cc0 znc: add uriPrefix option
Allows the ZNC web interface to be hosted behind a reverse proxy as a
subdirectory.

https://wiki.znc.in/Reverse_Proxy#As_subdirectory
2018-04-02 11:09:57 +01:00
Rodney Lorrimar 65b14735d2 buildkite-agent: 2.6.9 -> 2.6.10
https://github.com/buildkite/agent/releases/tag/v2.6.10
2018-03-27 10:55:52 +01:00
Rodney Lorrimar c95ef47c51 Release notes: mention removal of pump.io module 2018-02-27 12:52:52 +00:00
Rodney Lorrimar 21dcead5f0 nixos/pump.io: remove
This would probably be better maintained in a separate repo as an
external NixOS module which gets imported into user's configuration.
2018-02-27 12:52:51 +00:00
Rodney Lorrimar e552633c20 nixos/buildkite-agent: add coreutils to PATH of service
This simplifies the service script and it's probable that many builds
will need coreutils anyway.
2018-02-20 08:17:14 +00:00
Rodney Lorrimar 21e9a3eb6f nixos/buildkite-agent: add a default value for name option
Use the default name value from:
https://buildkite.com/docs/agent/configuration
2018-02-20 08:17:14 +00:00
Rodney Lorrimar 8132b24cdf nixos/buildkite-agent: remove obsolete config setting
Newer versions of buildkite-agent can find the bootstrap script
themselves.
2018-02-20 08:17:13 +00:00
Rodney Lorrimar cf6463aa8c nixos/buildkite-agent: enhance documentation for meta-data option
I assumed they were space-separated, which was wrong.

In future it might be better to allow specifying an attrset of strings
for the option.
2018-02-20 08:17:13 +00:00
Rodney Lorrimar 66586c86b9 nixos/buildkite-agent: declarative hooks configuration
Instead of having to set up a directory containing hook scripts, you
can now directly set module options to add hooks.
2018-02-20 08:17:12 +00:00
Rodney Lorrimar efefba7c9b nixos/buildkite-agent: add extraConfig option
This is useful for things like enabling debugging and increasing agent
priority, which don't warrant extra module options.
2018-02-20 08:17:12 +00:00
Rodney Lorrimar 34e6226ab7 buildkite-agent: 2.6.6 -> 2.6.9 (#35033)
* buildkite-agent: 2.6.6 -> 2.6.9

Various upstream bug fixes.

https://github.com/buildkite/agent/releases/tag/v2.6.7
https://github.com/buildkite/agent/releases/tag/v2.6.8
https://github.com/buildkite/agent/releases/tag/v2.6.9

* buildkite-agent: fixes tmpdir audit error
2018-02-17 10:35:04 +00:00
Rodney Lorrimar 4250f50dc9 electron: 1.7.9 -> 1.7.11
https://github.com/electron/electron/releases/tag/v1.7.10
https://github.com/electron/electron/releases/tag/v1.7.11
2018-02-05 12:31:11 +01:00
Rodney Lorrimar 480e3f343a buildkite-agent: enable building on darwin 2018-02-01 10:33:10 +00:00
Rodney Lorrimar e1c4beb818 haskellPackages.tmp-postgres: Add pginit dependency 2017-12-06 04:31:05 +00:00
Rodney Lorrimar e6f1618dbc saxon-he: init at 9.8.0.6 2017-12-06 03:59:20 +00:00
Rodney Lorrimar e970236591 saxonb_9_1: init at 9.1.0.8
saxonb_8_8 is kept as default saxonb because the newer version is not
a completely compatible replacement.

https://www.saxonica.com/documentation/#!changes/xslt20/8.8-9.1
2017-12-06 03:52:20 +00:00
Rodney Lorrimar d0cd7a0999 saxons: refactor common builder code
Also add myself as maintainer.
2017-12-06 03:51:32 +00:00
Rodney Lorrimar 9ec640ec70 bower2nix: fix execution under nix-shell --pure
bower2nix needs nix to compute store hashes.

Fixes rvl/bower2nix#16
2017-10-30 18:23:45 +01:00
Rodney Lorrimar 9b0d50e3d0 fetchbower: clean common uri characters from version string
Some bower.json files have URL dependencies missing a version.

Fixes rvl/bower2nix#18
2017-10-30 18:23:45 +01:00
Rodney Lorrimar 3ef954bdd7 uchiwa: fix bower hashes
Previous bower2nix had a bug resulting in incorrect hashes.

This uses bower2nix 3.2.0 to regenerate the bower packages file.
2017-09-28 20:58:17 +01:00
Rodney Lorrimar 34eefdfb9d nixos/release-notes: MySQL backup service breaking changes 2017-09-27 18:44:49 +02:00
Rodney Lorrimar 56eba66f77 mysqlBackup service: let it work with default settings
* Grants enough privileges to the configured user so that it can run
  mysqldump.

* Adds a nixos test.

* Use systemd timers instead of a cronjob (by @fadenb).

* Creates a new user for backups by default, instead of using mysql
  user.

* Ensures that backup user has write permissions on backup location.

* Write backup to a temporary file before renaming so that a failed
  backup won't overwrite the previous backup, and so that the backup
  location will never contain a partial backup.

Breaking changes:

 * Renamed period to calendar to reflect the change in how to
   configure the backup time.

 * A failed backup will no longer result in cron sending an e-mail --
   users' monitoring systems must be updated.

Resolves #24728
2017-09-27 18:44:49 +02:00
Rodney Lorrimar 3d4ed0181e bower2nix: 3.1.1 -> 3.2.0 2017-09-27 07:30:01 +01:00
Rodney Lorrimar 151b34460c nixos/release-notes: MySQL declarative users/databases
Documents a possible migration step required to use the new options.
2017-09-26 02:22:31 +02:00
Rodney Lorrimar 3766637bdd gnuradio: fix build for gcc6 and newer boost (#29740) 2017-09-26 00:20:22 +00:00
Rodney Lorrimar 913e770fa8 guile-lib: Disable a test which doesn't work with Guile 2.2
Error is:

    ERROR: In procedure %resolve-variable:
    ERROR: Unbound variable: use-syntax
    FAIL: sxml.ssax.scm

Also add pkg-config so that configure script can find libguile.

Relevant to #28643
2017-09-24 10:45:39 +01:00
Rodney Lorrimar 6460e459de nixos/gogs: Fix module when no passwords provided
If neither database.password or database.passwordFile were provided,
it would try and fail to coerce null to a string.

This fixes the situation where there is no password for the database.

Resolves #27950
2017-09-17 18:41:53 +02:00
Rodney Lorrimar fdb90edc6c pythonPackages.pyphen: init at 0.9.4 2017-09-16 09:23:17 +01:00
Rodney Lorrimar c5d1218336 pythonPackages.ijson: init at 2.3 2017-09-16 09:23:17 +01:00
Rodney Lorrimar d851b95d63 pythonPackages.clld-cffi: init at 0.1.4 2017-09-16 09:23:17 +01:00
Rodney Lorrimar fad89eda77 pythonPackages.spacy: add models data attr set
Model                   Version
es_core_web_md          1.0.0
fr_depvec_web_lg        1.0.0
en_core_web_md          1.2.1
en_depent_web_md        1.2.1
en_core_web_sm          1.2.0
de_core_news_md         1.0.0
en_vectors_glove_md     1.0.0
2017-09-16 09:23:17 +01:00
Rodney Lorrimar 3b1877f4c0 pythonPackages.textacy: init at 0.4.1 2017-09-16 09:23:16 +01:00
Rodney Lorrimar 18161a5b6f pythonPackages.pyemd: init at 0.4.4
This module is a requirement of textacy.
2017-09-16 09:23:16 +01:00
Rodney Lorrimar 31037bab49 pythonPackages.cachetools: Add version 2.0.1
Textacy requires a later version.

v2.0.0 introduced breaking changes, so keep two versions for other
packages.
2017-09-16 09:23:15 +01:00
Rodney Lorrimar 151d0fde19 pythonPackages.unidecode: 0.04.18 -> 0.04.21
Higher version is a requirement of textacy.
2017-09-16 09:23:15 +01:00
Rodney Lorrimar 566f5e9e8d pythonPackages.ftfy: 5.1.1 -> 4.4.3
ftfy package was added for spaCy and is only used by spaCy.

This change downgrades its version to meet the bounds specified by
spaCy (>=4.4.2,<5.0.0).

Relevant to #28643.
2017-09-12 23:04:11 +01:00
Rodney Lorrimar bda5815851 hyper-haskell: init at 0.1.0.2 2017-08-05 13:54:58 +01:00
Rodney Lorrimar efaec90f60 fetchbower: handle packages with slashes in their name
Packages from github repos have slashes in their name. Nix store names
shouldn't have slashes.

Fixes rvl/bower2nix#13
2017-07-27 21:18:43 +01:00
Rodney Lorrimar 0b027720af nixos tests: run postgresql tests with postgres user 2017-07-19 22:13:02 +01:00
Rodney Lorrimar 502a272ee7 postgresql: enable XML functions
I suspect these functions aren't widely used, but they are enabled in
PostgreSQL on Ubuntu and Arch.
2017-07-15 14:58:17 +01:00
Rodney Lorrimar 39ef4d2fe9 nixos tests: fix postgresql tests
1. Needs to call makeTest or else nothing happens when you run
   `nix-build nixos/tests/postgresql.nix`.

2. Tests run as root, so there needs to be a corresponding user in
   PostgreSQL.
2017-07-15 14:54:42 +01:00
Rodney Lorrimar 9007ebd627 csound: 6.08.1 -> 6.09.0 2017-05-29 21:48:04 +01:00
Rodney Lorrimar a9f66fa4cf csound: add optional libraries
Adds extra bells and whistles:

 - jack
 - ladspa
 - fluidsynth
 - fltk (for the virtual keyboard)
 - curl
 - gettext

The most important one is jack but I added other dependencies which
seemed sensible and were mentioned by the configure script.
2017-05-29 21:48:04 +01:00
Rodney Lorrimar 9e56cddf13 emacsWithPackages: support installing larger packages
I was getting the following error building tide from Melpa:

    nix-build  -E '(import <nixpkgs> {}).emacs25WithPackages (p: [p.melpaPackages.tide])'

    File tide-20170509.1134.tar is large (10.2M), really open? (y or n) Error reading from stdin
    builder for ‘/nix/store/gs9ik7yf8iilsikkfing74i70m0diax3-emacs-tide-20170509.1134.drv’ failed with exit code 255
    cannot build derivation ‘/nix/store/m3p080aani4rw82llp8nqk93cw2nvirk-emacs-with-packages-25.2.drv’: 1 dependencies couldn't be built

Solution was to disable the large file warning threshold when
installing packages.
2017-05-29 12:56:09 +01:00
Rodney Lorrimar ced172010a gogs service: add option for enabling "secure" cookies 2017-04-23 16:27:43 +01:00
Rodney Lorrimar 0e90a05a52 gogs service: generate the secret key only once, then reuse 2017-04-23 15:05:44 +01:00
Rodney Lorrimar cfa1faa37c gogs service: chmod 440 config file
Directory which contains the config file /var/lib/gogs already
has mode 700 but users are liable to change these things.
2017-04-22 17:51:04 +01:00
Rodney Lorrimar 79d52bc26c gogs service: don't copy database password to nix store
Relevant to #24288
2017-04-22 17:07:21 +01:00
Rodney Lorrimar 0c9512d263 gogs service: fix encoding of secret key
I was getting a secret key like this:

  [security]
  SECRET_KEY = 7X

Use coreutils base64 instead to get the full 256 bits of randomness.
2017-04-22 17:07:20 +01:00
Rodney Lorrimar db14ea3926 longview service: don't write passwords to nix store
Adds services.longview.{apiKeyFile,mysqlPasswordFile} options as
alternatives to apiKey and mysqlPassword, which still work, but are
deprecated with a warning message.

Related to #24288.
2017-03-26 23:06:42 +01:00
Rodney Lorrimar 0a2ea18e85 pythonPackages.zeep: init at 1.1.0
Works with both Python 2.7 and 3.5.

Tests won't work under Python 3.5 due to the testtools dependency.
2017-03-17 18:40:00 +00:00
Rodney Lorrimar e333a71478 scala: put docs in correct subdirectory
Under NixOS, /run/current-system/sw/share/doc was getting the license
file, etc.
2017-03-12 16:27:16 +00:00
Rodney Lorrimar f488b1811b pumpio service: don't keep secrets in nix store
Added extra config options to allow reading passwords from file rather
than the world-readable nix store.

The full config.json file is created at service startup.

Relevant to #18881
2017-03-12 16:01:02 +01:00
Rodney Lorrimar f1a1490135 pumpio service: adjust upload directory config for 3.0.0
These changes are backwards compatible.
2017-03-12 16:00:57 +01:00
Rodney Lorrimar 252e58a95e pump.io: 1.0.0 -> 3.0.0
The package stopped building for some unknown reason (npm could no
longer fetch a module).

This is one of the build failures listed in #23253.

    http://hydra.nixos.org/build/49551309
    http://hydra.nixos.org/build/49548753

Easiest fix is to upgrade to latest stable version and regenerate
packages with node2nix.

The databank-memcached dependency needed to be dropped due to
dependency failures.
2017-03-12 16:00:34 +01:00
Rodney Lorrimar 453529bd60 nodePackages: support github:owner/repo scheme for package deps
JS devs found a new way to be annoying - adjust code accordingly.

Have also put this change in PR svanderburg/node2nix#40
2017-03-12 16:00:13 +01:00
Rodney Lorrimar 1078758b12 haskellPackages.lentil: no longer needs overrides 2017-02-19 17:13:09 +00:00
Rodney Lorrimar 99d0e1d84b haskellPackages.lentil: override dep versions 2017-01-14 08:41:30 +00:00
Rodney Lorrimar de2f9d6719 haskellPackages.ghcjs-dom: Add overrides (#20474) 2016-11-21 20:51:59 +01:00
Rodney Lorrimar f318d62b5f haskellPackages.hasql-transaction: disable failing test suite
The tests want to connect to a postgresql server at localhost:5432.
2016-09-24 21:05:03 +01:00
Rodney Lorrimar 5e867f00af longview: unstable-2015-09-10 -> 1.1.5 2016-09-18 16:37:53 +01:00
Rodney Lorrimar 983f6819c7 pump.io: git-2015-11-09 -> 1.0.0
Release notes:
https://github.com/e14n/pump.io/releases/tag/v1.0.0

Package is now generated with node2nix instead of npm2nix.
2016-09-17 22:38:49 +01:00
Rodney Lorrimar 795a6e7610 mongodb service: add test case 2016-09-17 10:47:36 +01:00
Rodney Lorrimar 6d7b77df0a mongodb: Fix default storage engine on i686
MongoDB will refuse to start on i686 because the default database engine
"wiredTiger" doesn't support it. To reduce user annoyance, the default
engine should be changed to the pre-3.0 engine "mmapv1".

Fedora have also patched it:
http://pkgs.fedoraproject.org/cgit/rpms/mongodb.git/commit/?id=b64d6b3337bffdeea0b7fa530ea02b977c364e08
2016-09-17 10:43:58 +01:00
Rodney Lorrimar 131b8d4edb nodePackages.bower2nix: 3.0.1 -> 3.1.1 2016-09-15 01:28:37 +01:00
Rodney Lorrimar 952c477f90 nodePackages.bower2nix: Add back PATH wrapping
bower2nix and fetch-bower need git in the PATH to operate. This wrapping
got lost with the nodePackages updates.

(Fixes #18454)
2016-09-15 01:28:36 +01:00
Rodney Lorrimar 4908d7bf20 nixos-manual: Add a chapter about writing documentation
It's more about the practical side of DocBook-wrangling than anything
else.
2016-09-11 13:21:09 +01:00
Rodney Lorrimar 3de354c73d nixos-manual(emacs): Add a section about configuring DocBook 5 schemas 2016-09-11 12:07:36 +01:00
Rodney Lorrimar aeb00f1681 nixos-manual(emacs): Fix typo reported by @rasendubi 2016-09-11 12:07:36 +01:00
Rodney Lorrimar 5537503dec nixos/tests/pump.io: Fix systemd unit config
Ref #18209

(cherry picked from commit 3fd603c02f339778c8ea24c2fadacb91185eb1c7)
2016-09-08 17:06:49 +01:00
Rodney Lorrimar 6711e62d51 nixos manual: add Emacs section (fixes #13217)
In light of Emacs packaging improvements such as those mentioned
in #11503, and with the addition of a systemd service (#15807
and #16356), and considering that the wiki page is completely
out of date (#13217), it seems that some documentation is in order.
2016-08-02 11:17:52 +01:00
Rodney Lorrimar c70b6b8263 Add an option to set EDITOR to emacsclient 2016-07-01 11:37:56 +02:00
Rodney Lorrimar 73d2a2c23a get_iplayer: fix outputs and add man page
Package stopped building after closure-size merge because
buildPerlPackage has docdev in its default outputs.

There is also a decent man page in the source distribution, which I
added to the "man" output.
2016-04-18 12:11:34 +01:00
Rodney Lorrimar 123da5c1c1 nixpkgs manual: Add documentation for bower2nix
Fixes #9459
Fixes #13214
2016-03-28 08:25:45 +01:00
Rodney Lorrimar b22e94c200 Add pkgs.buildBowerComponents function 2016-03-28 08:25:44 +01:00
Rodney Lorrimar 457eddd18f bower2nix: 2.1.0 -> 3.0.1
1. Update bower2nix version and add new/updated dependencies into
   node-packages-generated.nix. This was done manually, with npm2nix
   generating the initial set of derivations. In future, it would be
   nice to have an automatic process (see #10358, #9332).

2. Add an override to nodePackages.bower2nix wrapping the commands so
   that git is on the PATH.

3. Update fetchbower to support new command-line options of bower2nix,
   and to allow github URL tag versions.
2016-03-28 08:23:06 +01:00
Rodney Lorrimar 156b05ae48 nodePackages.typescript: 1.5.0-alpha -> 1.8.9 2016-03-28 08:14:52 +01:00
Rodney Lorrimar 5ca8c23b2a nodePackages.bower: 1.4.1 -> 1.7.7 2016-03-28 08:14:52 +01:00
Rodney Lorrimar 5a50fd4660 sonata: init at 1.7b1 2016-02-10 18:48:03 +00:00
Rodney Lorrimar c093bf9b9b python-mpd2: init at 0.5.5 2016-02-10 18:48:03 +00:00
Rodney Lorrimar a8aecdcc20 xcftools: init at 1.0.7 2016-01-22 19:45:48 +00:00
Rodney Lorrimar 546679f2e3 get_iplayer: 2.86 -> 2.94 2016-01-22 18:05:27 +00:00
Rodney Lorrimar bde97e0417 get_iplayer: remove irrelevant warning 2016-01-22 18:04:52 +00:00
Rodney Lorrimar 5d682e515e release-notes: add pump.io as a new service 2015-12-27 13:32:44 +00:00
Rodney Lorrimar 75d143ae9a fail2ban: 0.9.1 -> 0.9.3 2015-12-18 09:44:22 +00:00
Rodney Lorrimar 201859ea18 fail2ban: update python-systemd dependency
The python module has been split off from systemd since v223.
2015-12-18 09:44:22 +00:00
Rodney Lorrimar 242c24c402 fail2ban: python packaging workaround for /etc/fail2ban installation (fixes #11534)
Removed path substitutions from setup.py because these should be handled
by the setuptools install prefix.

Except that the install prefix won't quite work until issue #4968 is
resolved.

In the meantime there are preInstall and postInstall scripts so that
this package continues to work with the nix python packaging
improvements.
2015-12-18 09:44:22 +00:00
Rodney Lorrimar 2eb8c3e491 systemd: python module split out since v223 2015-12-18 09:44:22 +00:00
Rodney Lorrimar 2ee0e45172 python systemd: init at 231
This module has been split out from the main systemd repository.
2015-12-18 09:44:22 +00:00
Rodney Lorrimar 2198381235 nixos tests: pump.io: init 2015-12-06 13:35:21 +00:00
Rodney Lorrimar b13b9489ad pump.io service: init
Pump.io runs its web server as a standalone service listening on
443. It's also possible to put the service behind a HTTP reverse proxy.
2015-12-06 13:35:21 +00:00