···3232 The old config generation system used impure shell scripts and could break in specific circumstances (see #1234).
33333434* `meta.description` should:
3535- * Be capitalized
3636- * Not start with the package name
3737- * Not have a dot at the end
3535+ * Be capitalized.
3636+ * Not start with the package name.
3737+ * Not have a period at the end.
3838+* `meta.license` must be set and fit the upstream license.
3939+ * If there is no upstream license, `meta.license` should default to `stdenv.lib.licenses.unfree`.
4040+* `meta.maintainers` must be set.
38413939-See the nixpkgs manual for more details on how to [Submit changes to nixpkgs](https://nixos.org/nixpkgs/manual/#chap-submitting-changes).
4242+See the nixpkgs manual for more details on [standard meta-attributes](https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes) and on how to [submit changes to nixpkgs](https://nixos.org/nixpkgs/manual/#chap-submitting-changes).
40434144## Writing good commit messages
4245
···1616 hardware.</para></listitem>
17171818 <listitem><para>The NixOS manual is available on virtual console 8
1919- (press Alt+F8 to access).</para></listitem>
1919+ (press Alt+F8 to access) or by running <command>nixos-help</command>.
2020+ </para></listitem>
20212122 <listitem><para>You get logged in as <literal>root</literal>
2223 (with empty password).</para></listitem>
···6060 in attrs: concatStringsSep " " (attrValues (mapAttrs toFlag attrs));
61616262 gnSystemLibraries = [
6363- "flac" "harfbuzz-ng" "libwebp" "libxslt" "yasm" "opus" "snappy" "libpng" "zlib"
6363+ "flac" "libwebp" "libxslt" "yasm" "opus" "snappy" "libpng" "zlib"
6464 # "libjpeg" # fails with multiple undefined references to chromium_jpeg_*
6565 # "re2" # fails with linker errors
6666 # "ffmpeg" # https://crbug.com/731766
6767+ ] ++ optionals (versionRange "62" "63") [
6868+ "harfbuzz-ng" # in versions over 63 harfbuzz and freetype are being built together
6969+ # so we can't build with one from system and other from source
6770 ];
68716972 opusWithCustomModes = libopus.override {
···7679 libpng libcap
7780 xdg_utils yasm minizip libwebp
7881 libusb1 re2 zlib
7979- ffmpeg harfbuzz-icu libxslt libxml2
8282+ ffmpeg libxslt libxml2
8383+ ] ++ optionals (versionRange "62" "63") [
8484+ harfbuzz-icu # in versions over 63 harfbuzz and freetype are being built together
8585+ # so we can't build with one from system and other from source
8086 ];
81878288 # build paths and release info
···2222# them with our own.
23232424let
2525+ ## Prefetch commands to run after update, from this directory:
2626+ ## e.g. with Emacs: C-u M-x shell-command
2727+ # nix-prefetch-url ../../../../ -A dropbox.src
2828+ # nix-prefetch-url ../../../../ -A pkgsi686Linux.dropbox.src
2929+2530 # NOTE: When updating, please also update in current stable,
2631 # as older versions stop working
2732 version = "37.4.29";
···39394040Options:
4141 --out path Path where the output would be stored.
4242- --url url Any url understand by 'git clone'.
4242+ --url url Any url understood by 'git clone'.
4343 --rev ref Any sha1 or references (such as refs/heads/master)
4444 --hash h Expected hash.
4545 --deepClone Clone the entire repository.
+2-2
pkgs/development/libraries/appstream/default.nix
···2626 cmakeFlags = ''
2727 -DSTEMMING=off
2828 '';
2929-2929+3030 meta = with stdenv.lib; {
3131 description = "Software metadata handling library";
3232- homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/";
3232+ homepage = https://www.freedesktop.org/wiki/Distributions/AppStream/;
3333 longDescription =
3434 ''
3535 AppStream is a cross-distro effort for building Software-Center applications
···11-WGET_ARGS=( https://download.kde.org/stable/frameworks/5.38/ -A '*.tar.xz' )
11+WGET_ARGS=( https://download.kde.org/stable/frameworks/5.39/ -A '*.tar.xz' )
···2233source @dfInit@
4455-for i in dfhack.init-example dfhack-config/default hack/*; do
55+for i in dfhack.init-example dfhack-config/default hack/* stonesense/*; do
66 update_path "$i"
77done
88
+10
pkgs/games/dwarf-fortress/wrapper/soundSense.in
···11+#!@stdenv_shell@ -e
22+33+source @dfInit@
44+55+for p in soundsense/*; do
66+ update_path "$p"
77+done
88+99+cd "$DF_DIR"
1010+PATH=@jre@/bin exec $DF_DIR/soundsense/soundSense.sh
···11+{ stdenv, fetchFromGitHub, pkgconfig, gdbm, glib }:
22+33+# Note (2017-10-24, yuriaisaka):
44+# - Version 1.3.3 dates from Jul. 19, 2013.
55+# - The latest commit to the github repo dates from Mar. 05, 2017
66+# - The repo since appears to have become a kitchen sink place to keep
77+# misc tools to handle SKK dictionaries, and these tools have runtime
88+# dependencies on a Ruby interpreter etc.
99+# - We for the moment do not package them to keep the dependencies slim.
1010+# Probably, shall package the newer tools as skktools-extra in the future.
1111+stdenv.mkDerivation rec {
1212+ name = "skktools-${version}";
1313+ version = "1.3.3";
1414+ src = fetchFromGitHub {
1515+ owner = "skk-dev";
1616+ repo = "skktools";
1717+ rev = "c8816fe720604d4fd79f3552e99e0430ca6f2769";
1818+ sha256 = "11v1i5gkxvfsipigc1w1m16ijzh85drpl694kg6ih4jfam1q4vdh";
1919+ };
2020+ # # See "12.2. Package naming"
2121+ # name = "skktools-unstable-${version}";
2222+ # version = "2017-03-05";
2323+ # src = fetchFromGitHub {
2424+ # owner = "skk-dev";
2525+ # repo = "skktools";
2626+ # rev = "e14d98e734d2fdff611385c7df65826e94d929db";
2727+ # sha256 = "1k9zxqybl1l5h0a8px2awc920qrdyp1qls50h3kfrj3g65d08aq2";
2828+ # };
2929+3030+ nativeBuildInputs = [ pkgconfig ];
3131+ buildInputs = [ gdbm glib ];
3232+3333+ meta = {
3434+ description = "A collection of tools to edit SKK dictionaries";
3535+ longDescription = ''
3636+ This package provides a collection of tools to manipulate
3737+ (merge, sort etc.) the dictionaries formatted for SKK Japanese
3838+ input method.
3939+ '';
4040+ homepage = https://github.com/skk-dev/skktools;
4141+ license = stdenv.lib.licenses.gpl2Plus;
4242+ maintainers = with stdenv.lib.maintainers; [ yuriaisaka ];
4343+ platforms = with stdenv.lib.platforms; linux ++ darwin;
4444+ };
4545+}
+1-1
pkgs/tools/misc/arp-scan/default.nix
···1616 Arp-scan is a command-line tool that uses the ARP protocol to discover
1717 and fingerprint IP hosts on the local network.
1818 '';
1919- homepage = http://www.nta-monitor.com/tools-resources/security-tools/arp-scan;
1919+ homepage = http://www.nta-monitor.com/wiki/index.php/Arp-scan_Documentation;
2020 license = licenses.gpl3;
2121 platforms = platforms.linux;
2222 maintainers = [ maintainers.bjornfor ];
+11-6
pkgs/tools/misc/fd/default.nix
···2233rustPlatform.buildRustPackage rec {
44 name = "fd-${version}";
55- version = "4.0.0";
55+ version = "5.0.0";
6677 src = fetchFromGitHub {
88 owner = "sharkdp";
99 repo = "fd";
1010 rev = "v${version}";
1111- sha256 = "1aw4pgsmvzzqlvbxzv5jnw42nf316qfhvr50b58iqi2dxy8z8cmv";
1111+ sha256 = "17y2fr3faaf32lv171ppkgi55v5zxq97jiilsgmjcn00rd9i6v0j";
1212 };
13131414- cargoSha256 = "1v9wg4dq4c7i85bkdhd79bj8gx7200z6np05wsyj2ycbv97p095j";
1414+ cargoSha256 = "17f4plyj6mnz0d9f4ykgbmddsdp6c3f6q4kmgj406p49xsf0jjkc";
1515+1616+ preFixup = ''
1717+ mkdir -p "$out/man/man1"
1818+ cp "$src/doc/fd.1" "$out/man/man1"
1919+ '';
15201616- meta = {
2121+ meta = with stdenv.lib; {
1722 description = "A simple, fast and user-friendly alternative to find";
1823 longDescription = ''
1924 `fd` is a simple, fast and user-friendly alternative to `find`.
···2227 it provides sensible (opinionated) defaults for 80% of the use cases.
2328 '';
2429 homepage = "https://github.com/sharkdp/fd";
2525- license = stdenv.lib.licenses.mit;
2626- platforms = stdenv.lib.platforms.all;
3030+ license = with licenses; [ asl20 /* or */ mit ];
3131+ platforms = platforms.all;
2732 };
2833}
···3838 (page number, printing date, file name or supplied header), line numbering, symbol substitution as
3939 well as pretty printing for a wide range of programming languages.
4040 '';
4141- homepage = http://www.inf.enst.fr/~demaille/a2ps/index.html;
4141+ homepage = https://www.gnu.org/software/a2ps/;
4242 license = licenses.gpl3Plus;
4343 maintainers = [ maintainers.bennofs ];
4444 platforms = platforms.linux;
+38
pkgs/tools/typesetting/sshlatex/default.nix
···11+{ stdenv, fetchFromGitHub, inotify-tools, openssh, perl, gnutar, bash, makeWrapper }:
22+33+stdenv.mkDerivation rec {
44+ name = "sshlatex-${version}";
55+ version = "0.7";
66+77+ src = fetchFromGitHub {
88+ owner = "iblech";
99+ repo = "sshlatex";
1010+ rev = "${version}";
1111+ sha256 = "02h81i8n3skg9jnlfrisyg5bhqicrn6svq64kp20f70p64s3d7ix";
1212+ };
1313+1414+ buildInputs = [ makeWrapper ];
1515+1616+ installPhase = let
1717+ binPath = stdenv.lib.makeBinPath [ openssh perl gnutar bash inotify-tools ];
1818+ in ''
1919+ mkdir -p $out/bin
2020+ cp sshlatex $out/bin
2121+ wrapProgram $out/bin/sshlatex --prefix PATH : "${binPath}"
2222+ '';
2323+2424+ meta = with stdenv.lib; {
2525+ description = "A collection of hacks to efficiently run LaTeX via ssh";
2626+ longDescription = ''
2727+ sshlatex is a tool which uploads LaTeX source files to a remote, runs
2828+ LaTeX there, and streams the resulting PDF file to the local host.
2929+ Because sshlatex prestarts LaTeX with the previous run's preamble,
3030+ thereby preloading the required LaTeX packages, it is also useful in a
3131+ purely local setting.
3232+ '';
3333+ homepage = https://github.com/iblech/sshlatex;
3434+ license = stdenv.lib.licenses.gpl3Plus; # actually dual-licensed gpl3Plus | lppl13cplus
3535+ platforms = stdenv.lib.platforms.all;
3636+ maintainers = [ maintainers.iblech ];
3737+ };
3838+}