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: e27d1b802c01
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: 0ee6d7e3ab7f
Choose a head ref

Commits on Aug 9, 2018

  1. blockhash: 0.3 -> 0.3.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/blockhash/versions.
    R. RyanTM committed Aug 9, 2018

    Verified

    This commit was signed with the committer’s verified signature.
    Copy the full SHA
    927b225 View commit details

Commits on Aug 14, 2018

  1. redshift: install desktop files, and use absolute paths in them to av…

    …oid confusing geoclue agent
    michaelpj committed Aug 14, 2018
    Copy the full SHA
    a176206 View commit details
  2. geoclue: 2.4.10 -> 2.4.12

    michaelpj committed Aug 14, 2018

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    infinisil Silvan Mosberger
    Copy the full SHA
    284fc9b View commit details
  3. Copy the full SHA
    3166693 View commit details
  4. Copy the full SHA
    80d4fa7 View commit details
  5. Merge pull request #44820 from michaelpj/fix/redshift-geoclue-agents

    redshift/geoclue/localtime: progress in fixing agent confusion
    jtojnar authored Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    fe51bf3 View commit details
  6. Merge pull request #44802 from r-ryantm/auto-update/blockhash

    blockhash: 0.3 -> 0.3.1
    infinisil authored Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    2d1316e View commit details
  7. pdd: 1.3 -> 1.3.1

    infinisil committed Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3f2921b View commit details
  8. Copy the full SHA
    8ae47fa View commit details
  9. vscode: 1.25.1 -> 1.26.0

    David McKay committed Aug 14, 2018
    Copy the full SHA
    82f651b View commit details
  10. Copy the full SHA
    e36ea4b View commit details
  11. Merge pull request #45029 from rawkode/feature/upgrade-vscode

    Update vscode from 1.15.1 -> 1.26.0
    gebner authored Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    9c40183 View commit details
  12. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8b9054e View commit details
  13. Merge pull request #45028 from Infinisil/update/pdd

    pdd: 1.3 -> 1.3.1
    infinisil authored Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7b30b3f View commit details
  14. postgresql: fix tzdata path

    Signed-off-by: Christoph Hrdinka <c.github@hrdinka.at>
    hrdinka authored and ocharles committed Aug 14, 2018
    Copy the full SHA
    72a3553 View commit details
  15. Merge pull request #45034 from Infinisil/update/translate-shell

    translate-shell: 0.9.6.7 -> 0.9.6.8
    infinisil authored Aug 14, 2018
    Copy the full SHA
    07c441d View commit details
  16. Merge pull request #45031 from stephengroat/patch-1

    terragrunt: 0.14.6 -> 0.16.5
    infinisil authored Aug 14, 2018

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    6e7b11d View commit details
  17. gnome3.atomix: init at 3.29.3

    jtojnar committed Aug 14, 2018

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    5d62b66 View commit details
  18. Copy the full SHA
    2f80119 View commit details
  19. msmtp: 1.6.6 -> 1.6.8

    Also update homepage to match new project location.
    rycee authored and garbas committed Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3727609 View commit details
  20. intel-gpu-tools: 1.22 -> 1.23

    pSub committed Aug 14, 2018

    Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    6af9715 View commit details
  21. Merge pull request #45040 from NixOS/update-intel-gpu-tools

    intel-gpu-tools: 1.22 -> 1.23
    pSub authored Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8251a37 View commit details
  22. haskell.lib.getHaskellBuildInputs: Actually get the haskell build inp…

    …uts.
    
    5523ec8 accidentally dropped the attribute lookup.
    shlevy committed Aug 14, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7372d3b View commit details
  23. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    44a4370 View commit details

Commits on Aug 15, 2018

  1. Merge pull request #45011 from jbaum98/symmetrica-darwin

    symmetrica: Add darwin support
    Mic92 authored Aug 15, 2018

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    0ee6d7e View commit details
39 changes: 32 additions & 7 deletions nixos/modules/services/desktops/geoclue2.nix
Original file line number Diff line number Diff line change
@@ -4,6 +4,10 @@

with lib;

let
# the demo agent isn't built by default, but we need it here
package = pkgs.geoclue2.override { withDemoAgent = config.services.geoclue2.enableDemoAgent; };
in
{

###### interface
@@ -21,21 +25,42 @@ with lib;
'';
};

enableDemoAgent = mkOption {
type = types.bool;
default = true;
description = ''
Whether to use the GeoClue demo agent. This should be
overridden by desktop environments that provide their own
agent.
'';
};

};

};


###### implementation

config = mkIf config.services.geoclue2.enable {

environment.systemPackages = [ pkgs.geoclue2 ];

services.dbus.packages = [ pkgs.geoclue2 ];

systemd.packages = [ pkgs.geoclue2 ];

environment.systemPackages = [ package ];

services.dbus.packages = [ package ];

systemd.packages = [ package ];

# this needs to run as a user service, since it's associated with the
# user who is making the requests
systemd.user.services = mkIf config.services.geoclue2.enableDemoAgent {
"geoclue-agent" = {
description = "Geoclue agent";
script = "${package}/libexec/geoclue-2.0/demos/agent";
# this should really be `partOf = [ "geoclue.service" ]`, but
# we can't be part of a system service, and the agent should
# be okay with the main service coming and going
wantedBy = [ "default.target" ];
};
};
};

}
10 changes: 2 additions & 8 deletions nixos/modules/services/system/localtime.nix
Original file line number Diff line number Diff line change
@@ -22,14 +22,8 @@ in {
config = mkIf cfg.enable {
services.geoclue2.enable = true;

security.polkit.extraConfig = ''
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.timedate1.set-timezone"
&& subject.user == "localtimed") {
return polkit.Result.YES;
}
});
'';
# so polkit will pick up the rules
environment.systemPackages = [ pkgs.localtime ];

users.users = [{
name = "localtimed";
2 changes: 2 additions & 0 deletions nixos/modules/services/x11/desktop-managers/gnome3.nix
Original file line number Diff line number Diff line change
@@ -97,6 +97,8 @@ in {
services.udisks2.enable = true;
services.accounts-daemon.enable = true;
services.geoclue2.enable = mkDefault true;
# GNOME should have its own geoclue agent
services.geoclue2.enableDemoAgent = false;
services.dleyna-renderer.enable = mkDefault true;
services.dleyna-server.enable = mkDefault true;
services.gnome3.at-spi2-core.enable = true;
3 changes: 3 additions & 0 deletions nixos/modules/services/x11/redshift.nix
Original file line number Diff line number Diff line change
@@ -116,6 +116,9 @@ in {
}
];

# needed so that .desktop files are installed, which geoclue cares about
environment.systemPackages = [ cfg.package ];

services.geoclue2.enable = mkIf (cfg.provider == "geoclue2") true;

systemd.user.services.redshift =
8 changes: 4 additions & 4 deletions pkgs/applications/editors/vscode/default.nix
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
gtk2, makeWrapper, libXScrnSaver, libxkbfile, libsecret }:

let
version = "1.25.1";
version = "1.26.0";
channel = "stable";

plat = {
@@ -12,9 +12,9 @@ let
}.${stdenv.system};

sha256 = {
"i686-linux" = "1qljnajk4h9ki5gvydh1b557fvhvcryvkrvypvz0pr804lpdqsmg";
"x86_64-linux" = "0f1lpwyxfchmbymzzxv97w9cy1z5pdljhwm49mc5v84aygmvnmjq";
"x86_64-darwin" = "1dgda1drij1c114xzv4hs44k7rx4x1vzghlxgii0h2rg641n6pbn";
"i686-linux" = "fd150bee8e1be4f5461013b8fee19f855200d046643e4ea5387aad170ad5f12b";
"x86_64-linux" = "618ca429e23777ef6b512c0cbd78bc711a7cf6f58752d9f805ced1dc62abb8f0";
"x86_64-darwin" = "07c2d678596e4e1f0bdf35b7d72a6d46851bf169d89f134fa73ff4f9007efbc3";
}.${stdenv.system};

archive_fmt = if stdenv.system == "x86_64-darwin" then "zip" else "tar.gz";
9 changes: 9 additions & 0 deletions pkgs/applications/misc/redshift/default.nix
Original file line number Diff line number Diff line change
@@ -61,6 +61,15 @@ stdenv.mkDerivation rec {

postFixup = "wrapPythonPrograms";

# the geoclue agent may inspect these paths and expect them to be
# valid without having the correct $PATH set
postInstall = ''
substituteInPlace $out/share/applications/redshift.desktop \
--replace 'Exec=redshift' "Exec=$out/bin/redshift"
substituteInPlace $out/share/applications/redshift.desktop \
--replace 'Exec=redshift-gtk' "Exec=$out/bin/redshift-gtk"
'';

enableParallelBuilding = true;

meta = with stdenv.lib; {
4 changes: 2 additions & 2 deletions pkgs/applications/misc/translate-shell/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "translate-shell";
version = "0.9.6.7";
version = "0.9.6.8";

src = fetchFromGitHub {
owner = "soimort";
repo = "translate-shell";
rev = "v${version}";
sha256 = "0krcidjh32xwybr1v4nykgf0jjnffjqx125bvn3jh2a44cikyq3n";
sha256 = "17fc5nlc594lvmihx39h4ddmi8ja3qqsyswzxadbaz7l3zm356b8";
};

buildInputs = [ makeWrapper ];
4 changes: 2 additions & 2 deletions pkgs/applications/networking/cluster/terragrunt/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

buildGoPackage rec {
name = "terragrunt-${version}";
version = "0.14.6";
version = "0.16.5";

goPackagePath = "github.com/gruntwork-io/terragrunt";

src = fetchFromGitHub {
owner = "gruntwork-io";
repo = "terragrunt";
rev = "v${version}";
sha256 = "14zg1h76wfg6aa78llcnza7kapnl5ks6m2vg73b90azfi49fmkwz";
sha256 = "17xmk5qxlmz2g41jqd0b9ad6jd5yyw2wqi2h323bs4f3rpfkxzpd";
};

goDeps = ./deps.nix;
8 changes: 4 additions & 4 deletions pkgs/applications/networking/msmtp/default.nix
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@ let
in stdenv.mkDerivation rec {
pname = "msmtp";
name = "${pname}-${version}";
version = "1.6.6";
version = "1.6.8";

src = fetchurl {
url = "mirror://sourceforge/msmtp/${name}.tar.xz";
sha256 = "0ppvww0sb09bnsrpqnvlrn8vx231r24xn2iiwpy020mxc8gxn5fs";
url = "https://marlam.de/msmtp/releases/${name}.tar.xz";
sha256 = "1ysrnshvwhzwmvb2walw5i9jdzlvmckj7inr0xnvb26q0jirbzsm";
};

patches = [
@@ -52,7 +52,7 @@ in stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "Simple and easy to use SMTP client with excellent sendmail compatibility";
homepage = http://msmtp.sourceforge.net/;
homepage = https://marlam.de/msmtp/;
license = licenses.gpl3;
maintainers = with maintainers; [ garbas peterhoeg ];
platforms = platforms.unix;
34 changes: 25 additions & 9 deletions pkgs/applications/science/math/symmetrica/default.nix
Original file line number Diff line number Diff line change
@@ -5,20 +5,15 @@
stdenv.mkDerivation rec {
name = "symmetrica-${version}";
version = "2.0";

src = fetchurl {
url = "http://www.algorithm.uni-bayreuth.de/en/research/SYMMETRICA/SYM2_0_tar.gz";
sha256 = "1qhfrbd5ybb0sinl9pad64rscr08qvlfzrzmi4p4hk61xn6phlmz";
name = "symmetrica-2.0.tar.gz";
};

sourceRoot = ".";
installPhase = ''
mkdir -p "$out"/{lib,share/doc/symmetrica,include/symmetrica}
ar crs libsymmetrica.a *.o
ranlib libsymmetrica.a
cp libsymmetrica.a "$out/lib"
cp *.h "$out/include/symmetrica"
cp README *.doc "$out/share/doc/symmetrica"
'';

patches = [
# don't show banner ("SYMMETRICA VERSION X - STARTING)
# it doesn't contain very much helpful information and a banner is not ideal for a library
@@ -34,13 +29,34 @@ stdenv.mkDerivation rec {
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/symmetrica/patches/int32.patch?id=07d6c37d18811e2b377a9689790a7c5e24da16ba";
sha256 = "0p33c85ck4kd453z687ni4bdcqr1pqx2756j7aq11bf63vjz4cyz";
})

(fetchpatch {
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/symmetrica/patches/return_values.patch?id=1615f58890e8f9881c4228c78a6b39b9aab1303a";
sha256 = "0dmczkicwl50sivc07w3wm3jpfk78wm576dr25999jdj2ipsb7nk";
})
];

postPatch = ''
substituteInPlace makefile --replace gcc cc
'';

enableParallelBuilding = true;

installPhase = ''
mkdir -p "$out"/{lib,share/doc/symmetrica,include/symmetrica}
ar crs libsymmetrica.a *.o
ranlib libsymmetrica.a
cp libsymmetrica.a "$out/lib"
cp *.h "$out/include/symmetrica"
cp README *.doc "$out/share/doc/symmetrica"
'';

meta = {
inherit version;
description = ''A collection of routines for representation theory and combinatorics'';
license = stdenv.lib.licenses.publicDomain;
maintainers = [stdenv.lib.maintainers.raskin];
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
homepage = http://www.symmetrica.de/;
};
}
4 changes: 3 additions & 1 deletion pkgs/desktops/gnome-3/default.nix
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ lib.makeScope pkgs.newScope (self: with self; {
];

gamesPackages = with gnome3; [ swell-foop lightsoff iagno
tali quadrapassel gnome-sudoku aisleriot five-or-more
tali quadrapassel gnome-sudoku atomix aisleriot five-or-more
four-in-a-row gnome-chess gnome-klotski gnome-mahjongg
gnome-mines gnome-nibbles gnome-robots gnome-tetravex
hitori gnome-taquin
@@ -319,6 +319,8 @@ lib.makeScope pkgs.newScope (self: with self; {

aisleriot = callPackage ./games/aisleriot { };

atomix = callPackage ./games/atomix { };

five-or-more = callPackage ./games/five-or-more { };

four-in-a-row = callPackage ./games/four-in-a-row { };
37 changes: 37 additions & 0 deletions pkgs/desktops/gnome-3/games/atomix/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook
, gettext, gnome3, glib, gtk3, libgnome-games-support, gdk_pixbuf }:

let
pname = "atomix";
version = "3.29.3";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";

src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1k8bvwywpvw5f13pw40brk6c3rz2mdz9cd4zhcawg7qdm77dvcvb";
};

nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook ];
buildInputs = [ glib gtk3 gdk_pixbuf libgnome-games-support gnome3.defaultIconTheme ];

postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
'';

passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};

meta = with stdenv.lib; {
description = "Puzzle game where you move atoms to build a molecule";
homepage = https://wiki.gnome.org/Apps/Atomix;
license = licenses.gpl2Plus;
maintainers = gnome3.maintainers;
platforms = platforms.linux;
};
}
Original file line number Diff line number Diff line change
@@ -13,7 +13,11 @@ in stdenv.mkDerivation rec {
};

nativeBuildInputs = [ pkgconfig intltool ];
buildInputs = [ glib gtk3 libgee libintl ];
buildInputs = [ libintl ];
propagatedBuildInputs = [
# Required by libgnome-games-support-1.pc
glib gtk3 libgee
];

passthru = {
updateScript = gnome3.updateScript {
2 changes: 1 addition & 1 deletion pkgs/development/haskell-modules/lib.nix
Original file line number Diff line number Diff line change
@@ -301,7 +301,7 @@ rec {
getHaskellBuildInputs = p:
(overrideCabal p (args: {
passthru = (args.passthru or {}) // {
_getHaskellBuildInputs = extractBuildInputs p.compiler args;
_getHaskellBuildInputs = (extractBuildInputs p.compiler args).haskellBuildInputs;
};
}))._getHaskellBuildInputs;

13 changes: 5 additions & 8 deletions pkgs/development/libraries/geoclue/default.nix
Original file line number Diff line number Diff line change
@@ -7,17 +7,19 @@ with stdenv.lib;

stdenv.mkDerivation rec {
name = "geoclue-${version}";
version = "2.4.10";
version = "2.4.12";

src = fetchurl {
url = "https://www.freedesktop.org/software/geoclue/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "0h4n8jf7w457sglfdhghkyf8n4v4a5jrx8dgdy5zn35nbscx24l4";
sha256 = "1jnad1f3rf8h05sz1lc172jnqdhqdpz76ff6m7i5ss3s0znf5l05";
};

outputs = [ "out" "dev" "devdoc" ];

nativeBuildInputs = [
pkgconfig intltool gtk-doc docbook_xsl docbook_xml_dtd_412 wrapGAppsHook gobjectIntrospection
pkgconfig intltool wrapGAppsHook gobjectIntrospection
# devdoc
gtk-doc docbook_xsl docbook_xml_dtd_412
];

buildInputs = [
@@ -41,11 +43,6 @@ stdenv.mkDerivation rec {
"--disable-nmea-source"
];

# https://gitlab.freedesktop.org/geoclue/geoclue/issues/73
postInstall = ''
sed -i $dev/lib/pkgconfig/libgeoclue-2.0.pc -e "s|includedir=.*|includedir=$dev/include|"
'';

meta = with stdenv.lib; {
description = "Geolocation framework and some data providers";
homepage = https://gitlab.freedesktop.org/geoclue/geoclue/wikis/home;
18 changes: 18 additions & 0 deletions pkgs/development/python-modules/orderedset/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:

buildPythonPackage rec {
pname = "orderedset";
version = "2.0.1";

src = fetchPypi {
inherit pname version;
sha256 = "11643qr12ypxfffcminlsgl9xz751b2d0pnjl6zn8vfhxddjr57f";
};

meta = with stdenv.lib; {
description = "An Ordered Set implementation in Cython";
homepage = https://pypi.python.org/pypi/orderedset;
license = licenses.bsd3;
maintainers = maintainers.jtojnar;
};
}
Loading