Commit Graph

59353 Commits

Author SHA1 Message Date
Martin Weinelt
3d460faf57
Merge pull request #119083 from fabaff/pyeconet 2021-04-12 00:30:33 +02:00
Sandro
62ce5aa19a
Merge pull request #119138 from fabaff/pylutron-caseta 2021-04-11 23:35:28 +02:00
Sandro
e3c36e148f
Merge pull request #118507 from 06kellyjac/obs-multi-rtmp
obs-multi-rtmp: init at 0.2.6
2021-04-11 23:25:42 +02:00
Sandro
b4c333baa4
Merge pull request #119131 from fabaff/pythonegardia 2021-04-11 23:10:30 +02:00
Sandro
e0ab35fae4
Merge pull request #119128 from fabaff/pyemby 2021-04-11 23:07:10 +02:00
Sandro
2915d20182
Merge pull request #119179 from fabaff/sleepyq 2021-04-11 22:57:28 +02:00
Sandro
f0ada2d57b
Merge pull request #119157 from fabaff/karton-classifier
python3Packages.karton-classifier: init at 1.0.0
2021-04-11 22:37:42 +02:00
Sandro
395cb3c91a
Merge pull request #119079 from fabaff/pyclimacell 2021-04-11 22:36:50 +02:00
Sandro
28648458ce
Merge pull request #119071 from fabaff/aiosyncthing 2021-04-11 22:26:57 +02:00
Sandro
763b636e31
Merge pull request #119060 from fabaff/pydanfoss-air 2021-04-11 22:25:04 +02:00
Thomas Gerbet
33a3715a5e medfile: use HDF5 1.12
HDF5 1.10 has known security issues (CVE-2020-10809, CVE-2020-10810, CVE-2020-10811
and CVE-2020-10812).
2021-04-11 19:27:28 +02:00
Fabian Affolter
b3fe64070f python3Packages.sleepyq: init at 0.8.1 2021-04-11 19:00:53 +02:00
Sandro
d6f881c82d
Merge pull request #118647 from bbigras/syncthing
syncthing: 1.14.0 -> 1.15.1
2021-04-11 18:23:36 +02:00
Gabriel Ebner
be0b5f26b1 medfile: use hdf5 1.10 2021-04-11 17:54:55 +02:00
Fabian Affolter
efc1197dd6 python3Packages.karton-classifier: init at 1.0.0 2021-04-11 17:20:21 +02:00
Fabian Affolter
20443c3482
Merge pull request #119082 from chivay/karton-core
pythonPackages.karton-core: init at 4.2.0
2021-04-11 17:03:31 +02:00
Anderson Torres
6cb6021f83
Merge pull request #118922 from AndersonTorres/new-yapesdl
yapesdl: init at 0.70.2
2021-04-11 12:00:27 -03:00
Sandro
172b4f4c61
Merge pull request #119122 from ju1m/ifcopenshell
ifcopenshell: 0.6.0b0 -> 210410
2021-04-11 16:45:40 +02:00
Fabian Affolter
48d9b4524a python3Packages.pyeconet: init at 0.1.13 2021-04-11 16:26:32 +02:00
Sandro
9ca28714c8
Merge pull request #119086 from fabaff/hfinger
hfinger: init at 0.2.0
2021-04-11 16:13:06 +02:00
Sandro
7cc6af3955
Merge pull request #119074 from fabaff/aioemonitor
python3Packages.aioemonitor: init at 1.0.5
2021-04-11 16:03:13 +02:00
Fabian Affolter
d93a794679 python3Packages.pylutron-caseta: init at 0.9.0 2021-04-11 15:23:43 +02:00
Fabian Affolter
76019785f6 python3Packages.aiolip: init at 1.1.4 2021-04-11 15:23:43 +02:00
Fabian Affolter
7875699b7e python3Packages.pythonegardia: init at 1.0.40 2021-04-11 14:04:39 +02:00
Fabian Affolter
c17a2151bb python3Packages.pyemby: init at 1.7 2021-04-11 13:38:19 +02:00
Hubert Jasudowicz
fac3725e5b pythonPackages.karton-core: init at 4.2.0 2021-04-11 12:32:08 +02:00
sterni
2140791f9b
ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected (#113696)
* ocamlPackages.janeStreet_0_9_0: join the ocamlPackages fix point

Internal dependencies in the janeStreet sets were always taken from the
own rec attribute set. While this is pretty simple and convenient, it
has the disadvantage that it doesn't play nice with overriding: If you'd
override an attribute in a janeStreet set previously, it would be
changed when referenced directly, but the other packages in that
janeStreet set still would use the original, non-overridden version of
the derivation.

This is easily fixed by passing janeStreet_0_9_0 itself from the fix
point of ocamlPackages and using it to reference the dependencies.

Example showing it now works as expected:

test-overlay.nix:

    self: super: {
      ocamlPackages = super.ocamlPackages.overrideScope (old: _: {
        janeStreet_0_9_0 = old.janeStreet_0_9_0 // {
          base = old.janeStreet_0_9_0.base.overrideAttrs (_: {
            meta.broken = true;
          });
        };
      });
    }

nix-repl> (import ./. {
  overlays = [ (import ./test-overlay.nix) ];
}).ocamlPackages.janeStreet_0_9_0.stdio

error: Package ‘ocaml4.10.0-base-0.9.4’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage.nix:6 is marked as broken, refusing to evaluate.

a) To temporarily allow broken packages, you can use an environment variable
   for a single invocation of the nix tools.

     $ export NIXPKGS_ALLOW_BROKEN=1

b) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

* ocamlPackages.janeStreet: take part in fixpoint for OCaml >= 4.08

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.14, i. e. OCaml >= 4.08

* ocamlPackages.janeStreet: take part in fixpoint for OCaml == 4.07

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.12, i. e. OCaml == 4.07

* ocamlPackages.janeStreet: take part in fixpoint for OCaml < 4.07

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.11, i. e. OCaml < 4.07

* ocamlPackages.janeStreet: remove self - super distinction

Previously, we inherited non-janestreet ocaml dependencies from super
and janestreet dependencies from self which always was super.janeStreet.

This behavior is however not really what we want due to liftJaneStreet:
Users and other packages will use ocamlPackages.base etc. instead of
ocamlPackages.janeStreet.base and the like. Consequently they also would
override the top-level attributes which would mean that other janestreet
packages would not pick up on it however.

As a consequence however, overriding ocamlPackages.janeStreet.base
doesn't work. Since this was never possible, I don't think this is an
issue. It is probably a good idea to deprecate that set anyways and
printing a warning when it is used via trace.

janeStreet_0_9_0 is unchanged as the disticniton between self and super
makes sense for it.

Below is an example showing how overriding would work from an user's
perspective:

test-overlay.nix:

    self: super: {
      ocamlPackages = super.ocamlPackages.overrideScope (old: _: {
        base = old.base.overrideAttrs (_: {
          meta.broken = true;
        });
      });
    }

nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages.
stdio
error: Package ‘ocaml4.10.0-base-0.14.0’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix:12 is marked as broken, refusing to evaluate.

a) To temporarily allow broken packages, you can use an environment variable
   for a single invocation of the nix tools.

     $ export NIXPKGS_ALLOW_BROKEN=1

b) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
2021-04-11 12:26:10 +02:00
Alyssa Ross
441f0c894a mdevd: init at 0.1.3.0 2021-04-11 10:22:29 +00:00
Julien Moutinho
687e55bfc0 ifcopenshell: 0.6.0b0 -> 210410 2021-04-11 12:10:46 +02:00
Fabian Affolter
0b78980d67 python3Packages.pyenvisalink: init at 4.1 2021-04-10 15:31:56 -07:00
Fabian Affolter
e5b6e6f289 hfinger: init at 0.2.0 2021-04-11 00:22:19 +02:00
Fabian Affolter
fb327d72df python3Packages.pyclimacell: init at 0.18.0 2021-04-10 21:31:54 +02:00
Fabian Affolter
fec6f0b152 python3Packages.aioemonitor: init at 1.0.5 2021-04-10 21:11:42 +02:00
Fabian Affolter
926d6ab20d python3Packages.aiosyncthing: init at 0.5.1 2021-04-10 20:44:14 +02:00
Fabian Affolter
124aa02185 python3Packages.expects: init at 0.9.0 2021-04-10 20:41:26 +02:00
Bruno Bigras
6378cdebad syncthing: 1.14.0 -> 1.15.1
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-10 14:06:10 -04:00
Fabian Affolter
bcb7d810cf python3Packages.pydanfossair: init at 0.1.0 2021-04-10 18:55:57 +02:00
nixinator
3314db5a56
cdogs-sdl: init at 0.11.0 (#118949)
Co-authored-by: Jonathan Ringer <jonringer@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-04-10 17:23:57 +02:00
Sandro
aa05808456
Merge pull request #117677 from 06kellyjac/octant-desktop 2021-04-10 16:46:25 +02:00
sternenseemann
9c989f2fd9 spacecookie: add top-level attribute for haskellPackages.spacecookie
The haskellPackages.spacecookie derivation also includes a library and
thus a lot of propagated haskell dependencies. The top-level attribute
uses haskell.lib.justStaticExecutables and therefore only the
executable. This should reduce the runtime closure users have to
download considerably if they only want the server.
2021-04-10 15:44:19 +02:00
Vincent Haupert
f4af2f267a
nixos/github-runner: init at v2.277.1 (#116775)
* github-runner: init at 2.277.1

* nixos/github-runner: initial version

* nixos/github-runner: add warning if tokenFile in Nix store

* github-runner: don't accept unexpected attrs

* github-runner: formatting nits

* github-runner: add pre and post hooks to checkPhase

* nixos/github-runner: update ExecStartPre= comment

* nixos/github-runner: adapt tokenFile option description

Also note that not only a change to the option value will trigger a
reconfiguration but also modifications to the file's content.

* nixos/github-runner: remove mkDefault for DynamicUser=

* nixos/github-runner: create a parent for systemd dirs

Adds a parent directory "github-runner/" to all of the systemd lifecycle
directories StateDirectory=, RuntimeDirectory= and LogDirectory=.

Doing this has two motivations:

1. Something like this would required if we want to support multiple
   runners configurations. Please note that this is already possible
   using NixOS containers.
2. Having an additional parent directory makes it easier to remap
   any of the directories. Without a parent, systemd is going to
   complain if, for example, the given StateDirectory= is a symlink.

* nixos/github-runner: use specifier to get abs runtime path

* nixos/github-runner: use hostname as default for option `name`

Until now, the runner registration did not set the `--name` argument if
the configuration option was `null`, the default for the option.
According to GitHub's documentation, this instructs the registration
script to use the machine's hostname.

This commit causes the registration to always pass the `--name` argument
to the runner configuration script. The option now defaults to
`networking.hostName` which should be always set on NixOS.

This change becomes necessary as the systemd service name includes the
name of the runner since fcfa809 and, hence, expects it to be set. Thus,
an unset `name` option leads to an error.

* nixos/github-runner: use types.str for `name` option

Forcing a `name` option to comply with a pattern which could also be
used as a hostname is probably not required by GitHub.

* nixos/github-runner: pass dir paths explicitly for ExecStartPre=

* nixos/github-runner: update variable and script naming

* nixos/github-runner: let systemd choose the user/group

User and group naming restrictions are a complex topic [1] that I don't
even want to touch. Let systemd figure out the username and group and
reference it in our scripts through the USER environment variable.

[1] https://systemd.io/USER_NAMES/

* Revert "nixos/github-runner: use types.str for `name` option"

The escaping applied to the subdirectory paths given to StateDirectory=,
RuntimeDirectory= and LogsDirectory= apparently doesn't use the same
strategy that is used to escape unit names (cf. systemd-escape(1)). This
makes it unreasonably hard to construct reliable paths which work for
StateDirectory=/RuntimeDirectory=/LogsDirectory= and ExecStartPre=.

Against this background, I decided to (re-)apply restrictions to the
name a user might give for the GitHub runner. The pattern for
`networking.hostName` seems like a reasonable choice, also as its value
is the default if the `name` option isn't set.

This reverts commit 193ac67ba337990c22126da24a775c497dbc7e7d.

* nixos/github-runner: use types.path for `tokenFile` option

* nixos/github-runner: escape options used as shell arguments

* nixos/github-runner: wait for network-online.target

* github-runner: ignore additional online tests
2021-04-10 10:17:10 +00:00
Martin Weinelt
8735fd1e95
Merge pull request #118944 from fabaff/homematicip
python3Packages.homematicip: init at 1.0.0
2021-04-10 02:19:55 +02:00
Fabian Affolter
7564d5ef16 python3Packages.homematicip: init at 1.0.0 2021-04-10 00:22:23 +02:00
Fabian Affolter
c197fdd498 python3Packages.aiohttp-wsgi: init at 0.8.2 2021-04-09 23:44:02 +02:00
Sandro
cbdbd24665
Merge pull request #118919 from fabaff/omnilogic 2021-04-09 21:57:00 +02:00
AndersonTorres
cc3060f5e8 yapesdl: init at 0.70.2 2021-04-09 15:31:22 -03:00
Fabian Affolter
61a5c65f0d python3Packages.omnilogic: init at 0.4.3 2021-04-09 18:44:41 +02:00
Frederik Rietdijk
0656d546fb
Merge pull request #118312 from NixOS/staging-next
Staging next
2021-04-09 18:29:47 +02:00
Martin Weinelt
79d2bf4c84
Merge pull request #118809 from fabaff/webexteamssdk 2021-04-09 18:01:05 +02:00
Martin Weinelt
f882b057be
Merge pull request #111316 from higebu/add-gobgpd 2021-04-09 17:17:07 +02:00