Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
f8cd0cb
asc-key-to-qr-code-gif: init at 20180613
asymmetric Jun 12, 2018
9fb2767
nix-pin: 0.3.1 -> 0.3.4
timbertson Jun 18, 2018
f8ec07e
haskell generic-builder: Always use separate pkg db for custom setup
Ericson2314 Jun 13, 2018
6d5751b
haskell: Add setup depends for Cabal
kirelagin Apr 27, 2018
8807039
Merge pull request #41893 from asymmetric/asymmetric/asc-qr
xeji Jun 18, 2018
b30d529
tesseract: make tessdata a fix output derivation (#41227)
symphorien Jun 18, 2018
7162eb1
c-blosc: 1.11.3 -> 1.14.3 (#42036)
r-ryantm Jun 18, 2018
06ab7d8
balsa: 2.5.5 -> 2.5.6 (#42054)
r-ryantm Jun 18, 2018
1f8f89d
inkscape: work around ARGMAX limit
matthewbauer Jun 18, 2018
085bf3e
docs: minor rewording for easier reading.
ariutta Jun 18, 2018
e8acdcc
range-v3: 0.3.5 -> 0.3.6
dtzWill Jun 18, 2018
34f57ac
haskell: fix with-packages-wrapper in ghcjs
matthewbauer Jun 18, 2018
7b6755d
xonsh: 0.6.6 -> 0.6.7
Jun 19, 2018
95358db
chromium: Abort build on gn warnings. Fixes #42189.
nh2 Jun 19, 2018
14ca8dd
Merge pull request #42188 from dtzWill/update/range-v3-0.3.6
dtzWill Jun 19, 2018
e7d3dee
zerotierone: 1.2.8 -> 1.2.10
Jun 19, 2018
59eca68
dmraid: fix w/musl (missing includes, -D_GNU_SOURCE)
dtzWill Jun 19, 2018
0ff2b72
Merge pull request #42198 from dtzWill/fix/dmraid-musl
dtzWill Jun 19, 2018
b6dfa31
Merge pull request #41939 from obsidiansystems/haskell-always-setup-s…
Ericson2314 Jun 19, 2018
13491ba
Merge pull request #42196 from r-ryantm/auto-update/zerotierone
adisbladis Jun 19, 2018
4acaaf6
Merge pull request #42192 from r-ryantm/auto-update/xonsh
adisbladis Jun 19, 2018
5b09fe1
Merge pull request #42191 from obsidiansystems/fix-ghcjs-with-packages
matthewbauer Jun 19, 2018
d316ca5
vips: 8.6.3 -> 8.6.4
Jun 19, 2018
08691d0
Grub: default is signed int. Fixes #42152
dje4321 Jun 19, 2018
a597c0d
uptimed: 0.4.0 -> 0.4.1
Jun 19, 2018
2db31b6
redis: 4.0.9 -> 4.0.10
Jun 19, 2018
eb19692
riot-web: 0.15.4 -> 0.15.5
Jun 19, 2018
49eae14
snes9x-gtk: Install normally
Madouura Jun 19, 2018
620b5e4
Merge pull request #42210 from r-ryantm/auto-update/redis
adisbladis Jun 19, 2018
718e4f5
Merge pull request #42201 from r-ryantm/auto-update/vips
adisbladis Jun 19, 2018
1dc3f82
Merge pull request #42185 from ariutta/rewording
Mic92 Jun 19, 2018
ae04fb0
set default to type.str
dje4321 Jun 19, 2018
9b035d5
Merge pull request #42194 from nh2/issue-42189-chromium-gn-warning-check
Mic92 Jun 19, 2018
933f53e
mgba: Add desktop file
Madouura Jun 19, 2018
119b41f
Merge pull request #42213 from Chiiruno/dev/snes9x
adisbladis Jun 19, 2018
9501aaa
Merge pull request #42212 from r-ryantm/auto-update/riot-web
Mic92 Jun 19, 2018
93befc0
Merge pull request #42207 from r-ryantm/auto-update/uptimed
Mic92 Jun 19, 2018
c89b6f4
vym: 2.2.4 -> 2.6.11 (#42186)
Jun 19, 2018
ac01365
added suggestion to support both str and int
dje4321 Jun 19, 2018
fd20435
tectonic: 0.1.7 -> 0.1.8
marsam Jun 19, 2018
d5c4c8e
Merge pull request #42215 from marsam/feature/update-tectonic
Mic92 Jun 19, 2018
81eaa7a
Merge pull request #42211 from dje4321/dje4321
Mic92 Jun 19, 2018
3d29c1a
pkcs11helper: 1.23 -> 1.24
Jun 19, 2018
efd91a0
offlineimap: 7.2.0 -> 7.2.1
Jun 19, 2018
2325ca9
Merge pull request #42221 from r-ryantm/auto-update/pkcs11-helper
adisbladis Jun 19, 2018
9424664
Merge pull request #42223 from r-ryantm/auto-update/offlineimap
adisbladis Jun 19, 2018
ec5c080
Merge pull request #42219 from timbertson/nix-pin
adisbladis Jun 19, 2018
56b867c
Merge pull request #42214 from Chiiruno/dev/mgba
pSub Jun 19, 2018
8dcb7c7
lf: available on the other UNIX-like platforms
mnacamura Jun 19, 2018
8e786a5
Merge pull request #42232 from mnacamura/lf-darwin
Mic92 Jun 19, 2018
a5cd4b2
deepin.deepin-terminal: 2.9.2 → 3.0.0
jtojnar Jun 19, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 26 additions & 22 deletions doc/reviewing-contributions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,22 @@
<title>Reviewing contributions</title>
<warning>
<para>
The following section is a draft and reviewing policy is still being
discussed.
The following section is a draft, and the policy for reviewing is still being
discussed in issues such as <link
xlink:href="https://github.com/NixOS/nixpkgs/issues/11166">#11166
</link> and <link
xlink:href="https://github.com/NixOS/nixpkgs/issues/20836">#20836
</link>.
</para>
</warning>
<para>
The nixpkgs projects receives a fairly high number of contributions via
The nixpkgs project receives a fairly high number of contributions via
GitHub pull-requests. Reviewing and approving these is an important task and
a way to contribute to the project.
</para>
<para>
The high change rate of nixpkgs make any pull request that is open for long
enough subject to conflicts that will require extra work from the submitter
The high change rate of nixpkgs makes any pull request that remains open for
too long subject to conflicts that will require extra work from the submitter
or the merger. Reviewing pull requests in a timely manner and being
responsive to the comments is the key to avoid these. GitHub provides sort
filters that can be used to see the
Expand All @@ -33,34 +37,34 @@
<para>
When reviewing a pull request, please always be nice and polite.
Controversial changes can lead to controversial opinions, but it is important
to respect every community members and their work.
to respect every community member and their work.
</para>
<para>
GitHub provides reactions, they are a simple and quick way to provide
GitHub provides reactions as a simple and quick way to provide
feedback to pull-requests or any comments. The thumb-down reaction should be
used with care and if possible accompanied with some explanations so the
submitter has directions to improve his contribution.
used with care and if possible accompanied with some explanation so the
submitter has directions to improve their contribution.
</para>
<para>
Pull-requests reviews should include a list of what has been reviewed in a
Pull-request reviews should include a list of what has been reviewed in a
comment, so other reviewers and mergers can know the state of the review.
</para>
<para>
All the review template samples provided in this section are generic and
meant as examples. Their usage is optional and the reviewer is free to adapt
them to his liking.
them to their liking.
</para>
<section>
<title>Package updates</title>

<para>
A package update is the most trivial and common type of pull-request. These
pull-requests mainly consist in updating the version part of the package
pull-requests mainly consist of updating the version part of the package
name and the source hash.
</para>

<para>
It can happen that non trivial updates include patches or more complex
It can happen that non-trivial updates include patches or more complex
changes.
</para>

Expand All @@ -84,12 +88,12 @@
</listitem>
<listitem>
<para>
Ensure that the package versioning is fitting the guidelines.
Ensure that the package versioning fits the guidelines.
</para>
</listitem>
<listitem>
<para>
Ensure that the commit text is fitting the guidelines.
Ensure that the commit text fits the guidelines.
</para>
</listitem>
<listitem>
Expand All @@ -99,21 +103,21 @@
<itemizedlist>
<listitem>
<para>
mention-bot usually notify GitHub users based on the submitted changes,
mention-bot usually notifies GitHub users based on the submitted changes,
but it can happen that it misses some of the package maintainers.
</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>
Ensure that the meta field contains correct information.
Ensure that the meta field information is correct.
</para>
<itemizedlist>
<listitem>
<para>
License can change with version updates, so it should be checked to be
fitting upstream license.
License can change with version updates, so it should be checked to match
the upstream license.
</para>
</listitem>
<listitem>
Expand All @@ -137,9 +141,9 @@
<itemizedlist>
<listitem>
<para>
Pull-requests are often targeted to the master or staging branch so
building the pull-request locally as it is submitted can trigger a large
amount of source builds.
Pull-requests are often targeted to the master or staging branch, and
building the pull-request locally when it is submitted can trigger
many source builds.
</para>
<para>
It is possible to rebase the changes on nixos-unstable or
Expand Down
5 changes: 3 additions & 2 deletions nixos/modules/system/boot/loader/grub/grub.nix
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,9 @@ in
};

default = mkOption {
default = 0;
type = types.int;
default = "0";
type = types.either types.int types.str;
apply = toString;
description = ''
Index of the default menu item to be booted.
'';
Expand Down
2 changes: 1 addition & 1 deletion nixos/modules/system/boot/loader/grub/install-grub.pl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ sub runCommand {
my $configurationLimit = int(get("configurationLimit"));
my $copyKernels = get("copyKernels") eq "true";
my $timeout = int(get("timeout"));
my $defaultEntry = int(get("default"));
my $defaultEntry = get("default");
my $fsIdentifier = get("fsIdentifier");
my $grubEfi = get("grubEfi");
my $grubTargetEfi = get("grubTargetEfi");
Expand Down
14 changes: 10 additions & 4 deletions pkgs/applications/graphics/inkscape/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
sha256 = "1chng2yw8dsjxc9gf92aqv7plj11cav8ax321wmakmv5bb09cch6";
};

# Inkscape hits the ARGMAX when linking on macOS. It appears to be
# CMake’s ARGMAX check doesn’t offer enough padding for NIX_LDFLAGS.
# Setting strictDeps it avoids duplicating some dependencies so it
# will leave us under ARGMAX.
strictDeps = true;

unpackPhase = ''
cp $src ${name}.tar.bz2
tar xvjf ${name}.tar.bz2 > /dev/null
Expand All @@ -33,19 +39,19 @@ stdenv.mkDerivation rec {
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
'';

nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env ];
buildInputs = [
perl perlXMLParser libXft libpng zlib popt boehmgc
libxml2 libxslt glib gtkmm2 glibmm libsigcxx lcms boost gettext
makeWrapper gsl poppler imagemagick libwpg librevenge
libvisio libcdr libexif potrace cmake python2Env
gsl poppler imagemagick libwpg librevenge
libvisio libcdr libexif potrace
];

enableParallelBuilding = true;

postInstall = ''
# Make sure PyXML modules can be found at run-time.
rm "$out/share/icons/hicolor/icon-theme.cache"
rm -f "$out/share/icons/hicolor/icon-theme.cache"
'' + stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkscape
install_name_tool -change $out/lib/libinkscape_base.dylib $out/lib/inkscape/libinkscape_base.dylib $out/bin/inkview
Expand Down
64 changes: 34 additions & 30 deletions pkgs/applications/graphics/tesseract/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,38 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, leptonica, libpng, libtiff, icu, pango, opencl-headers

# Supported list of languages or `null' for all available languages
, enableLanguages ? null
# if you want just a specific list of languages, optionally specify a hash
# to make tessdata a fixed output derivation.
, enableLanguagesHash ? (if enableLanguages == null # all languages
then "1h48xfzabhn0ldbx5ib67cp9607pr0zpblsy8z6fs4knn0zznfnw"
else null)
}:

let tessdata = stdenv.mkDerivation ({
name = "tessdata";
src = fetchFromGitHub {
owner = "tesseract-ocr";
repo = "tessdata";
rev = "3cf1e2df1fe1d1da29295c9ef0983796c7958b7d";
# when updating don't forget to update the default value fo enableLanguagesHash
sha256 = "1v4b63v5nzcxr2y3635r19l7lj5smjmc9vfk0wmxlryxncb4vpg7";
};
buildCommand = ''
cd $src;
for lang in ${if enableLanguages==null then "*.traineddata" else stdenv.lib.concatMapStringsSep " " (x: x+".traineddata") enableLanguages} ; do
install -Dt $out/share/tessdata $src/$lang ;
done;
'';
preferLocalBuild = true;
} // (stdenv.lib.optionalAttrs (enableLanguagesHash != null) {
# when a hash is given, we make this a fixed output derivation.
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = enableLanguagesHash;
}));
in

stdenv.mkDerivation rec {
name = "tesseract-${version}";
version = "3.05.00";
Expand All @@ -16,41 +44,17 @@ stdenv.mkDerivation rec {
sha256 = "11wrpcfl118wxsv2c3w2scznwb48c4547qml42s2bpdz079g8y30";
};

tessdata = fetchFromGitHub {
owner = "tesseract-ocr";
repo = "tessdata";
rev = "3cf1e2df1fe1d1da29295c9ef0983796c7958b7d";
sha256 = "1v4b63v5nzcxr2y3635r19l7lj5smjmc9vfk0wmxlryxncb4vpg7";
};
enableParallelBuilding = true;

nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ leptonica libpng libtiff icu pango opencl-headers ];

LIBLEPT_HEADERSDIR = "${leptonica}/include";

# Copy the .traineddata files of the languages specified in enableLanguages
# into `$out/share/tessdata' and check afterwards if copying was successful.
postInstall = let
mkArg = lang: "-iname ${stdenv.lib.escapeShellArg "${lang}.traineddata"}";
mkFindArgs = stdenv.lib.concatMapStringsSep " -o " mkArg;
findLangArgs = if enableLanguages != null
then "\\( ${mkFindArgs enableLanguages} \\)"
else "-iname '*.traineddata'";
in ''
numLangs="$(find "$tessdata" -mindepth 1 -maxdepth 1 -type f \
${findLangArgs} -exec cp -t "$out/share/tessdata" {} + -print | wc -l)"

${if enableLanguages != null then ''
expected=${toString (builtins.length enableLanguages)}
'' else ''
expected="$(ls -1 "$tessdata/"*.traineddata | wc -l)"
''}

if [ "$numLangs" -ne "$expected" ]; then
echo "Expected $expected languages, but $numLangs" \
"were copied to \`$out/share/tessdata'" >&2
exit 1
fi
postInstall = ''
for i in ${tessdata}/share/tessdata/*; do
ln -s $i $out/share/tessdata;
done
'';

meta = {
Expand Down
12 changes: 6 additions & 6 deletions pkgs/applications/misc/vym/default.nix
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{ stdenv, fetchurl, pkgconfig, qt4, qmake4Hook }:
{ stdenv, fetchurl, pkgconfig, qmake, qtsvg }:

stdenv.mkDerivation rec {
name = "vym-${version}";
version = "2.2.4";
version = "2.6.11";

src = fetchurl {
url = "mirror://sourceforge/project/vym/${version}/${name}.tar.bz2";
sha256 = "1x4qp6wpszscbbs4czkfvskm7qjglvxm813nqv281bpy4y1hhvgs";
url = "mirror://sourceforge/project/vym/2.6.0/${name}.tar.bz2";
sha256 = "1yznlb47jahd662a2blgh1ccwpl5dp5rjz9chsxjzhj3vbkzx3nl";
};

hardeningDisable = [ "format" ];

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ qt4 qmake4Hook ];
nativeBuildInputs = [ pkgconfig qmake ];
buildInputs = [ qtsvg ];

meta = with stdenv.lib; {
description = "A mind-mapping software";
Expand Down
9 changes: 4 additions & 5 deletions pkgs/applications/networking/browsers/chromium/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

# package customization
, enableNaCl ? false
, enableHotwording ? false
, enableWideVine ? false
, gnomeSupport ? false, gnome ? null
, gnomeKeyringSupport ? false, libgnome-keyring3 ? null
Expand Down Expand Up @@ -215,11 +214,8 @@ let
proprietary_codecs = false;
use_sysroot = false;
use_gnome_keyring = gnomeKeyringSupport;
## FIXME remove use_gconf after chromium 65 has become stable
use_gconf = gnomeSupport;
use_gio = gnomeSupport;
enable_nacl = enableNaCl;
enable_hotwording = enableHotwording;
enable_widevine = enableWideVine;
use_cups = cupsSupport;

Expand Down Expand Up @@ -259,7 +255,10 @@ let
libExecPath="${libExecPath}"
python build/linux/unbundle/replace_gn_files.py \
--system-libraries ${toString gnSystemLibraries}
gn gen --args=${escapeShellArg gnFlags} out/Release
gn gen --args=${escapeShellArg gnFlags} out/Release | tee gn-gen-outputs.txt

# Fail if `gn gen` contains a WARNING.
grep -o WARNING gn-gen-outputs.txt && echo "Found gn WARNING, exiting nix build" && exit 1

runHook postConfigure
'';
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/networking/browsers/chromium/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# package customization
, channel ? "stable"
, enableNaCl ? false
, enableHotwording ? false
, gnomeSupport ? false, gnome ? null
, gnomeKeyringSupport ? false
, proprietaryCodecs ? true
Expand All @@ -22,7 +21,7 @@ let
upstream-info = (callPackage ./update.nix {}).getChannel channel;

mkChromiumDerivation = callPackage ./common.nix {
inherit enableNaCl enableHotwording gnomeSupport gnome
inherit enableNaCl gnomeSupport gnome
gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport
enableWideVine;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
let configFile = writeText "riot-config.json" conf; in
stdenv.mkDerivation rec {
name= "riot-web-${version}";
version = "0.15.4";
version = "0.15.5";

src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
sha256 = "1c0b9717xmzvzzxj006hqxafvcpvnnrsifxjnbxxla58jmnwr9v5";
sha256 = "04sij99njkiiwc1q23gwa8z6h4z0riw6yb9z3ds7v2qiyi4sshdz";
};

installPhase = ''
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/networking/mailreaders/balsa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

stdenv.mkDerivation rec {
name = "balsa-${version}";
version = "2.5.5";
version = "2.5.6";

src = fetchurl {
url = "https://pawsa.fedorapeople.org/balsa/${name}.tar.bz2";
sha256 = "0p4w81wvdxqhynkninzglsgqk6920x1zif2zmw8bml410lav2azz";
sha256 = "17k6wcsl8gki7cskr3hhmfj6n54rha8ca3b6fzd8blsl5shsankx";
};

nativeBuildInputs = [
Expand Down
Loading