-14
doc/old/update-upstream-data.txt
-14
doc/old/update-upstream-data.txt
···-Semi-automatic source information updating using "update-upstream-data.sh" script and "src-{,info-}for-*.nix"-Packages using this automatical update mechanism have src-info-for-default.nix and src-for-default.nix next to default.nix. src-info-for-default.nix describes getting the freshest source from upstream web site; src-for-default.nix is a generated file with the current data about used source. Both files define a simple attrSet.-src-info-for-default.nix (for a file grabbed via http) contains at least downloadPage attribute - it is the page we need to look at to find out the latest version. It also contains baseName that is used for automatical generation of package name containing version. It can contain extra data for trickier cases.-src-for-default.nix will contain advertisedUrl (raw URL chosen on the site; its change prompts regeneration of source data), url for fetchurl, hash, version retrieved from the download URL and suggested package name.-nixpkgs/pkgs/build-support/upstream-updater directory contains some scripts. The worker script is called update-upstream-data.sh. This script requires main expression name (e.g. default.nix). It can optionally accpet a second parameter, URL which will be used instead of getting one by parsing the downloadPage (version extraction, mirror URL creation etc. will still be run). After running the script, check src-for-default.nix (or replace default.nix with expression name, if there are seceral expressions in the directory) for new version information.
+1
-1
nixos/modules/services/misc/gitit.nix
+1
-1
nixos/modules/services/misc/gitit.nix
···
-607
pkgs/build-support/builder-defs/builder-defs.nix
-607
pkgs/build-support/builder-defs/builder-defs.nix
···-args @ {stringsWithDeps, lib, stdenv, writeScript, fetchurl, fetchmtn, fetchgit, ...}: with args; with stringsWithDeps; with lib;-# if you change this rewrite using '' instead of "" to get rid of indentation in builder scripts-python configure.py -b "$prefix/bin" -d "$(toPythonPath "$prefix")" -v "$prefix/share/sip" ${toString configureFlags}-echo '${toString (attrByPath ["propagatedBuildInputs"] [] args)}' >\$out/nix-support/propagated-build-inputs-cmakeRPathFlag = if attrByPath ["cmakeSkipRpath "] true args then " -DCMAKE_SKIP_BUILD_RPATH=ON " else "";-find -name '*.pfm' -o -name '*.afm' -o -name '*.pfb' -exec cp {} $out/share/fonts/type1/public/${retrievedName} \;
-48
pkgs/build-support/builder-defs/template-auto-callable.nix
-48
pkgs/build-support/builder-defs/template-auto-callable.nix
···
-26
pkgs/build-support/builder-defs/template-bdp-uud.nix
-26
pkgs/build-support/builder-defs/template-bdp-uud.nix
···
-22
pkgs/build-support/builder-defs/template-composing+config.nix
-22
pkgs/build-support/builder-defs/template-composing+config.nix
···
-26
pkgs/build-support/builder-defs/template-composing-builder.nix
-26
pkgs/build-support/builder-defs/template-composing-builder.nix
···
-21
pkgs/build-support/upstream-updater/attrset-to-dir.sh
-21
pkgs/build-support/upstream-updater/attrset-to-dir.sh
···-echo "Cannot find Nixpkgs source. Please specify it via NIXPKGS_ALL or second command line argument"
-49
pkgs/development/interpreters/octave/hg.nix
-49
pkgs/development/interpreters/octave/hg.nix
···-bison, autoconf, automake, sourceFromHead, config, lib, atlas, gperf, python, glibc, gnuplot, texinfo, texLive, qhull, libX11}:-(fetchurl { url = "http://mawercer.de/~nix/repos/octave-03b414516dd8.tar.gz"; sha256 = "30877f1e2ff1a456e7a76153aabf7c59ce7c7a8b63eda0515b1eead6a4351ce7"; });-# HOME is set to $TMP because octave needs to access ${HOME}/.octave_hist while running targets
-87
pkgs/tools/typesetting/tex/texlive/aggregate.nix
-87
pkgs/tools/typesetting/tex/texlive/aggregate.nix
···-find $currentPath/share/info $currentPath/share/man $(echo $currentPath/texmf*/) -type d | while read; do-find $currentPath/share/info $currentPath/share/man $(echo $currentPath/texmf*/) ! -type d | while read; do
-25
pkgs/tools/typesetting/tex/texlive/beamer.nix
-25
pkgs/tools/typesetting/tex/texlive/beamer.nix
···
-35
pkgs/tools/typesetting/tex/texlive/cm-super.nix
-35
pkgs/tools/typesetting/tex/texlive/cm-super.nix
···
-25
pkgs/tools/typesetting/tex/texlive/context.nix
-25
pkgs/tools/typesetting/tex/texlive/context.nix
···
-161
pkgs/tools/typesetting/tex/texlive/default.nix
-161
pkgs/tools/typesetting/tex/texlive/default.nix
···-sed -e '1i\#include <string.h>\n\#include <stdlib.h>' -i $( find libs/teckit -name '*.cpp' -o -name '*.c' )-./Build --prefix="$out" --datadir="$out/share" --mandir="$out/share/man" --infodir="$out/share/info" \-ln -sf "$(readlink -f "$out/libexec/$(basename "$i")")" "$out/libexec/$(uname -m)/$(basename "$i")";-'' ) [ "minInit" "defEnsureDir" "doUnpack" "doMakeInstall" "promoteLibexec" "patchShebangsInterim"];
-26
pkgs/tools/typesetting/tex/texlive/extra.nix
-26
pkgs/tools/typesetting/tex/texlive/extra.nix
···
-24
pkgs/tools/typesetting/tex/texlive/moderncv.nix
-24
pkgs/tools/typesetting/tex/texlive/moderncv.nix
···
-24
pkgs/tools/typesetting/tex/texlive/moderntimeline.nix
-24
pkgs/tools/typesetting/tex/texlive/moderntimeline.nix
···-mkdir -p $out/texmf-dist/tex/latex/moderntimeline $out/texmf-dist/doc/moderntimeline $out/share
-7
pkgs/tools/typesetting/tex/texlive/setup-hook.sh
-7
pkgs/tools/typesetting/tex/texlive/setup-hook.sh
-37
pkgs/tools/typesetting/tex/texlive/xcolor.nix
-37
pkgs/tools/typesetting/tex/texlive/xcolor.nix
···
+4
-56
pkgs/top-level/all-packages.nix
+4
-56
pkgs/top-level/all-packages.nix
···-builderDefs = lib.composedArgsAndFun (callPackage ../build-support/builder-defs/builder-defs.nix) {};············-texLiveContext = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/context.nix) {};-texLiveExtra = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/extra.nix) {};-texLiveCMSuper = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/cm-super.nix) {};-texLiveLatexXColor = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/xcolor.nix) {};-texLiveBeamer = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/beamer.nix) {};-texLiveModerncv = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/moderncv.nix) {};-texLiveModerntimeline = builderDefsPackage (callPackage ../tools/typesetting/tex/texlive/moderntimeline.nix) {};