···32 The old config generation system used impure shell scripts and could break in specific circumstances (see #1234).
3334* `meta.description` should:
35- * Be capitalized
36- * Not start with the package name
37- * Not have a dot at the end
0003839-See the nixpkgs manual for more details on how to [Submit changes to nixpkgs](https://nixos.org/nixpkgs/manual/#chap-submitting-changes).
4041## Writing good commit messages
42
···32 The old config generation system used impure shell scripts and could break in specific circumstances (see #1234).
3334* `meta.description` should:
35+ * Be capitalized.
36+ * Not start with the package name.
37+ * Not have a period at the end.
38+* `meta.license` must be set and fit the upstream license.
39+ * If there is no upstream license, `meta.license` should default to `stdenv.lib.licenses.unfree`.
40+* `meta.maintainers` must be set.
4142+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).
4344## Writing good commit messages
45
···16 hardware.</para></listitem>
1718 <listitem><para>The NixOS manual is available on virtual console 8
19- (press Alt+F8 to access).</para></listitem>
02021 <listitem><para>You get logged in as <literal>root</literal>
22 (with empty password).</para></listitem>
···16 hardware.</para></listitem>
1718 <listitem><para>The NixOS manual is available on virtual console 8
19+ (press Alt+F8 to access) or by running <command>nixos-help</command>.
20+ </para></listitem>
2122 <listitem><para>You get logged in as <literal>root</literal>
23 (with empty password).</para></listitem>
+3-2
nixos/modules/services/misc/nixos-manual.nix
···135 };
136 };
137138- services.mingetty.helpLine = mkIf cfg.showManual
139- "\nPress <Alt-F${toString cfg.ttyNumber}> for the NixOS manual.";
0140141 };
142
···60 in attrs: concatStringsSep " " (attrValues (mapAttrs toFlag attrs));
6162 gnSystemLibraries = [
63+ "flac" "libwebp" "libxslt" "yasm" "opus" "snappy" "libpng" "zlib"
64 # "libjpeg" # fails with multiple undefined references to chromium_jpeg_*
65 # "re2" # fails with linker errors
66 # "ffmpeg" # https://crbug.com/731766
67+ ] ++ optionals (versionRange "62" "63") [
68+ "harfbuzz-ng" # in versions over 63 harfbuzz and freetype are being built together
69+ # so we can't build with one from system and other from source
70 ];
7172 opusWithCustomModes = libopus.override {
···79 libpng libcap
80 xdg_utils yasm minizip libwebp
81 libusb1 re2 zlib
82+ ffmpeg libxslt libxml2
83+ ] ++ optionals (versionRange "62" "63") [
84+ harfbuzz-icu # in versions over 63 harfbuzz and freetype are being built together
85+ # so we can't build with one from system and other from source
86 ];
8788 # build paths and release info
···22# them with our own.
2324let
0000025 # NOTE: When updating, please also update in current stable,
26 # as older versions stop working
27 version = "37.4.29";
···22# them with our own.
2324let
25+ ## Prefetch commands to run after update, from this directory:
26+ ## e.g. with Emacs: C-u M-x shell-command
27+ # nix-prefetch-url ../../../../ -A dropbox.src
28+ # nix-prefetch-url ../../../../ -A pkgsi686Linux.dropbox.src
29+30 # NOTE: When updating, please also update in current stable,
31 # as older versions stop working
32 version = "37.4.29";
···3940Options:
41 --out path Path where the output would be stored.
42- --url url Any url understand by 'git clone'.
43 --rev ref Any sha1 or references (such as refs/heads/master)
44 --hash h Expected hash.
45 --deepClone Clone the entire repository.
···3940Options:
41 --out path Path where the output would be stored.
42+ --url url Any url understood by 'git clone'.
43 --rev ref Any sha1 or references (such as refs/heads/master)
44 --hash h Expected hash.
45 --deepClone Clone the entire repository.
+2-2
pkgs/development/libraries/appstream/default.nix
···26 cmakeFlags = ''
27 -DSTEMMING=off
28 '';
29-30 meta = with stdenv.lib; {
31 description = "Software metadata handling library";
32- homepage = "http://www.freedesktop.org/wiki/Distributions/AppStream/Software/";
33 longDescription =
34 ''
35 AppStream is a cross-distro effort for building Software-Center applications
···26 cmakeFlags = ''
27 -DSTEMMING=off
28 '';
29+30 meta = with stdenv.lib; {
31 description = "Software metadata handling library";
32+ homepage = https://www.freedesktop.org/wiki/Distributions/AppStream/;
33 longDescription =
34 ''
35 AppStream is a cross-distro effort for building Software-Center applications
···1+{ stdenv, fetchFromGitHub, pkgconfig, gdbm, glib }:
2+3+# Note (2017-10-24, yuriaisaka):
4+# - Version 1.3.3 dates from Jul. 19, 2013.
5+# - The latest commit to the github repo dates from Mar. 05, 2017
6+# - The repo since appears to have become a kitchen sink place to keep
7+# misc tools to handle SKK dictionaries, and these tools have runtime
8+# dependencies on a Ruby interpreter etc.
9+# - We for the moment do not package them to keep the dependencies slim.
10+# Probably, shall package the newer tools as skktools-extra in the future.
11+stdenv.mkDerivation rec {
12+ name = "skktools-${version}";
13+ version = "1.3.3";
14+ src = fetchFromGitHub {
15+ owner = "skk-dev";
16+ repo = "skktools";
17+ rev = "c8816fe720604d4fd79f3552e99e0430ca6f2769";
18+ sha256 = "11v1i5gkxvfsipigc1w1m16ijzh85drpl694kg6ih4jfam1q4vdh";
19+ };
20+ # # See "12.2. Package naming"
21+ # name = "skktools-unstable-${version}";
22+ # version = "2017-03-05";
23+ # src = fetchFromGitHub {
24+ # owner = "skk-dev";
25+ # repo = "skktools";
26+ # rev = "e14d98e734d2fdff611385c7df65826e94d929db";
27+ # sha256 = "1k9zxqybl1l5h0a8px2awc920qrdyp1qls50h3kfrj3g65d08aq2";
28+ # };
29+30+ nativeBuildInputs = [ pkgconfig ];
31+ buildInputs = [ gdbm glib ];
32+33+ meta = {
34+ description = "A collection of tools to edit SKK dictionaries";
35+ longDescription = ''
36+ This package provides a collection of tools to manipulate
37+ (merge, sort etc.) the dictionaries formatted for SKK Japanese
38+ input method.
39+ '';
40+ homepage = https://github.com/skk-dev/skktools;
41+ license = stdenv.lib.licenses.gpl2Plus;
42+ maintainers = with stdenv.lib.maintainers; [ yuriaisaka ];
43+ platforms = with stdenv.lib.platforms; linux ++ darwin;
44+ };
45+}
+1-1
pkgs/tools/misc/arp-scan/default.nix
···16 Arp-scan is a command-line tool that uses the ARP protocol to discover
17 and fingerprint IP hosts on the local network.
18 '';
19- homepage = http://www.nta-monitor.com/tools-resources/security-tools/arp-scan;
20 license = licenses.gpl3;
21 platforms = platforms.linux;
22 maintainers = [ maintainers.bjornfor ];
···16 Arp-scan is a command-line tool that uses the ARP protocol to discover
17 and fingerprint IP hosts on the local network.
18 '';
19+ homepage = http://www.nta-monitor.com/wiki/index.php/Arp-scan_Documentation;
20 license = licenses.gpl3;
21 platforms = platforms.linux;
22 maintainers = [ maintainers.bjornfor ];
+11-6
pkgs/tools/misc/fd/default.nix
···23rustPlatform.buildRustPackage rec {
4 name = "fd-${version}";
5- version = "4.0.0";
67 src = fetchFromGitHub {
8 owner = "sharkdp";
9 repo = "fd";
10 rev = "v${version}";
11- sha256 = "1aw4pgsmvzzqlvbxzv5jnw42nf316qfhvr50b58iqi2dxy8z8cmv";
12 };
1314- cargoSha256 = "1v9wg4dq4c7i85bkdhd79bj8gx7200z6np05wsyj2ycbv97p095j";
000001516- meta = {
17 description = "A simple, fast and user-friendly alternative to find";
18 longDescription = ''
19 `fd` is a simple, fast and user-friendly alternative to `find`.
···22 it provides sensible (opinionated) defaults for 80% of the use cases.
23 '';
24 homepage = "https://github.com/sharkdp/fd";
25- license = stdenv.lib.licenses.mit;
26- platforms = stdenv.lib.platforms.all;
27 };
28}
···23rustPlatform.buildRustPackage rec {
4 name = "fd-${version}";
5+ version = "5.0.0";
67 src = fetchFromGitHub {
8 owner = "sharkdp";
9 repo = "fd";
10 rev = "v${version}";
11+ sha256 = "17y2fr3faaf32lv171ppkgi55v5zxq97jiilsgmjcn00rd9i6v0j";
12 };
1314+ cargoSha256 = "17f4plyj6mnz0d9f4ykgbmddsdp6c3f6q4kmgj406p49xsf0jjkc";
15+16+ preFixup = ''
17+ mkdir -p "$out/man/man1"
18+ cp "$src/doc/fd.1" "$out/man/man1"
19+ '';
2021+ meta = with stdenv.lib; {
22 description = "A simple, fast and user-friendly alternative to find";
23 longDescription = ''
24 `fd` is a simple, fast and user-friendly alternative to `find`.
···27 it provides sensible (opinionated) defaults for 80% of the use cases.
28 '';
29 homepage = "https://github.com/sharkdp/fd";
30+ license = with licenses; [ asl20 /* or */ mit ];
31+ platforms = platforms.all;
32 };
33}
···38 (page number, printing date, file name or supplied header), line numbering, symbol substitution as
39 well as pretty printing for a wide range of programming languages.
40 '';
41- homepage = http://www.inf.enst.fr/~demaille/a2ps/index.html;
42 license = licenses.gpl3Plus;
43 maintainers = [ maintainers.bennofs ];
44 platforms = platforms.linux;
···38 (page number, printing date, file name or supplied header), line numbering, symbol substitution as
39 well as pretty printing for a wide range of programming languages.
40 '';
41+ homepage = https://www.gnu.org/software/a2ps/;
42 license = licenses.gpl3Plus;
43 maintainers = [ maintainers.bennofs ];
44 platforms = platforms.linux;
+38
pkgs/tools/typesetting/sshlatex/default.nix
···00000000000000000000000000000000000000
···1+{ stdenv, fetchFromGitHub, inotify-tools, openssh, perl, gnutar, bash, makeWrapper }:
2+3+stdenv.mkDerivation rec {
4+ name = "sshlatex-${version}";
5+ version = "0.7";
6+7+ src = fetchFromGitHub {
8+ owner = "iblech";
9+ repo = "sshlatex";
10+ rev = "${version}";
11+ sha256 = "02h81i8n3skg9jnlfrisyg5bhqicrn6svq64kp20f70p64s3d7ix";
12+ };
13+14+ buildInputs = [ makeWrapper ];
15+16+ installPhase = let
17+ binPath = stdenv.lib.makeBinPath [ openssh perl gnutar bash inotify-tools ];
18+ in ''
19+ mkdir -p $out/bin
20+ cp sshlatex $out/bin
21+ wrapProgram $out/bin/sshlatex --prefix PATH : "${binPath}"
22+ '';
23+24+ meta = with stdenv.lib; {
25+ description = "A collection of hacks to efficiently run LaTeX via ssh";
26+ longDescription = ''
27+ sshlatex is a tool which uploads LaTeX source files to a remote, runs
28+ LaTeX there, and streams the resulting PDF file to the local host.
29+ Because sshlatex prestarts LaTeX with the previous run's preamble,
30+ thereby preloading the required LaTeX packages, it is also useful in a
31+ purely local setting.
32+ '';
33+ homepage = https://github.com/iblech/sshlatex;
34+ license = stdenv.lib.licenses.gpl3Plus; # actually dual-licensed gpl3Plus | lppl13cplus
35+ platforms = stdenv.lib.platforms.all;
36+ maintainers = [ maintainers.iblech ];
37+ };
38+}