···11+<section xmlns="http://docbook.org/ns/docbook"
22+ xmlns:xlink="http://www.w3.org/1999/xlink"
33+ xmlns:xi="http://www.w3.org/2001/XInclude"
44+ version="5.0"
55+ xml:id="sec-meta-attributes">
66+77+<title>Meta Attributes</title>
88+99+<para>Like Nix packages, NixOS modules can declare meta-attributes to provide
1010+ extra information. Module meta attributes are defined in the
1111+ <filename
1212+ xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/misc/meta.nix">meta.nix</filename>
1313+ special module.</para>
1414+1515+<para><literal>meta</literal> is a top level attribute like
1616+ <literal>options</literal> and <literal>config</literal>. Available
1717+ meta-attributes are <literal>maintainers</literal> and
1818+ <literal>doc</literal>.</para>
1919+2020+<para>Each of the meta-attributes must be defined at most once per module
2121+ file.</para>
2222+2323+<programlisting>
2424+{ config, lib, pkgs, ... }:
2525+{
2626+ options = {
2727+ ...
2828+ };
2929+3030+ config = {
3131+ ...
3232+ };
3333+3434+ meta = {
3535+ maintainers = with lib.maintainers; [ ericsagnes ]; <co
3636+ xml:id='modules-meta-1' />
3737+ doc = ./default.xml; <co xml:id='modules-meta-2' />
3838+ };
3939+}
4040+</programlisting>
4141+4242+<calloutlist>
4343+ <callout arearefs='modules-meta-1'>
4444+ <para>
4545+ <varname>maintainers</varname> contains a list of the module maintainers.
4646+ </para>
4747+ </callout>
4848+4949+ <callout arearefs='modules-meta-2'>
5050+ <para>
5151+ <varname>doc</varname> points to a valid DocBook file containing the module
5252+ documentation. Its contents is automatically added to <xref
5353+ linkend="ch-configuration"/>.
5454+ Changes to a module documentation have to be checked to not break
5555+ building the NixOS manual:
5656+ </para>
5757+ <programlisting>$ nix-build nixos/release.nix -A manual</programlisting>
5858+ </callout>
5959+6060+</calloutlist>
6161+6262+</section>
···2233stdenv.mkDerivation rec {
44 name = "leatherman-${version}";
55- version = "0.7.5";
55+ version = "0.9.0";
6677 src = fetchFromGitHub {
88- sha256 = "103qzhjhgw7jh0xcaxag735wfm6q35xprq5wmdimfhhmmrmjr51g";
88+ sha256 = "18nidasykbwdd9qzwc8pnzhczy6acr3rsxwvv2v3j5gq3nbsk2mc";
99 rev = version;
1010 repo = "leatherman";
1111 owner = "puppetlabs";
1212 };
13131414 buildInputs = [ boost cmake curl ];
1515-1616- # curl upgrade to 7.50.0 (#17152) broke the curl mock tests, disabling for now
1717- # upstream bug raised https://tickets.puppetlabs.com/browse/LTH-108
1818- cmakeFlags = [ "-DLEATHERMAN_MOCK_CURL=OFF" ];
19152016 meta = with stdenv.lib; {
2117 homepage = https://github.com/puppetlabs/leatherman/;
+17
pkgs/development/libraries/liborc/default.nix
···11+{ stdenv, fetchurl }:
22+33+stdenv.mkDerivation rec {
44+ name = "liborc-${version}";
55+ version = "0.4.16";
66+77+ src = fetchurl {
88+ url = "http://http.debian.net/debian/pool/main/o/orc/orc_${version}.orig.tar.gz";
99+ sha256 = "1asq58gm87ig60ib4cs69hyqhnsirqkdlidnchhx83halbdlw3kh";
1010+ };
1111+1212+ meta = with stdenv.lib; {
1313+ homepage = https://packages.debian.org/wheezy/liborc-0.4-0;
1414+ description = "Orc is a library and set of tools for compiling and executing very simple programs that operate on arrays of data.";
1515+ license = with licenses; [ bsd2 bsd3 ];
1616+ };
1717+}
+1
pkgs/os-specific/linux/batman-adv/default.nix
···2626 license = stdenv.lib.licenses.gpl2;
2727 maintainers = with stdenv.lib.maintainers; [ viric fpletz ];
2828 platforms = with stdenv.lib.platforms; linux;
2929+ broken = (kernel.features.grsecurity or false);
2930 };
3031}
···3535 DEBUG_DEVRES n
3636 DEBUG_NX_TEST n
3737 DEBUG_STACK_USAGE n
3838- ${optionalString (!(features.grsecurity or false)) ''
3939- DEBUG_STACKOVERFLOW n
4040- ''}
3838+ DEBUG_STACKOVERFLOW n
4139 RCU_TORTURE_TEST n
4240 SCHEDSTATS n
4341 DETECT_HUNG_TASK y