Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 974024c89e06
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2d2f10475138
Choose a head ref

Commits on Feb 3, 2019

  1. glowing-bear: init at 0.7.1

    delroth committed Feb 3, 2019
    Copy the full SHA
    25c2d1c View commit details

Commits on Feb 4, 2019

  1. python37Packages.libtmux: 0.8.0 -> 0.8.1

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-libtmux/versions
    r-ryantm committed Feb 4, 2019
    Copy the full SHA
    93b6bee View commit details
  2. pirate-get: 0.3.2 -> 0.3.3

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pirate-get/versions
    r-ryantm committed Feb 4, 2019
    Copy the full SHA
    7264d80 View commit details

Commits on Feb 6, 2019

  1. cmus: 2.7.1 -> 2.8.0

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cmus/versions
    r-ryantm committed Feb 6, 2019
    Copy the full SHA
    3723602 View commit details
  2. cfr: 0.138 -> 0.139

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cfr/versions
    r-ryantm committed Feb 6, 2019
    Copy the full SHA
    c479113 View commit details
  3. dmenu: 4.8 -> 4.9

    pSub committed Feb 6, 2019
    Copy the full SHA
    f825049 View commit details
  4. rrdtool: 1.7.0 -> 1.7.1

    pSub committed Feb 6, 2019
    Copy the full SHA
    e9982cc View commit details
  5. Copy the full SHA
    fa5459a View commit details

Commits on Feb 7, 2019

  1. Merge pull request #55363 from manveru/add-ovirt-engine-sdk

    defaultGemConfig.ovirt-engine-sdk: init
    alyssais authored Feb 7, 2019
    Copy the full SHA
    bdca4ec View commit details
  2. Copy the full SHA
    96b6617 View commit details
  3. dwm: 6.1 -> 6.2 (#55354)

    pSub authored and timokau committed Feb 7, 2019
    Copy the full SHA
    68aa14e View commit details
  4. Merge pull request #55357 from NixOS/update-rrdtool

    rrdtool: 1.7.0 -> 1.7.1
    srhb authored Feb 7, 2019
    Copy the full SHA
    04e46a7 View commit details
  5. Merge pull request #55355 from NixOS/update-dmenu

    dmenu: 4.8 -> 4.9
    srhb authored Feb 7, 2019
    Copy the full SHA
    e2d5c7f View commit details
  6. Merge pull request #55336 from r-ryantm/auto-update/cfr

    cfr: 0.138 -> 0.139
    srhb authored Feb 7, 2019
    Copy the full SHA
    f19145d View commit details
  7. Merge pull request #55132 from delroth/glowing-bear

    glowing-bear: init at 0.7.1
    srhb authored Feb 7, 2019
    Copy the full SHA
    aaa2cb4 View commit details
  8. Merge pull request #55223 from r-ryantm/auto-update/pirate-get

    pirate-get: 0.3.2 -> 0.3.3
    etu authored Feb 7, 2019
    Copy the full SHA
    bab6f5a View commit details
  9. Merge pull request #55190 from r-ryantm/auto-update/python3.7-libtmux

    python37Packages.libtmux: 0.8.0 -> 0.8.1
    etu authored Feb 7, 2019
    Copy the full SHA
    724d7d0 View commit details
  10. Revert "rustc: 1.31.0 -> 1.32.0" (#55379)

    This reverts commit 56dba36.
    timokau authored Feb 7, 2019
    Copy the full SHA
    882131e View commit details
  11. Merge pull request #55331 from r-ryantm/auto-update/cmus

    cmus: 2.7.1 -> 2.8.0
    etu authored Feb 7, 2019
    Copy the full SHA
    5e84459 View commit details
  12. Copy the full SHA
    714b785 View commit details
  13. k2pdfopt: 2.42 -> 2.51a

    Merge #55150.
    danielfullmer authored and fpletz committed Feb 7, 2019
    Copy the full SHA
    2d2f104 View commit details
4 changes: 2 additions & 2 deletions pkgs/applications/audio/cmus/default.nix
Original file line number Diff line number Diff line change
@@ -100,13 +100,13 @@ in

stdenv.mkDerivation rec {
name = "cmus-${version}";
version = "2.7.1";
version = "2.8.0";

src = fetchFromGitHub {
owner = "cmus";
repo = "cmus";
rev = "v${version}";
sha256 = "0xd96py21bl869qlv1353zw7xsgq6v5s8szr0ldr63zj5fgc2ps5";
sha256 = "1ydnvq13ay8b8mfmmgwi5qsgyf220yi1d01acbnxqn775dghmwar";
};

patches = [ ./option-debugging.patch ];
4 changes: 2 additions & 2 deletions pkgs/applications/misc/dmenu/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libX11, libXinerama, libXft, zlib, patches ? null }:

stdenv.mkDerivation rec {
name = "dmenu-4.8";
name = "dmenu-4.9";

src = fetchurl {
url = "https://dl.suckless.org/tools/${name}.tar.gz";
sha256 = "0qfvfrj10xlwd9hkvb57wshryan65bl6423h0qhiw1h76rf5lqgy";
sha256 = "0ia9nqr83bv6x247q30bal0v42chcj9qcjgv59xs6xj46m7iz5xk";
};

buildInputs = [ libX11 libXinerama zlib libXft ];
96 changes: 42 additions & 54 deletions pkgs/applications/misc/k2pdfopt/default.nix
Original file line number Diff line number Diff line change
@@ -6,19 +6,29 @@
, enableJPEG2K ? true, jasper
, enableDJVU ? true, djvulibre
, enableGOCR ? false, gocr # Disabled by default due to crashes
, enableTesseract ? true, leptonica, tesseract
, enableTesseract ? true, leptonica, tesseract4
}:

with stdenv.lib;

stdenv.mkDerivation rec {
name = "k2pdfopt-${version}";
version = "2.42";
version = "2.51a";

src = fetchzip {
url = "http://www.willus.com/k2pdfopt/src/k2pdfopt_v${version}_src.zip";
sha256 = "1zag4jmkr0qrcpqqb5davmvdrabhdyz87q4zz0xpfkl6xw2dn9bk";
};
src = (fetchzip {
url = "http://www.willus.com/k2pdfopt/src/k2pdfopt_v2.51_src.zip";
sha256 = "133l7xkvi67s6sfk8cfh7rmavbsf7ib5fyksk1ci6b6sch3z2sw9";
});

# Note: the v2.51a zip contains only files to be replaced in the v2.50 zip.
v251a_src = (fetchzip {
url = "http://www.willus.com/k2pdfopt/src/k2pdfopt_v2.51a_src.zip";
sha256 = "0vvwblii7kgdwfxw8dzk6jbmz4dv94d7rkv18i60y8wkayj6yhl6";
});

postUnpack = ''
cp -r ${v251a_src}/* $sourceRoot
'';

patches = [ ./k2pdfopt.patch ];

@@ -27,65 +37,43 @@ stdenv.mkDerivation rec {
buildInputs =
let
mupdf_modded = mupdf.overrideAttrs (attrs: {
name = "mupdf-1.10a";
version = "1.10a";
src = fetchurl {
url = "https://mupdf.com/downloads/archive/mupdf-1.10a-source.tar.gz";
sha256 = "0dm8wcs8i29aibzkqkrn8kcnk4q0kd1v66pg48h5c3qqp4v1zk5a";
};
# Excluded the pdf-*.c files, since they mostly just broke the #includes
prePatch = ''
cp ${src}/mupdf_mod/{font,stext-device,string}.c source/fitz/
cp ${src}/mupdf_mod/font-win32.c source/pdf/
'';
# Patches from previous 1.10a version in nixpkgs
patches = [
# Compatibility with new openjpeg
./load-jpx.patch

(fetchurl {
name = "CVE-2017-5896.patch";
url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=2c4e5867ee699b1081527bc6c6ea0e99a35a5c27";
sha256 = "14k7x47ifx82sds1c06ibzbmcparfg80719jhgwjk6w1vkh4r693";
})

(fetchpatch {
name = "mupdf-1.10a-shared_libs-1.patch";
url = "https://ftp.osuosl.org/pub/blfs/conglomeration/mupdf/mupdf-1.10a-shared_libs-1.patch";
sha256 = "0kg4vahp7hlyyj5hl18brk8s8xcbqrx19pqjzkfq6ha8mqa3k4ab";
})
];

# Override this since the jpeg directory was renamed libjpeg in mupdf 1.11
preConfigure = ''
# Don't remove mujs because upstream version is incompatible
rm -rf thirdparty/{curl,freetype,glfw,harfbuzz,jbig2dec,jpeg,openjpeg,zlib}
'';
postPatch = let
# OpenJPEG version is hardcoded in package source
openJpegVersion = with stdenv;
lib.concatStringsSep "." (lib.lists.take 2
(lib.splitString "." (lib.getVersion openjpeg)));
in ''
sed -i "s/__OPENJPEG__VERSION__/${openJpegVersion}/" source/fitz/load-jpx.c
'';
});

leptonica_modded = leptonica.overrideAttrs (attrs: {
name = "leptonica-1.74.4";
# Modified source files apply to this particular version of leptonica
version = "1.74.4";

src = fetchurl {
url = "http://www.leptonica.org/source/leptonica-1.74.4.tar.gz";
sha256 = "0fw39amgyv8v6nc7x8a4c7i37dm04i6c5zn62d24bgqnlhk59hr9";
};

prePatch = ''
cp ${src}/leptonica_mod/* src/
cp ${src}/leptonica_mod/{allheaders.h,dewarp2.c,leptwin.c} src/
'';
patches = [];
});
tesseract_modded = tesseract.override {
tesseractBase = tesseract.tesseractBase.overrideAttrs (_: {
tesseract_modded = tesseract4.override {
tesseractBase = tesseract4.tesseractBase.overrideAttrs (_: {
prePatch = ''
cp ${src}/tesseract_mod/{ambigs.cpp,ccutil.h,ccutil.cpp} ccutil/
cp ${src}/tesseract_mod/dawg.cpp api/
cp ${src}/tesseract_mod/{imagedata.cpp,tessdatamanager.cpp} ccstruct/
cp ${src}/tesseract_mod/openclwrapper.h opencl/
cp ${src}/tesseract_mod/{tessedit.cpp,thresholder.cpp} ccmain/
cp ${src}/tesseract_mod/tess_lang_mod_edge.h cube/
cp ${src}/tesseract_mod/tesscapi.cpp api/
cp ${src}/include_mod/{tesseract.h,leptonica.h} api/
cp ${src}/tesseract_mod/baseapi.{h,cpp} src/api/
cp ${src}/tesseract_mod/ccutil.{h,cpp} src/ccutil/
cp ${src}/tesseract_mod/genericvector.h src/ccutil/
cp ${src}/tesseract_mod/input.cpp src/lstm/
cp ${src}/tesseract_mod/lstmrecognizer.cpp src/lstm/
cp ${src}/tesseract_mod/mainblk.cpp src/ccutil/
cp ${src}/tesseract_mod/params.cpp src/ccutil/
cp ${src}/tesseract_mod/serialis.{h,cpp} src/ccutil/
cp ${src}/tesseract_mod/tesscapi.cpp src/api/
cp ${src}/tesseract_mod/tessdatamanager.cpp src/ccstruct/
cp ${src}/tesseract_mod/tessedit.cpp src/ccmain/
cp ${src}/include_mod/{tesseract.h,leptonica.h} src/api/
'';
patches = [ ./tesseract.patch ];
});
29 changes: 0 additions & 29 deletions pkgs/applications/misc/k2pdfopt/load-jpx.patch

This file was deleted.

6 changes: 3 additions & 3 deletions pkgs/applications/misc/k2pdfopt/tesseract.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/api/Makefile.am b/api/Makefile.am
diff --git a/src/api/Makefile.am b/src/api/Makefile.am
index d8c1e54..46ead13 100644
--- a/api/Makefile.am
+++ b/api/Makefile.am
--- a/src/api/Makefile.am
+++ b/src/api/Makefile.am
@@ -42,7 +42,7 @@ libtesseract_api_la_CPPFLAGS = $(AM_CPPFLAGS)
if VISIBILITY
libtesseract_api_la_CPPFLAGS += -DTESS_EXPORTS
27 changes: 27 additions & 0 deletions pkgs/applications/networking/irc/glowing-bear/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{ fetchFromGitHub, stdenv }:

stdenv.mkDerivation rec {
name = "glowing-bear-${version}";
version = "0.7.1";

src = fetchFromGitHub {
rev = version;
owner = "glowing-bear";
repo = "glowing-bear";
sha256 = "0gwrf67l3i3nl7zy1miljz6f3vv6zzc3g9as06by548f21cizzjb";
};

installPhase = ''
mkdir $out
cp index.html min.js serviceworker.js webapp.manifest.json $out
cp -R 3rdparty assets css directives js $out
'';

meta = with stdenv.lib; {
description = "A web client for Weechat";
homepage = https://github.com/glowing-bear/glowing-bear;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ delroth ];
platforms = platforms.unix;
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/window-managers/dwm/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{stdenv, fetchurl, libX11, libXinerama, libXft, patches ? []}:

let
name = "dwm-6.1";
name = "dwm-6.2";
in
stdenv.mkDerivation {
inherit name;

src = fetchurl {
url = "https://dl.suckless.org/dwm/${name}.tar.gz";
sha256 = "1zkmwb6df6m254shx06ly90c0q4jl70skk1pvkixpb7hcxhwbxn2";
sha256 = "03hirnj8saxnsfqiszwl2ds7p0avg20izv9vdqyambks00p2x44p";
};

buildInputs = [ libX11 libXinerama libXft ];
16 changes: 8 additions & 8 deletions pkgs/development/compilers/rust/bootstrap.nix
Original file line number Diff line number Diff line change
@@ -3,16 +3,16 @@
let
# Note: the version MUST be one version prior to the version we're
# building
version = "1.31.0";
version = "1.30.1";

# fetch hashes by running `print-hashes.sh 1.31.0`
# fetch hashes by running `print-hashes.sh 1.30.0`
hashes = {
i686-unknown-linux-gnu = "46333e8feec55bc1f99fd03028370f6163ef1e33e483da0389a9c424ec9634ed";
x86_64-unknown-linux-gnu = "c8a2016109ffdc12a488660edc5f30c1643729efc15abe311ebb187437e506bf";
armv7-unknown-linux-gnueabihf = "60bb75649b457ad971e94dd14c666b59deeee2176b14ae0f98e2fa435c172c1e";
aarch64-unknown-linux-gnu = "4e68c70aba58004d9e86c2b4463e88466affee51242349a038b456cf6f4be5c9";
i686-apple-darwin = "ec8d08eeea97d78d37430e9b32511e87854aad502f4e3e77e806788246b36e6f";
x86_64-apple-darwin = "5d4035e3cecb7df13e728bcff125b52b43b126e91f8311c66b143f353362606f";
i686-unknown-linux-gnu = "c61655977fb16decf0ceb76043b9ae2190927aa9cc24f013d444384dcab99bbf";
x86_64-unknown-linux-gnu = "a01a493ed8946fc1c15f63e74fc53299b26ebf705938b4d04a388a746dfdbf9e";
armv7-unknown-linux-gnueabihf = "9b3b6df02a2a92757e4993a7357fdd02e07b60101a748b4618e6ae1b90bc1b6b";
aarch64-unknown-linux-gnu = "6d87d81561285abd6c1987e07b60b2d723936f037c4b46eedcc12e8566fd3874";
i686-apple-darwin = "a7c14b18e96406d9f43d69d0f984b2fa6f92cc7b7b37e2bb7b70b6f44b02b083";
x86_64-apple-darwin = "3ba1704a7defe3d9a6f0c1f68792c084da83bcba85e936d597bac0c019914b94";
};

platform =
8 changes: 4 additions & 4 deletions pkgs/development/compilers/rust/cargo.nix
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ rustPlatform.buildRustPackage rec {
inherit version src patches;

# the rust source tarball already has all the dependencies vendored, no need to fetch them again
cargoVendorDir = "vendor";
preBuild = "pushd src/tools/cargo";
cargoVendorDir = "src/vendor";
preBuild = "cd src; pushd tools/cargo";
postBuild = "popd";

passthru.rustc = rustc;
@@ -23,10 +23,10 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ cacert file curl python openssl cmake zlib makeWrapper libgit2 ]
++ stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security libiconv ];

LIBGIT2_SYS_USE_PKG_CONFIG = 1;
LIBGIT2_SYS_USE_PKG_CONFIG=1;

# fixes: the cargo feature `edition` requires a nightly version of Cargo, but this is the `stable` channel
RUSTC_BOOTSTRAP = 1;
RUSTC_BOOTSTRAP=1;

# FIXME: Use impure version of CoreFoundation because of missing symbols.
# CFURLSetResourcePropertyForKey is defined in the headers but there's no
11 changes: 8 additions & 3 deletions pkgs/development/compilers/rust/default.nix
Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@

let
rustPlatform = recurseIntoAttrs (makeRustPlatform (callPackage ./bootstrap.nix {}));
version = "1.32.0";
cargoVersion = "1.32.0";
version = "1.31.0";
cargoVersion = "1.31.0";
src = fetchurl {
url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
sha256 = "0ji2l9xv53y27xy72qagggvq47gayr5lcv2jwvmfirx029vlqnac";
sha256 = "01pg2619bwjnhjbphryrbkwaz0lw8cfffm4xlz35znzipb04vmcs";
};
in rec {
rustc = callPackage ./rustc.nix {
@@ -22,6 +22,11 @@ in rec {

# Re-evaluate if this we need to disable this one
#./patches/stdsimd-disable-doctest.patch

# Fails on hydra - not locally; the exact reason is unknown.
# Comments in the test suggest that some non-reproducible environment
# variables such $RANDOM can make it fail.
./patches/disable-test-inherit-env.patch
];

withBundledLLVM = false;
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
--- rustc-1.26.2-src.org/src/libstd/process.rs 2018-06-01 21:40:11.000000000 +0100
+++ rustc-1.26.2-src/src/libstd/process.rs 2018-06-08 07:50:23.023828658 +0100
@@ -1745,6 +1745,7 @@
}

#[test]
+ #[ignore]
fn test_inherit_env() {
use env;

8 changes: 6 additions & 2 deletions pkgs/development/compilers/rust/rustc.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, targetPackages, removeReferencesTo
, fetchurl, fetchgit, fetchzip, file, python2, tzdata, ps
, llvm, ncurses, darwin, rustPlatform, git, cmake, curl
, llvm, jemalloc, ncurses, darwin, rustPlatform, git, cmake, curl
, which, libffi, gdb
, version
, withBundledLLVM ? false
@@ -20,6 +20,8 @@ let

llvmShared = llvm.override { enableSharedLibraries = true; };

prefixedJemalloc = jemalloc.override { stripPrefix = false; };

target = builtins.replaceStrings [" "] [","] (builtins.toString targets);
in

@@ -60,6 +62,7 @@ stdenv.mkDerivation {
configureFlags = configureFlags
++ [ "--enable-local-rust" "--local-rust-root=${rustPlatform.rust.rustc}" "--enable-rpath"
"--enable-vendor"
"--jemalloc-root=${prefixedJemalloc}/lib"
"--default-linker=${targetPackages.stdenv.cc}/bin/cc" ]
++ optional (!withBundledLLVM) [ "--enable-llvm-link-shared" "--llvm-root=${llvmShared}" ]
++ optional (targets != []) "--target=${target}";
@@ -82,6 +85,7 @@ stdenv.mkDerivation {
patchShebangs src/etc
${optionalString (!withBundledLLVM) ''rm -rf src/llvm''}
rm -rf src/jemalloc
# Fix the configure script to not require curl as we won't use it
sed -i configure \
@@ -93,7 +97,7 @@ stdenv.mkDerivation {
# https://github.com/rust-lang/rust/issues/39522
echo removing gdb-version-sensitive tests...
find src/test/debuginfo -type f -execdir grep -q ignore-gdb-version '{}' \; -print -delete
rm src/test/debuginfo/{borrowed-c-style-enum.rs,c-style-enum-in-composite.rs,generic-enum-with-different-disr-sizes.rs}
rm src/test/debuginfo/{borrowed-c-style-enum.rs,c-style-enum-in-composite.rs,gdb-pretty-struct-and-enums-pre-gdb-7-7.rs,generic-enum-with-different-disr-sizes.rs}
# Useful debugging parameter
# export VERBOSE=1
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/libtmux/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

buildPythonPackage rec {
pname = "libtmux";
version = "0.8.0";
version = "0.8.1";

src = fetchPypi {
inherit pname version;
sha256 = "2b969b507c26d9db08b85be4808d75774b6418ecf5a0f61956f7a1da44519585";
sha256 = "0al5qcvzcl4v70vngbv39jg422jsy0m1b5q9pp54cc7m9b666jax";
};

checkInputs = [ pytest ];
Loading