···337337338338 # Helper functions.
339339340340- /* Convert an option, described as a list of the option parts in to a
341341- safe, human readable version.
340340+ /* Convert an option, described as a list of the option parts to a
341341+ human-readable version.
342342343343 Example:
344344 (showOption ["foo" "bar" "baz"]) == "foo.bar.baz"
345345- (showOption ["foo" "bar.baz" "tux"]) == "foo.bar.baz.tux"
345345+ (showOption ["foo" "bar.baz" "tux"]) == "foo.\"bar.baz\".tux"
346346+ (showOption ["windowManager" "2bwm" "enable"]) == "windowManager.\"2bwm\".enable"
346347347348 Placeholders will not be quoted as they are not actual values:
348349 (showOption ["foo" "*" "bar"]) == "foo.*.bar"
349350 (showOption ["foo" "<name>" "bar"]) == "foo.<name>.bar"
350350-351351- Unlike attributes, options can also start with numbers:
352352- (showOption ["windowManager" "2bwm" "enable"]) == "windowManager.2bwm.enable"
353351 */
354352 showOption = parts: let
355353 escapeOptionPart = part:
···11# wrap whole file into an attrset
22-1itl: { # no indentation
22+1i{ # no indentation
33$a}
4455# form an attrmap per package
···28282929 # extract deps
3030 /^depend [^.]+$/{
3131- s/^depend (.+)$/ deps."\1" = tl."\1";/
3131+ s/^depend (.+)$/ deps = [\n "\1"/
32323333 # loop through following depend lines
3434 :next
3535 h ; N # save & read next line
3636 s/\ndepend (.+)\.(.+)$//
3737- s/\ndepend (.+)$/\n deps."\1" = tl."\1";/
3737+ s/\ndepend (.+)$/\n "\1"/
3838 t next # loop if the previous lines matched
39394040- x; p; x # print saved deps
4040+ x; s/$/\n ];/p ; x # print saved deps
4141 s/^.*\n// # remove deps, resume processing
4242 }
4343
+1
pkgs/top-level/aliases.nix
···12991299 pyrex096 = throw "pyrex has been removed from nixpkgs as the project is still stuck on python2"; # Added 2022-01-12
13001300 pyrit = throw "pyrit has been removed from nixpkgs as the project is still stuck on python2"; # Added 2022-01-01
13011301 python = python2; # Added 2022-01-11
13021302+ python-language-server = throw "python-language-server has been removed as it is no longer maintained. Use e.g. python-lsp-server instead"; # Added 2023-01-07
13021303 python-swiftclient = swiftclient; # Added 2021-09-09
13031304 python2nix = throw "python2nix has been removed as it is outdated. Use e.g. nixpkgs-pytools instead"; # Added 2021-03-08
13041305 pythonFull = python2Full; # Added 2022-01-11