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: 145a620802ca
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 4589a04299c8
Choose a head ref
  • 18 commits
  • 14 files changed
  • 12 contributors

Commits on Jun 18, 2019

  1. nixos/cassandra: use cassandra's default cluster name "Test Cluster"

    The change to "NixOS Test Cluster" in #59179 broke startup of existing clusters
    that used the previously-default cluster name "Test Cluster":
    
    ERROR 23:00:47 Fatal exception during initialization
    org.apache.cassandra.exceptions.ConfigurationException: Saved cluster name Test Cluster != configured name NixOS Test Cluster
    
    Fixes #63388.
    ivan committed Jun 18, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    a476b9b View commit details

Commits on Jun 24, 2019

  1. acpilight: 1.1 -> 1.2

    JohnAZoidberg committed Jun 24, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    73847df View commit details

Commits on Jun 25, 2019

  1. vale: 1.4.2 -> 1.4.3

    marsam committed Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    7eb22cd View commit details
  2. freeciv_qt: init at 2.6.0

    peterhoeg committed Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    31c33e3 View commit details
  3. Merge pull request #63760 from peterhoeg/f/freeciv

    freeciv_qt: init at 2.6.0
    peterhoeg authored Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    a2075a2 View commit details
  4. Merge pull request #63758 from marsam/update-vale

    vale: 1.4.2 -> 1.4.3
    marsam authored Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    16a51ae View commit details
  5. Merge pull request #63392 from ivan/cassandra-default-cluster-name

    nixos/cassandra: use cassandra's default cluster name "Test Cluster"
    aanderse authored Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    9319216 View commit details
  6. couchpotato: remove the /usr/bin/env dependency

    leave the fixupPhase intact so it can patch script interpreter paths
    zimbatm committed Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    53ac12b View commit details
  7. 5

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    e8916cc View commit details
  8. Typo

    edolstra committed Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    aef7f1b View commit details
  9. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    b95c4ce View commit details
  10. Merge pull request #63772 from basvandijk/cargo-license-homepage

    cargo-license: add meta.homepage
    basvandijk authored Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    6ecce71 View commit details
  11. Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    e37eddc View commit details
  12. Merge pull request #63503 from dmvianna/pycategories-1.1.0

    pythonPackages.pycategories: init at 1.2.0
    worldofpeace authored Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    2aaf191 View commit details
  13. Merge pull request #63747 from JohnAZoidberg/acpilight-12

    acpilight: 1.1 -> 1.2
    worldofpeace authored Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    22034df View commit details
  14. elm: don't import <nixpkgs>, fixes tarball job

    Don't import <nixpkgs>, because that is not allowed.
    Broken by #63477
    
    cc @turboMaCk
    FRidh committed Jun 25, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    26335f3 View commit details
  15. Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    32a7e35 View commit details
  16. Merge master into staging-next

    FRidh committed Jun 25, 2019

    Unverified

    The email in this signature doesn’t match the committer email.
    Copy the full SHA
    4589a04 View commit details
18 changes: 16 additions & 2 deletions nixos/modules/services/backup/duplicati.nix
Original file line number Diff line number Diff line change
@@ -26,6 +26,15 @@ in
Set it to "any" to listen on all available interfaces
'';
};

user = mkOption {
default = "duplicati";
type = types.str;
description = ''
Duplicati runs as it's own user. It will only be able to backup world-readable files.
Run as root with special care.
'';
};
};
};

@@ -37,14 +46,19 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
User = "duplicati";
User = cfg.user;
PermissionsStartOnly = true;
Group = "duplicati";
ExecStart = "${pkgs.duplicati}/bin/duplicati-server --webservice-interface=${cfg.interface} --webservice-port=${toString cfg.port} --server-datafolder=/var/lib/duplicati";
Restart = "on-failure";
};
preStart = ''
mkdir -p /var/lib/duplicati
chown -R ${cfg.user}:duplicati /var/lib/duplicati
'';
};

users.users.duplicati = {
users.users.duplicati = lib.optionalAttrs (cfg.user == "duplicati") {
uid = config.ids.uids.duplicati;
home = "/var/lib/duplicati";
createHome = true;
2 changes: 1 addition & 1 deletion nixos/modules/services/databases/cassandra.nix
Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ in {
'';
clusterName = mkOption {
type = types.str;
default = "NixOS Test Cluster";
default = "Test Cluster";
description = ''
The name of the cluster.
This setting prevents nodes in one logical cluster from joining
2 changes: 1 addition & 1 deletion nixos/modules/virtualisation/containers.nix
Original file line number Diff line number Diff line change
@@ -445,7 +445,7 @@ in
type = types.bool;
default = !config.boot.isContainer;
description = ''
Whether to enable support for nixos containers.
Whether to enable support for NixOS containers.
'';
};

4 changes: 2 additions & 2 deletions pkgs/development/compilers/elm/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv
{ lib, stdenv, pkgs
, haskell, nodejs
, fetchurl, fetchpatch, makeWrapper, writeScriptBin }:
let
@@ -8,7 +8,7 @@ let

elmNodePackages =
import ./packages/node-composition.nix {
inherit nodejs;
inherit nodejs pkgs;
inherit (stdenv.hostPlatform) system;
};

2 changes: 1 addition & 1 deletion pkgs/development/libraries/wxwidgets/3.1/default.nix
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ stdenv.mkDerivation rec {
";

passthru = {
inherit compat24 compat26 unicode;
inherit compat28 compat30 unicode;
gtk = if withGtk2 then gtk2 else gtk3;
};

35 changes: 35 additions & 0 deletions pkgs/development/python-modules/pycategories/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{ buildPythonPackage
, callPackage
, pytestcov
, fetchPypi
, lib
, pytest
, pythonOlder
, pytestrunner
}:

buildPythonPackage rec {
pname = "pycategories";
version = "1.2.0";
disabled = pythonOlder "3.4";

src = fetchPypi {
inherit pname version;
sha256 = "bd70ecb5e94e7659e564ea153f0c7673291dc37c526c246800fc08d6c5378099";
};

nativeBuildInputs = [ pytestrunner ];

# Is private because the author states it's unmaintained
# and shouldn't be used in production code
propagatedBuildInputs = [ (callPackage ./infix.nix { }) ];

checkInputs = [ pytest pytestcov ];

meta = with lib; {
homepage = "https://gitlab.com/danielhones/pycategories";
description = "Implementation of some concepts from category theory";
license = licenses.mit;
maintainers = with maintainers; [ dmvianna ];
};
}
23 changes: 23 additions & 0 deletions pkgs/development/python-modules/pycategories/infix.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ buildPythonPackage
, lib
, fetchPypi
}:

buildPythonPackage rec {
pname = "infix";
version = "1.2";

src = fetchPypi {
inherit pname version;
sha256 = "a1bfdcf875bc072f41e426d0673f2e3017750743bb90cc725fffb292eb09648c";
};

# No tests
doCheck = false;

meta = {
homepage = "https://github.com/borntyping/python-infix";
description = "A decorator that allows functions to be used as infix functions";
license = lib.licenses.mit;
};
}
47 changes: 30 additions & 17 deletions pkgs/games/freeciv/default.nix
Original file line number Diff line number Diff line change
@@ -1,38 +1,51 @@
{ stdenv, fetchurl, zlib, bzip2, pkgconfig, curl, lzma, gettext, libiconv
{ stdenv, fetchFromGitHub, autoreconfHook, lua5_3, pkgconfig, python
, zlib, bzip2, curl, lzma, gettext, libiconv
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
, gtkClient ? false, gtk2
, gtkClient ? false, gtk3
, qtClient ? false, qt5
, server ? true, readline
, enableSqlite ? true, sqlite
}:

let
inherit (stdenv.lib) optional optionals;

name = "freeciv";
in stdenv.mkDerivation rec {
pname = "freeciv";
version = "2.6.0";
in
stdenv.mkDerivation {
name = "${name}-${version}";
inherit version;

src = fetchurl {
url = "mirror://sourceforge/freeciv/${name}-${version}.tar.bz2";
sha256 = "16f9wsnn7073s6chzbm3819swd0iw019p9nrzr3diiynk28kj83w";

src = fetchFromGitHub {
owner = "freeciv";
repo = "freeciv";
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
sha256 = "1b3q5k9wpv7z24svz01ybw8d8wlzkkdr6ia5hgp6cxk6vq67n67s";
};

nativeBuildInputs = [ pkgconfig ];
postPatch = ''
for f in {common,utility}/*.py; do
substituteInPlace $f \
--replace '/usr/bin/env python' ${python.interpreter}
done
'';

nativeBuildInputs = [ autoreconfHook pkgconfig ];

buildInputs = [ zlib bzip2 curl lzma gettext libiconv ]
buildInputs = [ lua5_3 zlib bzip2 curl lzma gettext libiconv ]
++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype fluidsynth ]
++ optionals gtkClient [ gtk2 ]
++ optionals gtkClient [ gtk3 ]
++ optionals qtClient [ qt5.qtbase ]
++ optional server readline
++ optional enableSqlite sqlite;

configureFlags = [ "--enable-shared" ]
++ optional sdlClient "--enable-client=sdl"
++ optionals qtClient [
"--enable-client=qt"
"--with-qt5-includes=${qt5.qtbase.dev}/include"
]
++ optional enableSqlite "--enable-fcdb=sqlite3"
++ optional (!gtkClient) "--enable-fcmp=cli"
++ optional (!server) "--disable-server";
++ optional (!server) "--disable-server";

enableParallelBuilding = true;

@@ -46,11 +59,11 @@ stdenv.mkDerivation {
to the space age...
'';

homepage = http://freeciv.wikia.com/;
homepage = http://www.freeciv.org; # http only
license = licenses.gpl2;

maintainers = with maintainers; [ pierron ];
platforms = platforms.unix;
hydraPlatforms = stdenv.lib.platforms.linux; # sdl-config times out on darwin
hydraPlatforms = platforms.linux; # sdl-config times out on darwin
};
}
4 changes: 2 additions & 2 deletions pkgs/misc/acpilight/default.nix
Original file line number Diff line number Diff line change
@@ -2,12 +2,12 @@

stdenv.mkDerivation rec {
pname = "acpilight";
version = "1.1";
version = "1.2";

src = fetchgit {
url = "https://gitlab.com/wavexx/acpilight.git";
rev = "v${version}";
sha256 = "0kykrl71fb146vaq8207c3qp03h2djkn8hn6psryykk8gdzkv3xd";
sha256 = "1r0r3nx6x6vkpal6vci0zaa1n9dfacypldf6k8fxg7919vzxdn1w";
};

pyenv = python3.withPackages (pythonPackages: with pythonPackages; [
5 changes: 2 additions & 3 deletions pkgs/servers/couchpotato/default.nix
Original file line number Diff line number Diff line change
@@ -29,9 +29,8 @@ buildPythonApplication rec {
chmod +x $out/bin/*
'';

fixupPhase = ''
wrapProgram "$out/bin/couchpotato" --set PYTHONPATH "$PYTHONPATH:$out/${python.sitePackages}" \
--set PATH ${python}/bin
postFixup = ''
wrapProgram "$out/bin/couchpotato" --set PYTHONPATH "$PYTHONPATH:$out/${python.sitePackages}"
'';

meta = {
1 change: 1 addition & 0 deletions pkgs/tools/package-management/cargo-license/default.nix
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ rustPlatform.buildRustPackage rec {

meta = with lib; {
description = "Cargo subcommand to see license of dependencies";
homepage = "https://github.com/onur/cargo-license";
license = with licenses; [ mit ];
maintainers = with maintainers; [ basvandijk ];
platforms = platforms.all;
4 changes: 2 additions & 2 deletions pkgs/tools/text/vale/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@

buildGoPackage rec {
name = "vale-${version}";
version = "1.4.2";
version = "1.4.3";

goPackagePath = "github.com/errata-ai/vale";

@@ -12,7 +12,7 @@ buildGoPackage rec {
owner = "errata-ai";
repo = "vale";
rev = "v${version}";
sha256 = "180532jp6m2ryppkjszs8b8gmvx9h54c8423par3907bgdxyzqj8";
sha256 = "1dgh2frf577048cacwnrl0xx5hha055z42sqq38lf07ybwyxdxms";
};

meta = with stdenv.lib; {
5 changes: 5 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -21527,6 +21527,11 @@ in
sdlClient = false;
};

freeciv_qt = freeciv.override {
qtClient = true;
sdlClient = false;
};

freedink = callPackage ../games/freedink { };

freeorion = callPackage ../games/freeorion { };
2 changes: 2 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
@@ -686,6 +686,8 @@ in {
inherit (pkgs) pkgconfig;
};

pycategories = callPackage ../development/python-modules/pycategories { };

pycangjie = disabledIf (!isPy3k) (callPackage ../development/python-modules/pycangjie {
inherit (pkgs) pkgconfig;
});