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: aad81ec8cd15
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 57c922972a41
Choose a head ref

Commits on Jun 30, 2019

  1. texmacs: 1.99.2 -> 1.99.10

    Packaging changes:
    
    * Switch from autoconf to cmake.
      Fixes error
          checking for guile-config... guile-config
          sh: =~: unknown operand
          ./configure: ./configure.lineno: line 8057: syntax error: bad substitution
      that appared with the new version.
    * Also add new dependencies for new features: git, python
      * (fixes all "missing" errors in cmake's output)
    * Stay at Qt4 for now to not introduce too many changes
      * Upgrading to Qt5 in the future is feasible (#33248); it builds
      * I'm not doing it here because Qt5 apps apparently don't run yet on non-NixOS
    nh2 committed Jun 30, 2019
    Copy the full SHA
    b69542a View commit details

Commits on Oct 22, 2019

  1. Copy the full SHA
    f7b53c0 View commit details

Commits on Oct 30, 2019

  1. lutris: remove gnutls-kdh

    Jonathan Ringer committed Oct 30, 2019
    Copy the full SHA
    5cc527d View commit details
  2. nixos/modules/security/acme.nix: add server option

    Add a new option permitting to point certbot to an ACME Directory
    Resource URI other than Let's Encrypt production/staging one.
    
    In the meantime, we are deprecating the now useless Let's Encrypt
    production flag.
    picnoir committed Oct 30, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5671fa2 View commit details
  3. nixos/tests/acme.nix: remove pebble custom endpoint patch

    The recent custom endpoint addition allows us to directly point
    certbot to the custom Pebble directory endpoint.
    
    Thanks to that, we can ditch the Pebble patch we were using so far;
    making this test maintenance easier.
    picnoir committed Oct 30, 2019
    Copy the full SHA
    781f0cf View commit details
  4. bslizr: init at 1.2.0

    magnetophon committed Oct 30, 2019
    Copy the full SHA
    0b7c7a6 View commit details
  5. R: Add static argument.

    R's autoconf does not use the normal configure flags for that.
    nh2 committed Oct 30, 2019
    Copy the full SHA
    edbe2d8 View commit details
  6. Merge pull request #72007 from NinjaTrappeur/nin-acme-custom-dir-uri

    nixos/acme: Custom ACME endpoint
    flokli authored Oct 30, 2019
    Copy the full SHA
    992035c View commit details
  7. Merge pull request #72280 from jonringer/remove-gnutls-from-lutris

    lutris: remove gnutls-kdh
    peti authored Oct 30, 2019
    Copy the full SHA
    d0eedda View commit details
  8. Copy the full SHA
    36fe554 View commit details
  9. python3Packages.python-vlc: init at 3.0.7110

    Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
    tbenst and jtojnar committed Oct 30, 2019
    Copy the full SHA
    bf218e6 View commit details
  10. pympress: init at 1.4.0

    Co-Authored-By: Jan Tojnar <jtojnar@gmail.com>
    tbenst and jtojnar committed Oct 30, 2019
    Copy the full SHA
    6b9a6f2 View commit details
  11. Merge pull request #72058 from nh2/r-static-library

    R: Add enableShared/enableStatic arguments
    peti authored Oct 30, 2019
    Copy the full SHA
    3bc7621 View commit details
  12. Merge pull request #71669 from nh2/issue-70872-srt-wrong-cmake-pc-inc…

    …lude-path
    
    srt: Fix wrong `srt.pc` include path
    nh2 authored Oct 30, 2019
    Copy the full SHA
    e64c3ab View commit details
  13. pdfsam-basic: 4.0.4 -> 4.0.5

    Jan Hrnko authored and Jon committed Oct 30, 2019
    Copy the full SHA
    d535672 View commit details
  14. Revert "dhcpcd: 8.0.6 -> 8.1.1"

    This reverts commit 1c62094.
    
    See discussion in #71365.
    fpletz committed Oct 30, 2019
    Copy the full SHA
    23f3abd View commit details
  15. mariadb-connector-c: fix crypt_libs

    Izorkin authored and FRidh committed Oct 30, 2019
    Copy the full SHA
    638edb9 View commit details
  16. Copy the full SHA
    d9642e0 View commit details
  17. twitter-color-emoji: build with python3

    This can now be marked as un-broken.
    worldofpeace authored and FRidh committed Oct 30, 2019
    Copy the full SHA
    4f8197b View commit details
  18. Copy the full SHA
    bae09a1 View commit details
  19. Merge pull request #63938 from nh2/texmacs-1.99.10

    texmacs: 1.99.2 -> 1.99.10
    nh2 authored Oct 30, 2019
    Copy the full SHA
    df3b011 View commit details
  20. Merge pull request #62137 from tbenst/pympress

    pympress: init at 1.2.0
    jtojnar authored Oct 30, 2019
    Copy the full SHA
    946ef17 View commit details
  21. Merge pull request #72256 from magnetophon/bslizr

    bslizr: init at 1.2.0
    marsam authored Oct 30, 2019
    Copy the full SHA
    57c9229 View commit details
46 changes: 30 additions & 16 deletions nixos/modules/security/acme.nix
Original file line number Diff line number Diff line change
@@ -20,6 +20,16 @@ let
'';
};

server = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
ACME Directory Resource URI. Defaults to let's encrypt
production endpoint,
https://acme-v02.api.letsencrypt.org/directory, if unset.
'';
};

domain = mkOption {
type = types.str;
default = name;
@@ -109,7 +119,15 @@ in
{

###### interface

imports = [
(mkRemovedOptionModule [ "security" "acme" "production" ] ''
Use security.acme.server to define your staging ACME server URL instead.
To use the let's encrypt staging server, use security.acme.server =
"https://acme-staging-v02.api.letsencrypt.org/directory".
''
)
];
options = {
security.acme = {

@@ -129,6 +147,16 @@ in
'';
};

server = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
ACME Directory Resource URI. Defaults to let's encrypt
production endpoint,
<literal>https://acme-v02.api.letsencrypt.org/directory</literal>, if unset.
'';
};

preliminarySelfsigned = mkOption {
type = types.bool;
default = true;
@@ -142,20 +170,6 @@ in
'';
};

production = mkOption {
type = types.bool;
default = true;
description = ''
If set to true, use Let's Encrypt's production environment
instead of the staging environment. The main benefit of the
staging environment is to get much higher rate limits.
See
<literal>https://letsencrypt.org/docs/staging-environment</literal>
for more detail.
'';
};

certs = mkOption {
default = { };
type = with types; attrsOf (submodule certOpts);
@@ -198,7 +212,7 @@ in
++ optionals (data.email != null) [ "--email" data.email ]
++ concatMap (p: [ "-f" p ]) data.plugins
++ concatLists (mapAttrsToList (name: root: [ "-d" (if root == null then name else "${name}:${root}")]) data.extraDomains)
++ optionals (!cfg.production) ["--server" "https://acme-staging-v02.api.letsencrypt.org/directory"];
++ optionals (cfg.server != null || data.server != null) ["--server" (if data.server == null then cfg.server else data.server)];
acmeService = {
description = "Renew ACME Certificate for ${cert}";
after = [ "network.target" "network-online.target" ];
9 changes: 7 additions & 2 deletions nixos/tests/acme.nix
Original file line number Diff line number Diff line change
@@ -12,8 +12,11 @@ in import ./make-test.nix {
networking.extraHosts = ''
${config.networking.primaryIPAddress} standalone.com
'';
security.acme.certs."standalone.com" = {
webroot = "/var/lib/acme/acme-challenges";
security.acme = {
server = "https://acme-v02.api.letsencrypt.org/dir";
certs."standalone.com" = {
webroot = "/var/lib/acme/acme-challenges";
};
};
systemd.targets."acme-finished-standalone.com" = {};
systemd.services."acme-standalone.com" = {
@@ -54,6 +57,8 @@ in import ./make-test.nix {
'';
};

security.acme.server = "https://acme-v02.api.letsencrypt.org/dir";

nesting.clone = [
({pkgs, ...}: {

This file was deleted.

12 changes: 1 addition & 11 deletions nixos/tests/common/letsencrypt/default.nix
Original file line number Diff line number Diff line change
@@ -62,17 +62,7 @@ let
siteDomain = "letsencrypt.org";
siteCertFile = snakeOilCerts.${siteDomain}.cert;
siteKeyFile = snakeOilCerts.${siteDomain}.key;
pebble = pkgs.pebble.overrideAttrs (attrs: {
# The pebble directory endpoint is /dir when the bouder (official
# ACME server) is /directory. Sadly, this endpoint is hardcoded,
# we have to patch it.
#
# Tried to upstream, that said upstream maintainers rather keep
# this custom endpoint to test ACME clients robustness. See
# https://github.com/letsencrypt/pebble/issues/283#issuecomment-545123242
patches = [ ./0001-Change-ACME-directory-endpoint-to-directory.patch ];
});

pebble = pkgs.pebble;
resolver = let
message = "You need to define a resolver for the letsencrypt test module.";
firstNS = lib.head config.networking.nameservers;
2 changes: 1 addition & 1 deletion nixos/tests/fontconfig-default-fonts.nix
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import ./make-test.nix ({ lib, ... }:
fonts.fonts = with pkgs; [
noto-fonts-emoji
cantarell-fonts
#twitter-color-emoji # Can't be generated with Python 3 version of nototools
twitter-color-emoji
source-code-pro
gentium
];
28 changes: 28 additions & 0 deletions pkgs/applications/audio/bslizr/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{ stdenv, fetchFromGitHub, xorg, cairo, lv2, pkgconfig }:

stdenv.mkDerivation rec {
pname = "BSlizr";
version = "1.2.0";

src = fetchFromGitHub {
owner = "sjaehn";
repo = pname;
rev = "${version}";
sha256 = "1xqhpppfj47nzmyksbqgfvvi5j807g96hqla544w2f752zz4yi0s";
};

nativeBuildInputs = [ pkgconfig ];
buildInputs = [
xorg.libX11 cairo lv2
];

installFlags = [ "PREFIX=$(out)" ];

meta = with stdenv.lib; {
homepage = https://github.com/sjaehn/BSlizr;
description = "Sequenced audio slicing effect LV2 plugin (step sequencer effect)";
maintainers = [ maintainers.magnetophon ];
platforms = platforms.linux;
license = licenses.gpl3;
};
}
35 changes: 31 additions & 4 deletions pkgs/applications/editors/texmacs/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{ stdenv, callPackage,
fetchurl, guile_1_8, qt4, xmodmap, which, makeWrapper, freetype,
libjpeg,
sqlite,
tex ? null,
aspell ? null,
git ? null,
python3 ? null,
cmake,
pkgconfig,
ghostscriptX ? null,
extraFonts ? false,
chineseFonts ? false,
@@ -10,7 +16,7 @@

let
pname = "TeXmacs";
version = "1.99.2";
version = "1.99.10";
common = callPackage ./common.nix {
inherit tex extraFonts chineseFonts japaneseFonts koreanFonts;
};
@@ -19,17 +25,38 @@ stdenv.mkDerivation {
name = "${pname}-${version}";

src = fetchurl {
url = "http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
sha256 = "0l48g9746igiaxw657shm8g3xxk565vzsviajlrxqyljbh6py0fs";
url = "https://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
sha256 = "1k12bkcik7mv93q0j7q3b77x8s6rmvlb23s3v7nnzdwjxlp5lph2";
};

buildInputs = [ guile_1_8 qt4 makeWrapper ghostscriptX freetype ];
cmakeFlags = [
# Texmacs' cmake build as of writing defaults to Qt5,
# but we haven't updated to that yet.
"-DTEXMACS_GUI=Qt4"
];

enableParallelBuilding = true;

nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
guile_1_8
qt4
makeWrapper
ghostscriptX
freetype
libjpeg
sqlite
git
python3
];
NIX_LDFLAGS = [ "-lz" ];

postInstall = "wrapProgram $out/bin/texmacs --suffix PATH : " +
(if ghostscriptX == null then "" else "${ghostscriptX}/bin:") +
(if aspell == null then "" else "${aspell}/bin:") +
(if tex == null then "" else "${tex}/bin:") +
(if git == null then "" else "${git}/bin:") +
(if python3 == null then "" else "${python3}/bin:") +
"${xmodmap}/bin:${which}/bin";

inherit (common) postPatch;
2 changes: 1 addition & 1 deletion pkgs/applications/misc/lutris/chrootenv.nix
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ in buildFHSUserEnv {

# Dolphin
bluez ffmpeg gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm
wavpack gnutls-kdh orc nettle gmp pcre vulkan-loader
wavpack orc nettle gmp pcre vulkan-loader

# DOSBox
SDL_net SDL_sound
4 changes: 2 additions & 2 deletions pkgs/applications/misc/pdfsam-basic/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
pname = "pdfsam-basic";
version = "4.0.4";
version = "4.0.5";

src = fetchurl {
url = "https://github.com/torakiki/pdfsam/releases/download/v${version}/pdfsam_${version}-1_amd64.deb";
sha256 = "17lhzxlgr4l4dljy0b0avfrgbj9rsfzk1dzg0abqvld4w4igkqbq";
sha256 = "1znadsg65312h8yyxvj8k0c4pl3g9daif50vk50acwpblq49wm1v";
};

unpackPhase = ''
48 changes: 48 additions & 0 deletions pkgs/applications/office/pympress/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{ lib
, python3Packages
, wrapGAppsHook
, xvfb_run
, gtk3
, gobject-introspection
, libcanberra-gtk3
, dbus
, poppler_gi
, python3
}:

python3Packages.buildPythonApplication rec {
pname = "pympress";
version = "1.4.0";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "101wj6m931bj0ah6niw79i8ywb5zlb2783g7n7dmkhw6ay3jj4vq";
};

nativeBuildInputs = [
wrapGAppsHook
];

buildInputs = [
gtk3
gobject-introspection
libcanberra-gtk3
poppler_gi
];

propagatedBuildInputs = with python3Packages; [
pycairo
pygobject3
python-vlc
watchdog
];

doCheck = false; # there are no tests

meta = with lib; {
description = "Simple yet powerful PDF reader designed for dual-screen presentations";
license = licenses.gpl2Plus;
homepage = "https://pympress.xyz/";
maintainers = [ maintainers.tbenst ];
};
}
7 changes: 6 additions & 1 deletion pkgs/applications/science/math/R/default.nix
Original file line number Diff line number Diff line change
@@ -4,6 +4,9 @@
, curl, Cocoa, Foundation, libobjc, libcxx, tzdata, fetchpatch
, withRecommendedPackages ? true
, enableStrictBarrier ? false
# R as of writing does not support outputting both .so and .a files; it outputs:
# --enable-R-static-lib conflicts with --enable-R-shlib and will be ignored
, static ? false
, javaSupport ? (!stdenv.hostPlatform.isAarch32 && !stdenv.hostPlatform.isAarch64)
}:

@@ -33,6 +36,8 @@ stdenv.mkDerivation rec {
substituteInPlace configure --replace "-install_name libR.dylib" "-install_name $out/lib/R/lib/libR.dylib"
'';

dontDisableStatic = static;

preConfigure = ''
configureFlagsArray=(
--disable-lto
@@ -47,7 +52,7 @@ stdenv.mkDerivation rec {
--with-libtiff
--with-ICU
${stdenv.lib.optionalString enableStrictBarrier "--enable-strict-barrier"}
--enable-R-shlib
${if static then "--enable-R-static-lib" else "--enable-R-shlib"}
AR=$(type -p ar)
AWK=$(type -p gawk)
CC=$(type -p cc)
Loading