Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 74e283403c9f
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2c5f92a7238c
Choose a head ref

Commits on Jul 10, 2018

  1. Copy the full SHA
    5ff872a View commit details

Commits on Nov 2, 2018

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bde9909 View commit details
  2. patch-shebangs: use --build for auto patch shebangs

    In strictDeps=false, autoPatchshebangs should use
    --build (corresponding to PATH) to lookup commands. This restores the
    previous behavior of patchshebangs so that we don’t break stuff that
    isn’t careful in the buildInputs vs. nativeBuildInputs distinction.
    Unfortunately this won’t work under cross compilation.
    matthewbauer committed Nov 2, 2018
    Copy the full SHA
    eb7c50a View commit details
  3. darwin/stdenv: bash is a build input

    patch shebangs needs to be in build inputs for it to get into
    HOST_PATH.
    matthewbauer committed Nov 2, 2018
    Copy the full SHA
    2f2e635 View commit details

Commits on Nov 3, 2018

  1. Copy the full SHA
    e1baed0 View commit details

Commits on Nov 4, 2018

  1. Copy the full SHA
    c55fa1e View commit details
  2. Copy the full SHA
    b95b7e4 View commit details
  3. Copy the full SHA
    be39781 View commit details

Commits on Nov 5, 2018

  1. Copy the full SHA
    48caae5 View commit details
  2. 2
    Copy the full SHA
    320c9c1 View commit details
  3. Copy the full SHA
    b0e9fc1 View commit details
  4. Copy the full SHA
    9ec40cc View commit details
  5. Copy the full SHA
    f54f5fd View commit details
  6. Copy the full SHA
    0e381e0 View commit details
  7. Copy the full SHA
    914392c View commit details
  8. Copy the full SHA
    1c69e58 View commit details
  9. Copy the full SHA
    a3042c9 View commit details
  10. Copy the full SHA
    0d7c994 View commit details
  11. Copy the full SHA
    2449bd2 View commit details
  12. Copy the full SHA
    e2ea057 View commit details
  13. Copy the full SHA
    2224d42 View commit details
  14. Copy the full SHA
    d2e6608 View commit details
  15. treewide: for substituteAll: s/version/version_/

    This is because it gets passed to mkDerivation through some route, this ensures
    that doesn't mess with anything
    Synthetica9 committed Nov 5, 2018
    Copy the full SHA
    1e99582 View commit details
  16. remmina: use pname instead of name

    Co-Authored-By: Synthetica9 <git@hilhorst.be>
    zimbatm and Synthetica9 committed Nov 5, 2018
    Copy the full SHA
    cef08f1 View commit details
  17. Copy the full SHA
    c63d353 View commit details
  18. oneko: switch around version and vname

    Co-Authored-By: Synthetica9 <git@hilhorst.be>
    Synthetica9 committed Nov 5, 2018
    Copy the full SHA
    4319244 View commit details
  19. bookworm: fix rev

    Synthetica9 committed Nov 5, 2018
    Copy the full SHA
    b6f86df View commit details

Commits on Nov 6, 2018

  1. Copy the full SHA
    ace631b View commit details
  2. Merge pull request #49769 from Synthetica9/implement-rfc0035-II

    [WIP] Implement RFC0035 II: Electric Boogaloo
    Mic92 authored Nov 6, 2018
    Copy the full SHA
    424c38b View commit details

Commits on Nov 7, 2018

  1. ncurses: upgrade from 6.1 -> 6.1-20181027

    This includes fixes for CVE-2018-10754.
    
    While we're changing things, also set the `--with-manpage-format=normal`
    configure flag, which prevents the `configure` script from looking in
    /usr to determine whether to compress manpages. This was already the
    format on NixOS (where these directories don't exist), but making this
    explicit makes the build more reproducible on other distros.
    andrew-d committed Nov 7, 2018
    Copy the full SHA
    f485b2e View commit details
  2. libtiff: 4.0.9 -> 2018-11-04

    This includes a bunch of security fixes (#49786), and mimics what Debian
    has done in moving to a git snapshot instead of a released version +
    backported security patches.
    andrew-d committed Nov 7, 2018
    Copy the full SHA
    3137c60 View commit details
  3. Merge pull request #49608 from matthewbauer/cross-patch-shebangs-2

    Restore cross-patch-shebangs branch
    matthewbauer authored Nov 7, 2018
    Copy the full SHA
    c8aff96 View commit details

Commits on Nov 8, 2018

  1. rustc: build with system llvm and jemalloc

    Just like fedora does: https://src.fedoraproject.org/rpms/rust/blob/master/f/rust.spec
    
    Also some cleanup of tests which were removed but no longer exist.
    symphorien committed Nov 8, 2018
    Copy the full SHA
    4b0d441 View commit details
  2. rustc: fix build with unbundled jemalloc and llvm on darwin

    jemalloc with stripped prefix would cause segfaults in free:
    #49557 (comment)
    
    Thanks to @danieldk for darwin testing/debugging.
    symphorien committed Nov 8, 2018
    1
    Copy the full SHA
    973eca7 View commit details

Commits on Nov 9, 2018

  1. libopus: 1.2.1 -> 1.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/libopus/versions
    r-ryantm authored and Cray Elliott committed Nov 9, 2018
    Copy the full SHA
    d836c6a View commit details
  2. postgresql_9_3: 9.3.24 -> 9.3.25

    lsix committed Nov 9, 2018
    Copy the full SHA
    5d37d63 View commit details
  3. postgresql_9_4: 9.4.19 -> 9.4.20

    lsix committed Nov 9, 2018
    Copy the full SHA
    882c3b5 View commit details
  4. postgresql_9_5: 9.5.14 -> 9.5.15

    lsix committed Nov 9, 2018
    Copy the full SHA
    f703ea6 View commit details
  5. postgresql_9_6: 9.6.10 -> 9.6.11

    lsix committed Nov 9, 2018
    Copy the full SHA
    1670fd1 View commit details
  6. postgresql_10: 10.5 -> 10.6

    lsix committed Nov 9, 2018
    Copy the full SHA
    575151e View commit details
  7. postgresql_11: 11.0 -> 11.1

    lsix committed Nov 9, 2018
    Copy the full SHA
    3cbc20e View commit details
  8. Copy the full SHA
    a4f94bd View commit details
  9. nasm: 2.13.03 -> 2.14

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/nasm/versions
    r-ryantm committed Nov 9, 2018
    Copy the full SHA
    31e7c15 View commit details
  10. rust: 1.30.0 -> 1.30.1

    alyssais committed Nov 9, 2018
    Copy the full SHA
    934e489 View commit details
  11. libuv: 1.23.1 -> 1.23.2

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libuv/versions
    r-ryantm committed Nov 9, 2018
    Copy the full SHA
    1699401 View commit details
  12. Merge pull request #50044 from r-ryantm/auto-update/libuv

    libuv: 1.23.1 -> 1.23.2
    infinisil authored Nov 9, 2018
    Copy the full SHA
    d4cf840 View commit details
  13. libmicrohttpd: 0.9.59 -> 0.9.60

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/libmicrohttpd/versions
    r-ryantm committed Nov 9, 2018
    Copy the full SHA
    a94dfe9 View commit details

Commits on Nov 10, 2018

  1. help2man: 1.47.7 -> 1.47.8

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/help2man/versions
    r-ryantm committed Nov 10, 2018
    Copy the full SHA
    ea6d48d View commit details
  2. gnu-efi: 3.0.8 -> 3.0.9 (#50097)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/gnu-efi/versions
    r-ryantm authored and benley committed Nov 10, 2018
    Copy the full SHA
    cc1bcd7 View commit details
  3. gdbm: 1.18 -> 1.18.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/gdbm/versions
    r-ryantm committed Nov 10, 2018
    Copy the full SHA
    e6985db View commit details
Showing with 635 additions and 581 deletions.
  1. +20 −0 lib/strings.nix
  2. +2 −2 pkgs/applications/altcoins/mist.nix
  3. +1 −1 pkgs/applications/audio/cadence/default.nix
  4. +2 −2 pkgs/applications/audio/fluidsynth/default.nix
  5. +3 −2 pkgs/applications/audio/vcv-rack/default.nix
  6. +1 −1 pkgs/applications/graphics/vimiv/default.nix
  7. +1 −0 pkgs/applications/misc/k2pdfopt/default.nix
  8. +1 −1 pkgs/applications/misc/omegat.nix
  9. +4 −4 pkgs/applications/misc/oneko/default.nix
  10. +1 −1 pkgs/applications/networking/browsers/brave/default.nix
  11. +2 −2 pkgs/applications/networking/enhanced-ctorrent/default.nix
  12. +2 −2 pkgs/applications/networking/flent/http-getter.nix
  13. +2 −3 pkgs/applications/networking/instant-messengers/salut-a-toi/default.nix
  14. +3 −3 pkgs/applications/networking/remote/remmina/default.nix
  15. +0 −2 pkgs/applications/office/bookworm/default.nix
  16. +1 −0 pkgs/applications/science/misc/sasview/xhtml2pdf.nix
  17. +48 −21 pkgs/applications/video/kodi/plugins.nix
  18. +29 −0 pkgs/applications/video/kodi/yatp/dont-monkey.patch
  19. +6 −3 pkgs/applications/virtualization/docker/default.nix
  20. +1 −1 pkgs/build-support/fetchegg/default.nix
  21. +5 −5 pkgs/build-support/setup-hooks/audit-tmpdir.sh
  22. +1 −1 pkgs/build-support/setup-hooks/make-wrapper.sh
  23. +2 −2 pkgs/desktops/gnome-3/core/gnome-bluetooth/default.nix
  24. +2 −2 pkgs/desktops/gnome-3/core/gnome-session/default.nix
  25. +2 −2 pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
  26. +2 −2 pkgs/development/beam-modules/hex-registry-snapshot.nix
  27. +3 −3 pkgs/development/beam-modules/hex/default.nix
  28. +1 −1 pkgs/development/compilers/gcc/4.8/default.nix
  29. +1 −1 pkgs/development/compilers/gcc/4.9/default.nix
  30. +1 −1 pkgs/development/compilers/gcc/5/default.nix
  31. +1 −1 pkgs/development/compilers/gcc/6/default.nix
  32. +1 −1 pkgs/development/compilers/gcc/7/default.nix
  33. +1 −1 pkgs/development/compilers/gcc/8/default.nix
  34. +1 −1 pkgs/development/compilers/gcc/snapshot/default.nix
  35. +2 −2 pkgs/development/compilers/go/1.11.nix
  36. +1 −1 pkgs/development/compilers/graalvm/default.nix
  37. +2 −2 pkgs/development/compilers/nasm/default.nix
  38. +8 −8 pkgs/development/compilers/rust/bootstrap.nix
  39. +3 −3 pkgs/development/compilers/rust/default.nix
  40. +26 −31 pkgs/development/compilers/rust/rustc.nix
  41. +1 −3 pkgs/development/libraries/SDL2/default.nix
  42. +0 −29 pkgs/development/libraries/eigen/3.3.nix
  43. +7 −9 pkgs/development/libraries/eigen/default.nix
  44. +1 −1 pkgs/development/libraries/elf-header/default.nix
  45. +4 −4 pkgs/development/libraries/enchant/default.nix
  46. +3 −3 pkgs/development/libraries/gdbm/default.nix
  47. +5 −2 pkgs/development/libraries/glib-networking/default.nix
  48. +2 −2 pkgs/development/libraries/gnu-efi/default.nix
  49. +2 −3 pkgs/development/libraries/gsignond/default.nix
  50. +2 −2 pkgs/development/libraries/hunspell/default.nix
  51. +2 −2 pkgs/development/libraries/igraph/default.nix
  52. +12 −7 pkgs/development/libraries/jemalloc/common.nix
  53. +0 −2 pkgs/development/libraries/jemalloc/default.nix
  54. +1 −3 pkgs/development/libraries/jemalloc/jemalloc450.nix
  55. +0 −36 pkgs/development/libraries/libarchive/CVE-2017-14166.patch
  56. +0 −28 pkgs/development/libraries/libarchive/CVE-2017-14502.patch
  57. +2 −13 pkgs/development/libraries/libarchive/default.nix
  58. +1 −6 pkgs/development/libraries/libgcrypt/default.nix
  59. +4 −7 pkgs/development/libraries/libinput/default.nix
  60. +4 −1 pkgs/development/libraries/libksba/default.nix
  61. +2 −2 pkgs/development/libraries/libmicrohttpd/default.nix
  62. +2 −2 pkgs/development/libraries/libopus/default.nix
  63. +4 −4 pkgs/development/libraries/libpng/default.nix
  64. +1 −1 pkgs/development/libraries/libsignal-protocol-c/default.nix
  65. +2 −4 pkgs/development/libraries/libsignon-glib/default.nix
  66. +11 −17 pkgs/development/libraries/libtiff/default.nix
  67. +2 −2 pkgs/development/libraries/libuv/default.nix
  68. +1 −1 pkgs/development/libraries/libva-utils/default.nix
  69. +2 −2 pkgs/development/libraries/libva/default.nix
  70. +2 −2 pkgs/development/libraries/libxl/default.nix
  71. +2 −2 pkgs/development/libraries/mesa/default.nix
  72. +8 −6 pkgs/development/libraries/ncurses/default.nix
  73. +0 −13 pkgs/development/libraries/ncurses/st-0.7.patch
  74. +3 −3 pkgs/development/libraries/nss/default.nix
  75. +2 −2 pkgs/development/libraries/sqlite/analyzer.nix
  76. +2 −2 pkgs/development/libraries/sqlite/default.nix
  77. +2 −2 pkgs/development/libraries/vaapi-intel/default.nix
  78. +15 −6 pkgs/development/libraries/x265/default.nix
  79. +1 −1 pkgs/development/libraries/yojimbo/default.nix
  80. +3 −3 pkgs/development/python-modules/metaphone/default.nix
  81. +1 −1 pkgs/development/python-modules/py3exiv2/default.nix
  82. +3 −3 pkgs/development/python-modules/py3exiv2/setup.patch
  83. +1 −1 pkgs/development/python-modules/pyinputevent/default.nix
  84. +1 −1 pkgs/development/python-modules/pymaging/default.nix
  85. +1 −1 pkgs/development/python-modules/pymaging_png/default.nix
  86. +2 −2 pkgs/development/python-modules/qutip/default.nix
  87. +1 −1 pkgs/development/python-modules/rbtools/default.nix
  88. +1 −1 pkgs/development/python-modules/repocheck/default.nix
  89. +0 −2 pkgs/development/python-modules/requests/default.nix
  90. +1 −1 pkgs/development/python-modules/snappergui/default.nix
  91. +3 −2 pkgs/development/python-modules/sphinx/default.nix
  92. +14 −3 pkgs/development/python-modules/sqlalchemy/default.nix
  93. +1 −1 pkgs/development/python-modules/svg2tikz/default.nix
  94. +1 −1 pkgs/development/python-modules/urwidtrees/default.nix
  95. +0 −1 pkgs/development/python-modules/waitress-django/default.nix
  96. +1 −1 pkgs/development/ruby-modules/gem-config/default.nix
  97. +17 −2 pkgs/development/tools/analysis/retdec/default.nix
  98. +41 −0 pkgs/development/tools/analysis/valgrind/coregrind-makefile-race.patch
  99. +2 −0 pkgs/development/tools/analysis/valgrind/default.nix
  100. +2 −2 pkgs/development/tools/build-managers/meson/allow-dirs-outside-of-prefix.patch
  101. +6 −9 pkgs/development/tools/build-managers/meson/default.nix
  102. +22 −2 pkgs/development/tools/build-managers/meson/fix-rpath.patch
  103. +10 −7 pkgs/development/tools/build-managers/meson/gir-fallback-path.patch
  104. +1 −1 pkgs/development/tools/glslviewer/default.nix
  105. +1 −1 pkgs/development/tools/icr/default.nix
  106. +2 −2 pkgs/development/tools/kubectx/default.nix
  107. +1 −1 pkgs/development/tools/misc/binutils/default.nix
  108. +10 −78 pkgs/development/tools/misc/gdb/debug-info-from-env.patch
  109. +14 −5 pkgs/development/tools/misc/gdb/default.nix
  110. +2 −2 pkgs/development/tools/misc/help2man/default.nix
  111. +2 −2 pkgs/development/tools/misc/intel-gpu-tools/default.nix
  112. +2 −2 pkgs/development/tools/parsing/bison/3.x.nix
  113. +1 −1 pkgs/development/tools/pyre/default.nix
  114. +1 −1 pkgs/development/tools/scry/default.nix
  115. +2 −1 pkgs/misc/arm-trusted-firmware/default.nix
  116. +2 −2 pkgs/misc/drivers/epkowa/default.nix
  117. +1 −1 pkgs/misc/drivers/hplip/3.16.11.nix
  118. +1 −1 pkgs/misc/drivers/hplip/default.nix
  119. +1 −1 pkgs/misc/drivers/hplip/hplip.state
  120. +9 −9 pkgs/misc/emulators/retroarch/cores.nix
  121. +2 −1 pkgs/os-specific/linux/busybox/default.nix
  122. +5 −2 pkgs/os-specific/linux/kernel/common-config.nix
  123. +1 −1 pkgs/os-specific/linux/kernel/manual-config.nix
  124. +1 −1 pkgs/os-specific/linux/kexectools/default.nix
  125. +4 −5 pkgs/os-specific/linux/libratbag/default.nix
  126. +3 −3 pkgs/os-specific/linux/util-linux/default.nix
  127. +2 −2 pkgs/servers/http/apache-httpd/2.4.nix
  128. +10 −10 pkgs/servers/sql/postgresql/default.nix
  129. +1 −1 pkgs/servers/web-apps/fileshelter/default.nix
  130. +6 −2 pkgs/stdenv/generic/make-derivation.nix
  131. +15 −6 pkgs/stdenv/generic/setup.sh
  132. +2 −2 pkgs/tools/misc/ethtool/default.nix
  133. +3 −3 pkgs/tools/misc/hdf5/default.nix
  134. +1 −1 pkgs/tools/misc/hid-listen/default.nix
  135. +5 −0 pkgs/tools/networking/curl/default.nix
  136. +54 −0 pkgs/tools/networking/curl/fix-ipv6-url-parsing.patch
  137. +2 −2 pkgs/tools/networking/dnsmasq/default.nix
  138. +2 −2 pkgs/tools/networking/modem-manager/default.nix
  139. +1 −1 pkgs/tools/networking/quickserve/default.nix
  140. +2 −2 pkgs/tools/security/gnupg/22.nix
  141. +2 −2 pkgs/tools/security/sudo/default.nix
  142. +2 −2 pkgs/tools/system/lshw/default.nix
  143. +1 −0 pkgs/tools/virtualization/awsebcli/default.nix
  144. +6 −12 pkgs/top-level/all-packages.nix
  145. +1 −0 pkgs/top-level/python-packages.nix
20 changes: 20 additions & 0 deletions lib/strings.nix
Original file line number Diff line number Diff line change
@@ -236,6 +236,26 @@ rec {
in lenContent >= lenSuffix &&
substring (lenContent - lenSuffix) lenContent content == suffix;

/* Determine whether a string contains the given infix
Type: hasInfix :: string -> string -> bool
Example:
hasInfix "bc" "abcd"
=> true
hasInfix "ab" "abcd"
=> true
hasInfix "cd" "abcd"
=> true
hasInfix "foo" "abcd"
=> false
*/
hasInfix = infix: content:
let
drop = x: substring 1 (stringLength x) x;
in hasPrefix infix content
|| content != "" && hasInfix infix (drop content);

/* Convert a string to a list of characters (i.e. singleton strings).
This allows you to, e.g., map a function over each character. However,
note that this will likely be horribly inefficient; Nix is not a
4 changes: 2 additions & 2 deletions pkgs/applications/altcoins/mist.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

let
version = "0.11.1";
name = "mist";
pname = "mist";

throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";

@@ -26,7 +26,7 @@ let
};

mist = stdenv.lib.appendToName "unwrapped" (stdenv.mkDerivation {
inherit name version meta;
inherit pname version meta;

src = {
i686-linux = fetchurl {
2 changes: 1 addition & 1 deletion pkgs/applications/audio/cadence/default.nix
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@

stdenv.mkDerivation rec {
version = "0.9.0";
name = "cadence";
pname = "cadence";

src = fetchzip {
url = "https://github.com/falkTX/Cadence/archive/v${version}.tar.gz";
4 changes: 2 additions & 2 deletions pkgs/applications/audio/fluidsynth/default.nix
Original file line number Diff line number Diff line change
@@ -5,13 +5,13 @@

stdenv.mkDerivation rec {
name = "fluidsynth-${version}";
version = "1.1.11";
version = "2.0.1";

src = fetchFromGitHub {
owner = "FluidSynth";
repo = "fluidsynth";
rev = "v${version}";
sha256 = "0n75jq3xgq46hfmjkaaxz3gic77shs4fzajq40c8gk043i84xbdh";
sha256 = "1mqyym5qkh8xd1rqj3yhfxbw5dxjcrljb6nkfqzvcarlv4h6rjn7";
};

nativeBuildInputs = [ pkgconfig cmake ];
5 changes: 3 additions & 2 deletions pkgs/applications/audio/vcv-rack/default.nix
Original file line number Diff line number Diff line change
@@ -3,8 +3,9 @@
, libzip, rtaudio, rtmidi, speex }:

let
glfw-git = glfw.overrideAttrs (oldAttrs: {
name = "glfw-git-20180529";
glfw-git = glfw.overrideAttrs (oldAttrs: rec {
name = "glfw-git-${version}";
version = "unstable-2018-05-29";
src = fetchFromGitHub {
owner = "glfw";
repo = "glfw";
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/vimiv/default.nix
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
}:

python3Packages.buildPythonApplication rec {
name = "vimiv";
pname = "vimiv";
version = "0.7.3";

src = fetchFromGitHub {
1 change: 1 addition & 0 deletions pkgs/applications/misc/k2pdfopt/default.nix
Original file line number Diff line number Diff line change
@@ -28,6 +28,7 @@ stdenv.mkDerivation rec {
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";
2 changes: 1 addition & 1 deletion pkgs/applications/misc/omegat.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

stdenv.mkDerivation rec {
version = "4.1.5.2";
name = "omegat";
pname = "omegat";

src = fetchurl { # their zip has repeated files or something, so no fetchzip
url = mirror://sourceforge/project/omegat/OmegaT%20-%20Latest/OmegaT%204.1.5%20update%202/OmegaT_4.1.5_02_Beta_Without_JRE.zip;
8 changes: 4 additions & 4 deletions pkgs/applications/misc/oneko/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, imake, gccmakedep, xlibsWrapper }:

stdenv.mkDerivation rec {
version = "1.2.sakura.5";
vname = "1.2.5";
name = "oneko-${vname}";
version_name = "1.2.sakura.5";
version = "1.2.5";
name = "oneko-${version}";
src = fetchurl {
url = "http://www.daidouji.com/oneko/distfiles/oneko-${version}.tar.gz";
url = "http://www.daidouji.com/oneko/distfiles/oneko-${version_name}.tar.gz";
sha256 = "2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f";
};
nativeBuildInputs = [ imake gccmakedep ];
2 changes: 1 addition & 1 deletion pkgs/applications/networking/browsers/brave/default.nix
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ let rpath = lib.makeLibraryPath [


in stdenv.mkDerivation rec {
name = "brave-${version}";
pname = "brave";
version = "0.56.15";

src = fetchurl {
4 changes: 2 additions & 2 deletions pkgs/applications/networking/enhanced-ctorrent/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, fetchpatch }:

stdenv.mkDerivation rec {
version = "dnh3.3.2";
name = "enhanced-ctorrent";
version = "3.3.2";
pname = "enhanced-ctorrent-dhn";

src = fetchurl {
url = "http://www.rahul.net/dholmes/ctorrent/ctorrent-dnh3.3.2.tar.gz";
4 changes: 2 additions & 2 deletions pkgs/applications/networking/flent/http-getter.nix
Original file line number Diff line number Diff line change
@@ -2,8 +2,8 @@
, curl, pkgconfig }:

stdenv.mkDerivation rec {
name = "http-getter";
version = "20180606";
pname = "http-getter";
version = "unstable-2018-06-06";

src = fetchFromGitHub {
owner = "tohojo";
Original file line number Diff line number Diff line change
@@ -9,12 +9,11 @@ let

in
stdenv.mkDerivation rec {
name = "salut-a-toi-${version}";
pname = "salut-a-toi";
version = "0.6.1";
pname = "sat-${version}";

src = fetchurl {
url = "ftp://ftp.goffi.org/sat/${pname}.tar.bz2";
url = "ftp://ftp.goffi.org/sat/sat-${version}.tar.bz2";
sha256 = "0kn9403n8fpzl0hsb9kkzicsmzq2fjl627l31yykbqzc4nsr780d";
};

6 changes: 3 additions & 3 deletions pkgs/applications/networking/remote/remmina/default.nix
Original file line number Diff line number Diff line change
@@ -12,14 +12,14 @@
with stdenv.lib;

stdenv.mkDerivation rec {
name = "remmina-${version}";
version = "1.2.32";
pname = "remmina";
version = "1.2.32.1";

src = fetchFromGitLab {
owner = "Remmina";
repo = "Remmina";
rev = "v${version}";
sha256 = "15szv1xs6drxq6qyksmxcfdz516ja4zm52r4yf6hwij3fgl8qdpw";
sha256 = "1b77gs68j5j4nlv69vl81d0kp2623ysvshq7495y6hq5wgi5l3gc";
};

nativeBuildInputs = [ cmake ninja pkgconfig wrapGAppsHook ];
2 changes: 0 additions & 2 deletions pkgs/applications/office/bookworm/default.nix
Original file line number Diff line number Diff line change
@@ -5,8 +5,6 @@ stdenv.mkDerivation rec {
pname = "bookworm";
version = "unstable-2018-11-19";

name = "${pname}-${version}";

src = fetchFromGitHub {
owner = "babluboy";
repo = pname;
1 change: 1 addition & 0 deletions pkgs/applications/science/misc/sasview/xhtml2pdf.nix
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
let
#xhtml2pdf specifically requires version "1.0b10" of html5lib
html5 = html5lib.overrideAttrs( oldAttrs: rec{
name = "${oldAttrs.pname}-${version}";
version = "1.0b10";
src = oldAttrs.src.override {
inherit version;
69 changes: 48 additions & 21 deletions pkgs/applications/video/kodi/plugins.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ stdenv, callPackage, fetchurl, fetchFromGitHub, unzip
, cmake, kodiPlain, libcec_platform, tinyxml
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib }:
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib
, python2Packages }:

with stdenv.lib;

@@ -180,26 +181,6 @@ let self = rec {
// (mkController "ps")
// (mkController "snes");

exodus = mkKodiPlugin rec {

plugin = "exodus";
namespace = "plugin.video.exodus";
version = "3.1.13";

src = fetchurl {
url = "https://offshoregit.com/${plugin}/${namespace}/${namespace}-${version}.zip";
sha256 = "1zyay7cinljxmpzngzlrr4pnk2a7z9wwfdcsk6a4p416iglyggdj";
};

buildInputs = [ unzip ];

meta = {
description = "A streaming plugin for Kodi";
platforms = platforms.all;
maintainers = with maintainers; [ edwtjo ];
};
};

hyper-launcher = let
pname = "hyper-launcher";
version = "1.5.2";
@@ -251,6 +232,25 @@ let self = rec {

};

simpleplugin = mkKodiPlugin rec {
plugin = "simpleplugin";
namespace = "script.module.simpleplugin";
version = "2.3.2";

src = fetchFromGitHub {
owner = "romanvm";
repo = namespace;
rev = "v.${version}";
sha256 = "0myar8dqjigb75pcc8zx3i5z79p1ifgphgb82s5syqywk0zaxm3j";
};

meta = {
homepage = src.meta.homepage;
description = "Simpleplugin API";
license = licenses.gpl3;
};
};

svtplay = mkKodiPlugin rec {

plugin = "svtplay";
@@ -443,4 +443,31 @@ let self = rec {
};
};

yatp = python2Packages.toPythonModule (mkKodiPlugin rec {
plugin = "yatp";
namespace = "plugin.video.yatp";
version = "3.3.2";

src = fetchFromGitHub {
owner = "romanvm";
repo = "kodi.yatp";
rev = "v.${version}";
sha256 = "12g1f57sx7dy6wy7ljl7siz2qs1kxcmijcg7xx2xpvmq61x9qa2d";
};

patches = [ ./yatp/dont-monkey.patch ];

propagatedBuildInputs = [
simpleplugin
python2Packages.requests
python2Packages.libtorrentRasterbar
];

meta = {
homepage = src.meta.homepage;
description = "Yet Another Torrent Player: libtorrent-based torrent streaming for Kodi";
license = licenses.gpl3;
};
});

}; in self
29 changes: 29 additions & 0 deletions pkgs/applications/video/kodi/yatp/dont-monkey.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
diff --git a/plugin.video.yatp/server.py b/plugin.video.yatp/server.py
index 1adcbb5..488b72c 100644
--- a/plugin.video.yatp/server.py
+++ b/plugin.video.yatp/server.py
@@ -20,24 +20,8 @@ addon = Addon()
_ = addon.initialize_gettext()
addon.log_notice('Starting Torrent Server...')

-# A monkey-patch to set the necessary librorrent version
-librorrent_addon = Addon('script.module.libtorrent')
-orig_custom_version = librorrent_addon.get_setting('custom_version', False)
-orig_set_version = librorrent_addon.get_setting('set_version', False)
-librorrent_addon.set_setting('custom_version', 'true')
-if addon.libtorrent_version == '1.0.9':
- librorrent_addon.set_setting('set_version', '4')
-elif addon.libtorrent_version == '1.1.0':
- librorrent_addon.set_setting('set_version', '5')
-elif addon.libtorrent_version == '1.1.1':
- librorrent_addon.set_setting('set_version', '6')
-else:
- librorrent_addon.set_setting('set_version', '0')
-
from libs.server import wsgi_app

-librorrent_addon.set_setting('custom_version', orig_custom_version)
-librorrent_addon.set_setting('set_version', orig_set_version)
# ======

if addon.enable_limits:
9 changes: 6 additions & 3 deletions pkgs/applications/virtualization/docker/default.nix
Original file line number Diff line number Diff line change
@@ -16,7 +16,8 @@ rec {
} :
let
docker-runc = runc.overrideAttrs (oldAttrs: rec {
name = "docker-runc";
name = "docker-runc-${version}";
inherit version;
src = fetchFromGitHub {
owner = "docker";
repo = "runc";
@@ -28,7 +29,8 @@ rec {
});

docker-containerd = (containerd.override { inherit go; }).overrideAttrs (oldAttrs: rec {
name = "docker-containerd";
name = "docker-containerd-${version}";
inherit version;
src = fetchFromGitHub {
owner = "docker";
repo = "containerd";
@@ -42,7 +44,8 @@ rec {
});

docker-tini = tini.overrideAttrs (oldAttrs: rec {
name = "docker-init";
name = "docker-init-${version}";
inherit version;
src = fetchFromGitHub {
owner = "krallin";
repo = "tini";
2 changes: 1 addition & 1 deletion pkgs/build-support/fetchegg/default.nix
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ if md5 != "" then
throw "fetchegg does not support md5 anymore, please use sha256"
else
stdenvNoCC.mkDerivation {
name = "chicken-${name}-export";
name = "chicken-${name}-export-${version}";
builder = ./builder.sh;
nativeBuildInputs = [ chicken ];

10 changes: 5 additions & 5 deletions pkgs/build-support/setup-hooks/audit-tmpdir.sh
Original file line number Diff line number Diff line change
@@ -13,23 +13,23 @@ auditTmpdir() {
local dir="$1"
[ -e "$dir" ] || return 0

header "checking for references to $TMPDIR in $dir..."
header "checking for references to $TMPDIR/ in $dir..."

local i
while IFS= read -r -d $'\0' i; do
if [[ "$i" =~ .build-id ]]; then continue; fi

if isELF "$i"; then
if patchelf --print-rpath "$i" | grep -q -F "$TMPDIR"; then
echo "RPATH of binary $i contains a forbidden reference to $TMPDIR"
if patchelf --print-rpath "$i" | grep -q -F "$TMPDIR/"; then
echo "RPATH of binary $i contains a forbidden reference to $TMPDIR/"
exit 1
fi
fi

if isScript "$i"; then
if [ -e "$(dirname "$i")/.$(basename "$i")-wrapped" ]; then
if grep -q -F "$TMPDIR" "$i"; then
echo "wrapper script $i contains a forbidden reference to $TMPDIR"
if grep -q -F "$TMPDIR/" "$i"; then
echo "wrapper script $i contains a forbidden reference to $TMPDIR/"
exit 1
fi
fi
Loading