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: ae316a39dbc2
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: aaeaa6d1c605
Choose a head ref
  • 11 commits
  • 14 files changed
  • 7 contributors

Commits on Jan 23, 2019

  1. srt: init at 1.3.1

    nh2 committed Jan 23, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    c26f245 View commit details
  2. Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    31981d2 View commit details

Commits on Feb 5, 2019

  1. kubectx: 0.6.2 -> 0.6.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/kubectx/versions
    r-ryantm committed Feb 5, 2019

    Partially verified

    This commit is signed with the committer’s verified signature. The key has been revoked.
    joachifm’s contribution has been verified via GPG key.
    We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
    Copy the full SHA
    23c0d79 View commit details
  2. kubernetes: 1.13.2 -> 1.13.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/kubernetes/versions
    r-ryantm committed Feb 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    1c2ceb7 View commit details
  3. fortune: 1.99.1 -> 2.6.2 (#55171)

    fortune: 1.99.1 -> 2.6.2
    Vonfry authored and markuskowa committed Feb 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    99bb426 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    a0a203e View commit details
  5. Merge pull request #55253 from r-ryantm/auto-update/kubectx

    kubectx: 0.6.2 -> 0.6.3
    ryantm authored Feb 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    cfa3f9b View commit details
  6. Merge pull request #54380 from nh2/package-srt

    SRT support for gstreamer
    jtojnar authored Feb 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    f40412e View commit details
  7. python37Packages.cysignals: 1.8.1 -> 1.9.0 (#55216)

    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-cysignals/versions
    r-ryantm authored and timokau committed Feb 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    0058ce5 View commit details
  8. Merge pull request #55264 from r-ryantm/auto-update/kubernetes

    kubernetes: 1.13.2 -> 1.13.3
    ryantm authored Feb 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    c15c4d7 View commit details
  9. Add checkPhase for neovim (disabled by default) (#55266)

    * neovim-unwrapped: now use lua environments
    
    * mpv: use lua environments
    
    * luaPackages.inspect: init at 3.1.1-0
    
    * luaPackages.lgi: mark as a lua module
    
    * luaPackages.vicious: mark as a lua module
    Matthieu Coudron authored and 7c6f434c committed Feb 5, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has been revoked.
    joachifm Joachim F.
    Copy the full SHA
    aaeaa6d View commit details
1 change: 1 addition & 0 deletions maintainers/scripts/luarocks-packages.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ansicolors,
argparse,
dkjson
inspect
lrexlib-gnu,
lrexlib-posix,
ltermbox,
49 changes: 34 additions & 15 deletions pkgs/applications/editors/neovim/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
{ stdenv, fetchFromGitHub, cmake, gettext, msgpack, libtermkey, libiconv
, libuv, luaPackages, ncurses, pkgconfig
, libuv, lua, ncurses, pkgconfig
, unibilium, xsel, gperf
, libvterm-neovim
, withJemalloc ? true, jemalloc
, glibcLocales ? null, procps ? null

# now defaults to false because some tests can be flaky (clipboard etc)
, doCheck ? false
}:

with stdenv.lib;

let

neovim = stdenv.mkDerivation rec {
neovimLuaEnv = lua.withPackages(ps:
(with ps; [ mpack lpeg luabitop ]
++ optionals doCheck [
nvim-client luv coxpcall busted luafilesystem penlight inspect
]
));
in
stdenv.mkDerivation rec {
name = "neovim-unwrapped-${version}";
version = "0.3.4";

@@ -36,22 +46,27 @@ let
ncurses
libvterm-neovim
unibilium
luaPackages.lua
gperf
neovimLuaEnv
] ++ optional withJemalloc jemalloc
++ optional stdenv.isDarwin libiconv
++ lualibs;
++ optionals doCheck [ glibcLocales procps ]
;

inherit doCheck;

# to be exhaustive, one could run
# make oldtests too
checkPhase = ''
make functionaltest
'';

nativeBuildInputs = [
cmake
gettext
pkgconfig
];

LUA_PATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaPath lualibs);
LUA_CPATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaCPath lualibs);

lualibs = [ luaPackages.mpack luaPackages.lpeg luaPackages.luabitop ];

# nvim --version output retains compilation flags and references to build tools
postPatch = ''
@@ -61,9 +76,11 @@ let
disallowedReferences = [ stdenv.cc ];

cmakeFlags = [
"-DLUA_PRG=${luaPackages.lua}/bin/lua"
"-DLUA_PRG=${neovimLuaEnv}/bin/lua"
"-DGPERF_PRG=${gperf}/bin/gperf"
];
]
++ optional doCheck "-DBUSTED_PRG=${neovimLuaEnv}/bin/busted"
;

# triggers on buffer overflow bug while running tests
hardeningDisable = [ "fortify" ];
@@ -81,6 +98,11 @@ let
$out/bin/nvim
'';

# export PATH=$PWD/build/bin:${PATH}
shellHook=''
export VIMRUNTIME=$PWD/runtime
'';

meta = {
description = "Vim text editor fork focused on extensibility and agility";
longDescription = ''
@@ -104,7 +126,4 @@ let
# https://nix-cache.s3.amazonaws.com/log/9ahcb52905d9d417zsskjpc331iailpq-neovim-unwrapped-0.2.2.drv
broken = stdenv.isAarch64;
};
};

in
neovim
}
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/kubernetes/default.nix
Original file line number Diff line number Diff line change
@@ -15,13 +15,13 @@ with lib;

stdenv.mkDerivation rec {
name = "kubernetes-${version}";
version = "1.13.2";
version = "1.13.3";

src = fetchFromGitHub {
owner = "kubernetes";
repo = "kubernetes";
rev = "v${version}";
sha256 = "1j5yyzn3c481ba6bbyx6gsa41zhg3x35sdbajlnxmbnid0g21g8g";
sha256 = "1fcp27c501ql4v7fl7rl5qyjlw1awk139rwwm0jqdpgh3sd22l2z";
};

buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata ];
19 changes: 7 additions & 12 deletions pkgs/applications/video/mpv/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchFromGitHub, makeWrapper
, docutils, perl, pkgconfig, python3, which, ffmpeg_4
, freefont_ttf, freetype, libass, libpthreadstubs, mujs
, lua, luasocket, libuchardet, libiconv ? null, darwin
, lua, libuchardet, libiconv ? null, darwin

, waylandSupport ? false
, wayland ? null
@@ -92,6 +92,8 @@ let
"http://www.freehackers.org/~tnagy/release/waf-${wafVersion}" ];
sha256 = "0j7sbn3w6bgslvwwh5v9527w3gi2sd08kskrgxamx693y0b0i3ia";
};
luaEnv = lua.withPackages(ps: with ps; [ luasocket]);

in stdenv.mkDerivation rec {
name = "mpv-${version}";
version = "0.29.1";
@@ -139,7 +141,7 @@ in stdenv.mkDerivation rec {

buildInputs = [
ffmpeg_4 freetype libass libpthreadstubs
lua luasocket libuchardet mujs
luaEnv libuchardet mujs
] ++ optional alsaSupport alsaLib
++ optional archiveSupport libarchive
++ optional bluraySupport libbluray
@@ -183,16 +185,9 @@ in stdenv.mkDerivation rec {

# Ensure youtube-dl is available in $PATH for mpv
wrapperFlags =
let
getPath = type : "${luasocket}/lib/lua/${lua.luaversion}/?.${type};" +
"${luasocket}/share/lua/${lua.luaversion}/?.${type}";
luaPath = getPath "lua";
luaCPath = getPath "so";
in
''
--prefix LUA_PATH : "${luaPath}" \
--prefix LUA_CPATH : "${luaCPath}" \
'' + optionalString youtubeSupport ''

''--prefix PATH : "${luaEnv}/bin" \''
+ optionalString youtubeSupport ''
--prefix PATH : "${youtube-dl}/bin" \
'' + optionalString vapoursynthSupport ''
--prefix PYTHONPATH : "${vapoursynth}/lib/${python3.libPrefix}/site-packages:$PYTHONPATH"
2 changes: 2 additions & 0 deletions pkgs/development/libraries/gstreamer/bad/default.nix
Original file line number Diff line number Diff line change
@@ -9,6 +9,7 @@
, libwebp, xvidcore, gnutls, mjpegtools
, libGLU_combined, libintl, libgme
, openssl, x265, libxml2
, srt
}:

assert faacSupport -> faac != null;
@@ -74,6 +75,7 @@ stdenv.mkDerivation rec {
libwebp xvidcore gnutls libGLU_combined
libgme openssl x265 libxml2
libintl
srt
]
++ optional faacSupport faac
++ optional stdenv.isLinux wayland
34 changes: 34 additions & 0 deletions pkgs/development/libraries/srt/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{ stdenv, fetchFromGitHub, cmake, openssl
}:

with stdenv.lib;
stdenv.mkDerivation rec {
pname = "srt";
version = "1.3.1";

src = fetchFromGitHub {
owner = "Haivision";
repo = "srt";
rev = "v${version}";
sha256 = "0cv73j9c8024p6pg16c4hiryiv4jpgrfj2xhfdaprsikmkdnygmz";
};

nativeBuildInputs = [ cmake ];

buildInputs = [ openssl ];

cmakeFlags = [
# TODO Remove this when https://github.com/Haivision/srt/issues/538 is fixed and available to nixpkgs
# Workaround for the fact that srt incorrectly disables GNUInstallDirs when LIBDIR is specified,
# see https://github.com/NixOS/nixpkgs/pull/54463#discussion_r249878330
"-UCMAKE_INSTALL_LIBDIR"
];

meta = {
description = "Secure, Reliable, Transport";
homepage = https://www.srtalliance.org;
license = licenses.mpl20;
maintainers = with maintainers; [ nh2 ];
platforms = platforms.all;
};
}
20 changes: 20 additions & 0 deletions pkgs/development/lua-modules/generated-packages.nix
Original file line number Diff line number Diff line change
@@ -70,6 +70,26 @@ dkjson = buildLuarocksPackage {
};
};
};
inspect = buildLuarocksPackage {
pname = "inspect";
version = "3.1.1-0";

src = fetchurl {
url = https://luarocks.org/inspect-3.1.1-0.src.rock;
sha256 = "0k4g9ahql83l4r2bykfs6sacf9l1wdpisav2i0z55fyfcdv387za";
};
disabled = ( luaOlder "5.1");
propagatedBuildInputs = [lua ];
buildType="builtin";

meta = {
homepage = "https://github.com/kikito/inspect.lua";
description="Lua table visualizer, ideal for debugging";
license = {
fullName = "MIT <http://opensource.org/licenses/MIT>";
};
};
};
lrexlib-gnu = buildLuarocksPackage {
pname = "lrexlib-gnu";
version = "2.9.0-1";
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/cysignals/default.nix
Original file line number Diff line number Diff line change
@@ -9,11 +9,11 @@ assert pariSupport -> pari != null;

buildPythonPackage rec {
pname = "cysignals";
version = "1.8.1";
version = "1.9.0";

src = fetchPypi {
inherit pname version;
sha256 = "1hnkcrrxgh6g8a197v2yw61xz43iyv81jbl6jpy19ql3k66w81zx";
sha256 = "15ix8crpad26cfl1skyg7qajqqfdrm8q5ahhmlfmqi1aw0jqj2g2";
};

# explicit check:
4 changes: 2 additions & 2 deletions pkgs/development/tools/kubectx/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@ with lib;

stdenv.mkDerivation rec {
pname = "kubectx";
version = "0.6.2";
version = "0.6.3";

src = fetchFromGitHub {
owner = "ahmetb";
repo = pname;
rev = "v${version}";
sha256 = "0kmzj8nmjzjfl5jgdnlizn3wmgp980xs6m9pvpplafjshx9k159c";
sha256 = "0nb867llpvjmkxv5bbqnyjrc4z74kibqg1d3dw7m47d5a5hn8525";
};

buildInputs = [ makeWrapper ];
37 changes: 37 additions & 0 deletions pkgs/os-specific/linux/sdnotify-wrapper/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ lib, fetchurl, runCommandCC, skawarePackages }:

with skawarePackages;

let
# From https://skarnet.org/software/misc/sdnotify-wrapper.c,
# which is unversioned.
src = ./sdnotify-wrapper.c;

in runCommandCC "sdnotify-wrapper" {

outputs = [ "bin" "doc" "out" ];

meta = {
homepage = "https://skarnet.org/software/misc/sdnotify-wrapper.c";
description = "Use systemd sd_notify without having to link against libsystemd";
platforms = lib.platforms.all;
license = lib.licenses.isc;
maintainers = with lib.maintainers; [ Profpatsch ];
};

} ''
mkdir -p $bin/bin
mkdir $out
# just dynamic for now
$CC \
-o $bin/bin/sdnotify-wrapper \
-I${skalibs.dev}/include \
-L${skalibs.lib}/lib \
-lskarnet \
${src}
mkdir -p $doc/share/doc/sdnotify-wrapper
# copy the documentation comment
sed -ne '/Usage:/,/*\//p' ${src} > $doc/share/doc/sdnotify-wrapper/README
''
Loading