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: ca40b73fa20f
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: f24623035026
Choose a head ref

Commits on Mar 27, 2019

  1. or-tools: Add Python bindings

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Mar 27, 2019
    Copy the full SHA
    08e9273 View commit details
  2. abseil-cpp: init at 20190322-eab2078b53c9e3d9d240135c09d27e3393acb50a

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Mar 27, 2019
    Copy the full SHA
    8da6083 View commit details
  3. or-tools: 6.10 -> 7.0

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Mar 27, 2019
    Copy the full SHA
    ae6b9dc View commit details

Commits on Apr 17, 2019

  1. Copy the full SHA
    4d09579 View commit details
  2. tilt: init at 0.7.13

    anton-dessiatov committed Apr 17, 2019
    Copy the full SHA
    1e3f2ec View commit details

Commits on Apr 18, 2019

  1. AgdaStdlib: 0.17 -> 1.0

    yrashk committed Apr 18, 2019
    Copy the full SHA
    7ad178d View commit details
  2. buildMix: fix bootstrapping packages with hyphens in version

    I'm using `buildMix` to build a package, which has a dependency with a hyphen in its version: `dialyxir-1.0.0-rc6`.
    Due to `mix-bootstrap` using `string:tokens` the dependency ends up in `_build/prod/lib/dyalyxir1.0.0rc6` instead of `_build/prod/lib/dialyxir`.
    Here I'm fixing it to use `string:split`, which splits by first hyphen only, and returns an array with no more than two elements.
    goodsoft authored Apr 18, 2019
    Copy the full SHA
    0d9575c View commit details

Commits on Apr 19, 2019

  1. Copy the full SHA
    0956c09 View commit details
  2. pythonPackages.moviepy: Add deps for new version

    Fixes #59857
    JohnAZoidberg committed Apr 19, 2019
    Copy the full SHA
    951c5b8 View commit details
  3. git-ignore: 0.2.0 -> 1.0.0

    sondr3 committed Apr 19, 2019
    Copy the full SHA
    c5e963f View commit details
  4. pythonPackages.moviepy: Requires Py3.4 since 1.0.0

    "only Python 3.4+ from v.1.0"
    JohnAZoidberg committed Apr 19, 2019
    Copy the full SHA
    2b4bc37 View commit details
  5. hugo: 0.55.0 -> 0.55.2

    sondr3 committed Apr 19, 2019
    Copy the full SHA
    fe5b4d7 View commit details
  6. Copy the full SHA
    517b9de View commit details
  7. pythonPackages.moviepy: Add optional deps

    Don't include them by default because they increase the derivation size
    from ~200M to over 600M.
    JohnAZoidberg committed Apr 19, 2019
    Copy the full SHA
    64476e8 View commit details
  8. Copy the full SHA
    87c05c2 View commit details
  9. Copy the full SHA
    cfc4a7c View commit details

Commits on Apr 20, 2019

  1. Merge pull request #59895 from sondr3/sondr3/hugo-0.55.2

    hugo: 0.55.0 -> 0.55.2
    Ma27 authored Apr 20, 2019
    Copy the full SHA
    3eabdd9 View commit details
  2. git-ignore: split outputs

    Use a separate `man` output[1]. All outputs will be installed when using
    the package i.e. with `nix-env -f . -iA gitAndTools.git-ignore`.
    
    [1] https://nixos.org/nix/manual/#ssec-derivation
    Ma27 committed Apr 20, 2019
    Copy the full SHA
    dd5ac26 View commit details
  3. cargo-expand: 0.4.10 -> 0.4.11

    xrelkd committed Apr 20, 2019
    Copy the full SHA
    b6daf2d View commit details
  4. gap: 4.10.0 -> 4.10.1

    timokau committed Apr 20, 2019
    Copy the full SHA
    af6739f View commit details
  5. Merge pull request #59902 from bjpbakker/update-factorio

    factorio: alpha 0.17.16 -> 0.17.32
    joachifm authored Apr 20, 2019
    Copy the full SHA
    28e2f5a View commit details
  6. Merge pull request #59896 from rnhmjoj/rxvt

    rxvt_unicode: allow to specify dependencies for plugins
    joachifm authored Apr 20, 2019
    Copy the full SHA
    9241145 View commit details
  7. Merge pull request #59819 from yrashk/agda-stdlib-1.0

    AgdaStdlib: 0.17 -> 1.0
    Fuuzetsu authored Apr 20, 2019
    Copy the full SHA
    7250104 View commit details
  8. Merge pull request #58417 from andersk/ortools-7.0

    or-tools: 6.10 -> 7.0, add Python bindings
    Fuuzetsu authored Apr 20, 2019
    Copy the full SHA
    575d6a4 View commit details
  9. Merge pull request #59862 from JohnAZoidberg/moviepy-1.0.0-deps

    Fix pythonPackages.moviepy
    markuskowa authored Apr 20, 2019
    Copy the full SHA
    276d824 View commit details
  10. Merge pull request #59917 from xrelkd/update/cargo-expand

    cargo-expand: 0.4.10 -> 0.4.11
    dywedir authored Apr 20, 2019
    Copy the full SHA
    b8243d1 View commit details
  11. gap: mark as broken on darwin

    Has been failing to build for a while.
    timokau committed Apr 20, 2019
    Copy the full SHA
    9c7f774 View commit details
  12. Merge pull request #59889 from sondr3/sondr3/git-ignore-1.0.0

    git-ignore: 0.2.0 -> 1.0.0
    Ma27 authored Apr 20, 2019
    Copy the full SHA
    f1c5590 View commit details
  13. Merge pull request #59854 from goodsoft/patch-1

    buildMix: fix bootstrapping packages with hyphens in version
    joachifm authored Apr 20, 2019
    Copy the full SHA
    f0a49c1 View commit details
  14. picard-tools: 2.18.27 -> 2.19.0 (#59634)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/picard-tools/versions
    r-ryantm authored and timokau committed Apr 20, 2019
    Copy the full SHA
    0dc3184 View commit details
  15. Merge pull request #59921 from timokau/gap-update

    gap: 4.10.0 -> 4.10.1
    timokau authored Apr 20, 2019
    Copy the full SHA
    512097d View commit details
  16. Merge pull request #59789 from anton-dessiatov/tilt

    tilt: init at 0.7.13
    joachifm authored Apr 20, 2019
    Copy the full SHA
    f246230 View commit details
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
@@ -365,6 +365,11 @@
github = "ankhers";
name = "Justin Wood";
};
anton-dessiatov = {
email = "anton.dessiatov@gmail.com";
github = "anton-dessiatov";
name = "Anton Desyatov";
};
Anton-Latukha = {
email = "anton.latuka+nixpkgs@gmail.com";
github = "Anton-Latukha";
4 changes: 2 additions & 2 deletions pkgs/applications/misc/hugo/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

buildGoModule rec {
name = "hugo-${version}";
version = "0.55.0";
version = "0.55.2";

goPackagePath = "github.com/gohugoio/hugo";

src = fetchFromGitHub {
owner = "gohugoio";
repo = "hugo";
rev = "v${version}";
sha256 = "063z79m9rganzjzqvy7bg6b29m877asm5haxp0d5cb5ac7cx55rj";
sha256 = "0v06hn9wnq9bp4pdh3pzhkp6adpba6pxk9w42p0v2mpgsjdvm5j0";
};

modSha256 = "0yrwkaaasj9ihjjfbywnzkppix1y2znagg3dkyikk21sl5n0nz23";
4 changes: 3 additions & 1 deletion pkgs/applications/misc/rxvt_unicode/wrapper.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ symlinkJoin, rxvt_unicode, makeWrapper, plugins }:
{ symlinkJoin, rxvt_unicode, makeWrapper, plugins, perlPackages, perlDeps ? []}:

let
rxvt_name = builtins.parseDrvName rxvt_unicode.name;
@@ -12,8 +12,10 @@ in symlinkJoin {

postBuild = ''
wrapProgram $out/bin/urxvt \
--set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
wrapProgram $out/bin/urxvtd \
--set PERL5LIB : "${perlPackages.makePerlPath perlDeps}" \
--suffix-each URXVT_PERL_LIB ':' "$out/lib/urxvt/perl"
'';

30 changes: 30 additions & 0 deletions pkgs/applications/networking/cluster/tilt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:

buildGoPackage rec {
pname = "tilt";
name = "${pname}-${version}";
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
version = "0.7.13";
rev = "67cd823b2a07c7bb2bcb919c0963e8f23e22d57e";

src = fetchFromGitHub {
owner = "windmilleng";
repo = "tilt";
rev = "${rev}";
sha256 = "0cfmdd6wsczcmy6fkd418rvancx4qy1c3pzq9jbfsy4innhh51j7";
};

goPackagePath = "github.com/windmilleng/tilt";
subPackages = [ "cmd/tilt" ];

buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2019-04-18");

meta = with stdenv.lib; {
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
homepage = https://tilt.dev/;
license = licenses.asl20;
maintainers = with maintainers; [ anton-dessiatov ];
};
}
4 changes: 2 additions & 2 deletions pkgs/applications/science/biology/picard-tools/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "picard-tools-${version}";
version = "2.18.27";
version = "2.19.0";

src = fetchurl {
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
sha256 = "1pc9mhp35n0dl7j06c1564b797v6iqg6vhmd2xxvysc96hnsbyvc";
sha256 = "0l2riidd9p84axj8h7fnrbwgpcpizj74i9mnm3pcqm9vlzvw6zzr";
};

nativeBuildInputs = [ makeWrapper ];
27 changes: 7 additions & 20 deletions pkgs/applications/science/math/gap/default.nix
Original file line number Diff line number Diff line change
@@ -62,11 +62,11 @@ in
stdenv.mkDerivation rec {
pname = "gap";
# https://www.gap-system.org/Releases/
version = "4.10.0";
version = "4.10.1";

src = fetchurl {
url = "https://www.gap-system.org/pub/gap/gap-${lib.versions.major version}.${lib.versions.minor version}/tar.bz2/gap-${version}.tar.bz2";
sha256 = "1dmb8v4p7j1nnf7sx8sg54b49yln36bi9acwp7w1d3a1nxj17ird";
sha256 = "136s0zvhcw41fshj5zgsrjcy2kd58cdh2m3ddp5rdizi4rx54f10";
};

# remove all non-essential packages (which take up a lot of space)
@@ -86,25 +86,11 @@ stdenv.mkDerivation rec {
];

patches = [
# bugfix: https://github.com/gap-system/gap/pull/3102
# https://github.com/gap-system/gap/pull/3294
(fetchpatch {
name = "fix-infinite-loop-in-writeandcheck.patch";
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/gap/patches/0001-a-version-of-the-writeandcheck.patch-from-Sage-that-.patch?id=5e61d7b6a0da3aa53d8176fa1fb9353cc559b098";
sha256 = "1zkv8bbiw3jdn54sqqvfkdkfsd7jxzq0bazwsa14g4sh2265d28j";
})

# needed for libgap (sage): https://github.com/gap-system/gap/pull/3043
(fetchpatch {
name = "add-error-messages-helper.patch";
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/gap/patches/0002-kernel-add-helper-function-for-writing-error-message.patch?id=5e61d7b6a0da3aa53d8176fa1fb9353cc559b098";
sha256 = "0c4ry5znb6hwwp8ld6k62yw8w6cqldflw3x49bbzizbmipfpidh5";
})

# needed for libgap (sage): https://github.com/gap-system/gap/pull/3096
(fetchpatch {
name = "gap-enter.patch";
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/gap/patches/0003-Prototype-for-GAP_Enter-Leave-macros-to-bracket-use-.patch?id=5e61d7b6a0da3aa53d8176fa1fb9353cc559b098";
sha256 = "12fg8mb8rm6khsz1r4k3k26jrkx4q1rv13hcrfnlhn0m7iikvc3q";
name = "add-make-install-targets.patch";
url = "https://github.com/gap-system/gap/commit/3361c172e6c5ff3bb3f01ba9d6f1dd4ad42cea80.patch";
sha256 = "1kwp9qnfvmlbpf1c3rs6j5m2jz22rj7a4hb5x1gj9vkpiyn5pdyj";
})
];

@@ -184,6 +170,7 @@ stdenv.mkDerivation rec {
timokau
];
platforms = platforms.all;
broken = stdenv.isDarwin;
# keeping all packages increases the package size considerably, wchich
# is why a local build is preferable in that situation. The timeframe
# is reasonable and that way the binary cache doesn't get overloaded.
7 changes: 7 additions & 0 deletions pkgs/applications/science/math/sage/sage-src.nix
Original file line number Diff line number Diff line change
@@ -127,6 +127,13 @@ stdenv.mkDerivation rec {
url = "https://git.sagemath.org/sage.git/patch/?h=3277ba76d0ba7174608a31a0c6623e9210c63e3d";
sha256 = "09avaanwmdgqv14mmllbgw9z2scf4lc0y0kzdhlriiq8ss9j8iir";
})

# https://trac.sagemath.org/ticket/27094
(fetchpatch {
name = "gap-4.10.1.patch";
url = "https://git.sagemath.org/sage.git/patch?id=d3483110474591ea6cc8e3210cd884f3e0018b3e";
sha256 = "028i6h8l8npwzx5z0ax0rcywl85gc83qw1jf93zf523msdfcsk0n";
})
];

patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
Original file line number Diff line number Diff line change
@@ -3,24 +3,30 @@
with rustPlatform;

buildRustPackage rec {
name = "git-ignore-${version}";
version = "0.2.0";

cargoSha256 = "1fqfy8lnvpn5sd3l73x2p359zq4303vsrdgw3aphvy6580yjb84d";
pname = "git-ignore";
version = "1.0.0";

src = fetchFromGitHub {
owner = "sondr3";
repo = "git-ignore";
repo = pname;
rev = "v${version}";
sha256 = "1nihh5inh46r8jg9z7d6g9gqfyhrznmkn15nmzpbnzf0653dl629";
sha256 = "0krz50pw9bkyzl78bvppk6skbpjp8ga7bd34jya4ha1xfmd8p89c";
};

cargoSha256 = "0r6whz8vghhjyc5vrr0n172nghmi61zj96lk26qm0bgxqyzll1kj";

nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
++ stdenv.lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
];

outputs = [ "out" "man" ];
preFixup = ''
mkdir -p "$man/man/man1"
cp target/release/build/git-ignore-*/out/git-ignore.1 "$man/man/man1/"
'';

meta = with stdenv.lib; {
description = "Quickly and easily fetch .gitignore templates from gitignore.io";
homepage = https://github.com/sondr3/git-ignore;
2 changes: 1 addition & 1 deletion pkgs/development/beam-modules/mix-bootstrap
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ main(Args) ->
-spec fixup_app_name(file:name()) -> string().
fixup_app_name(Path) ->
BaseName = filename:basename(Path),
case string:tokens(BaseName, "-") of
case string:split(BaseName, "-") of
[Name, _Version] -> Name;
Name -> Name
end.
24 changes: 24 additions & 0 deletions pkgs/development/libraries/abseil-cpp/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
name = "abseil-cpp-${version}";
date = "20190322";
rev = "eab2078b53c9e3d9d240135c09d27e3393acb50a";
version = "${date}-${rev}";

src = fetchFromGitHub {
owner = "abseil";
repo = "abseil-cpp";
rev = "${rev}";
sha256 = "1bpz44hxq5fpkv6jlgphzk7mxjiiah526jgb63ih5pd1hd2cfw1r";
};

nativeBuildInputs = [ cmake ];

meta = with stdenv.lib; {
description = "An open-source collection of C++ code designed to augment the C++ standard library";
homepage = https://abseil.io/;
license = licenses.asl20;
maintainers = [ maintainers.andersk ];
};
}
4 changes: 2 additions & 2 deletions pkgs/development/libraries/agda/agda-stdlib/default.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{ stdenv, agda, fetchFromGitHub, ghcWithPackages }:

agda.mkDerivation (self: rec {
version = "0.17";
version = "1.0";
name = "agda-stdlib-${version}";

src = fetchFromGitHub {
repo = "agda-stdlib";
owner = "agda";
rev = "v${version}";
sha256 = "05c5zgj9fcaqz7z2l70jh48b3g4811vm7bccj0vd9r82wi02g3p1";
sha256 = "19qrdfi0vig3msqg76k1zf5j3vav0jz44cvj6i4dyfbscdwf2l9c";
};

nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
32 changes: 24 additions & 8 deletions pkgs/development/libraries/science/math/or-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
{ stdenv, fetchFromGitHub, cmake, google-gflags, which
, lsb-release, glog, protobuf, cbc, zlib, python3 }:
{ stdenv, fetchFromGitHub, cmake, abseil-cpp, google-gflags, which
, lsb-release, glog, protobuf, cbc, zlib
, ensureNewerSourcesForZipFilesHook, python, swig
, pythonProtobuf }:

stdenv.mkDerivation rec {
name = "or-tools-${version}";
version = "v6.10";
version = "v7.0";

src = fetchFromGitHub {
owner = "google";
repo = "or-tools";
rev = version;
sha256 = "11k3671rpv968dsglc6bgarr9yi8ijaaqm2wq3m0rn4wy8fj7za2";
sha256 = "09rs2j3w4ljw9qhhnsjlvfii297njjszwvkbgj1i6kns3wnlr7cp";
};

# The original build system uses cmake which does things like pull
@@ -18,30 +20,44 @@ stdenv.mkDerivation rec {
# dependencies straight from nixpkgs and use the make build method.
configurePhase = ''
cat <<EOF > Makefile.local
UNIX_ABSL_DIR=${abseil-cpp}
UNIX_GFLAGS_DIR=${google-gflags}
UNIX_GLOG_DIR=${glog}
UNIX_PROTOBUF_DIR=${protobuf}
UNIX_CBC_DIR=${cbc}
EOF
'';

makeFlags = [ "prefix=${placeholder "out"}" ];
buildFlags = [ "cc" ];
makeFlags = [
"prefix=${placeholder "out"}"
"PROTOBUF_PYTHON_DESC=${pythonProtobuf}/${python.sitePackages}/google/protobuf/descriptor_pb2.py"
];
buildFlags = [ "cc" "pypi_archive" ];

checkTarget = "test_cc";
doCheck = true;

installTargets = [ "install_cc" ];
# The upstream install_python target installs to $HOME.
postInstall = ''
mkdir -p "$python/${python.sitePackages}"
(cd temp_python/ortools; PYTHONPATH="$python/${python.sitePackages}:$PYTHONPATH" python setup.py install '--prefix=$python')
'';

nativeBuildInputs = [
cmake lsb-release which zlib python3
cmake lsb-release swig which zlib python
ensureNewerSourcesForZipFilesHook
python.pkgs.setuptools python.pkgs.wheel
];
propagatedBuildInputs = [
google-gflags glog protobuf cbc
abseil-cpp google-gflags glog protobuf cbc
pythonProtobuf python.pkgs.six
];

enableParallelBuilding = true;

outputs = [ "out" "python" ];

meta = with stdenv.lib; {
homepage = https://github.com/google/or-tools;
license = licenses.asl20;

This file was deleted.

27 changes: 25 additions & 2 deletions pkgs/development/python-modules/moviepy/default.nix
Original file line number Diff line number Diff line change
@@ -1,25 +1,48 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pythonAtLeast
, numpy
, decorator
, imageio
, imageio-ffmpeg
, isPy3k
, proglog
, requests
, tqdm
# Advanced image processing (triples size of output)
, advancedProcessing ? false
, opencv ? null
, scikitimage ? null
, scikitlearn ? null
, scipy ? null
, matplotlib ? null
, youtube-dl ? null
}:

assert advancedProcessing -> (
opencv != null && scikitimage != null && scikitlearn != null
&& scipy != null && matplotlib != null && youtube-dl != null);

buildPythonPackage rec {
pname = "moviepy";
version = "1.0.0";

disabled = !(pythonAtLeast "3.4");

src = fetchPypi {
inherit pname version;
sha256 = "16c7ffca23d90c76dd7b163f648c8166dfd589b7c180b8ff75aa327ae0a2fc6d";
};

# No tests
# No tests, require network connection
doCheck = false;
propagatedBuildInputs = [ numpy decorator imageio tqdm ];

propagatedBuildInputs = [
numpy decorator imageio imageio-ffmpeg tqdm requests proglog
] ++ (stdenv.lib.optionals advancedProcessing [
opencv scikitimage scikitlearn scipy matplotlib youtube-dl
]);

meta = with stdenv.lib; {
description = "Video editing with Python";
Loading