Many packages have some kind of flag indicating whether or not to build with
systemd support. Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`. Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.
This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.
This provides three benefits:
1. The default values are set correctly (i.e. including `&& isStatic`)
2. The default values are set consistently
3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
reported to have experimental systemd support)
- updated derivations with the correct boost version
- prepared check phases for unit tests. Some of them don't work on upstream and have already been reported years ago
- checked that the produced software works as expected
* nfd: init at version 0.7.1
- Add NFD derivation
- Link NFD derivation as a top-level package
* Applied revision suggestions
* Add fetchSubmodules
NFD uses websocket++ 0.8.1-hotfix in their stable release so that it can be built with boost 175.
ndn-cxx is built with boost 169 in nixpkgs, although it could use the newest version, so I'm matching the same version.
* Fixed tests and cleanup
* Fix typo in repo revision
* Add fetch submodules
NFD build script requires the complete websocket++ source in the build directory.
I could not build it reusing the packages websocket++.
* Call to pre and post check hooks
Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com>
* Default to fetch NFD submodules
* Fix license
Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com>
* Switch to lib.optional for parameter string
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
* Change prefix as per nix defaults
* Removed redundant prefix environment variable
* Homepage to HTTPS
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Ryan Burns <52847440+r-burns@users.noreply.github.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>