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: ceede33ddf01
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: 536c72a62b76
Choose a head ref
  • 15 commits
  • 9 files changed
  • 5 contributors

Commits on Dec 15, 2018

  1. libmediainfo: 18.08.1 -> 18.12

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

Commits on Apr 2, 2019

  1. python37Packages.pyscard: 1.9.7 -> 1.9.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/python3.7-pyscard/versions
    r-ryantm committed Apr 2, 2019
    Copy the full SHA
    7b8c484 View commit details

Commits on Apr 6, 2019

  1. Copy the full SHA
    b8446dc View commit details
  2. php72: 7.2.16 -> 7.2.17

    security release, see announcement:
    https://www.php.net/archive/2019.php#id2019-04-04-2
    dtzWill committed Apr 6, 2019
    Copy the full SHA
    76394e3 View commit details
  3. Copy the full SHA
    d1a539f View commit details
  4. Copy the full SHA
    f26e88d View commit details
  5. Merge pull request #58830 from r-ryantm/auto-update/python3.7-pyscard

    python37Packages.pyscard: 1.9.7 -> 1.9.8
    worldofpeace authored Apr 6, 2019
    Copy the full SHA
    50985b4 View commit details
  6. Merge pull request #59079 from dtzWill/update/php-2019-04-04

    php7{1,2,3}: bump for "security release"
    etu authored Apr 6, 2019
    Copy the full SHA
    2c1a7ed View commit details
  7. Merge pull request #52209 from r-ryantm/auto-update/libmediainfo

    libmediainfo: 18.08.1 -> 18.12
    worldofpeace authored Apr 6, 2019
    Copy the full SHA
    a4ca883 View commit details
  8. oh-my-zsh: Move rev outside src

    This will allow it to work with the update script
    NeQuissimus committed Apr 6, 2019
    Copy the full SHA
    4f02088 View commit details
  9. Copy the full SHA
    b248553 View commit details
  10. update-source-version: Fixes, add --ignore-same-hash

    --ignore-same-hash allows ignoring if the same has is used.
    This gives the ability to run update-source-version multiple times to
    change multiple keys.
    
    Fix version-key, which was not being used to determine the oldVersion
    variable.
    
    If $attr.src.drvAttrs.urls is not found, look for
    $attr.src.drvAttrs.url since it is being used like that in fetchgit
    NeQuissimus committed Apr 6, 2019
    Copy the full SHA
    cce4868 View commit details
  11. Copy the full SHA
    3e6b38e View commit details

Commits on Apr 7, 2019

  1. Copy the full SHA
    c2ac422 View commit details
  2. pantheon.elementary-greeter: hardcode elementary theme

    For some reason correcting the path to the settings daemon
    causes the icons to not be the elementary one's.
    
    Hardcoding this fixes this very simply without
    the need for the complicated wrapping.
    worldofpeace committed Apr 7, 2019
    Copy the full SHA
    536c72a View commit details
13 changes: 10 additions & 3 deletions pkgs/common-updater/scripts/update-source-version
Original file line number Diff line number Diff line change
@@ -29,6 +29,9 @@ for arg in "$@"; do
die "Could not find provided file $nixFile"
fi
;;
--ignore-same-hash)
ignoreSameHash="true"
;;
--help)
usage
exit 0
@@ -86,11 +89,15 @@ fi
oldUrl=$(nix-instantiate $systemArg --eval -E "with import ./. {}; builtins.elemAt $attr.src.drvAttrs.urls 0" | tr -d '"')

if [ -z "$oldUrl" ]; then
die "Couldn't evaluate source url from '$attr.name'!"
oldUrl=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.src.url" | tr -d '"')

if [ -z "$oldUrl" ]; then
die "Couldn't evaluate source url from '$attr.src'!"
fi
fi

drvName=$(nix-instantiate $systemArg --eval -E "with import ./. {}; (builtins.parseDrvName $attr.name).name" | tr -d '"')
oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.version or (builtins.parseDrvName $attr.name).version" | tr -d '"')
oldVersion=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.${versionKey} or (builtins.parseDrvName $attr.name).${versionKey}" | tr -d '"')

if [ -z "$drvName" -o -z "$oldVersion" ]; then
die "Couldn't evaluate name and version from '$attr.name'!"
@@ -154,7 +161,7 @@ if [ -z "$newHash" ]; then
die "Couldn't figure out new hash of '$attr.src'!"
fi

if [ "$oldVersion" != "$newVersion" ] && [ "$oldHash" = "$newHash" ]; then
if [ -z "${ignoreSameHash}"] && [ "$oldVersion" != "$newVersion" ] && [ "$oldHash" = "$newHash" ]; then
mv "$nixFile.bak" "$nixFile"
die "Both the old and new source hashes of '$attr.src' were equivalent. Please fix the package's source URL to be dependent on '\${version}'!"
fi
6 changes: 2 additions & 4 deletions pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
Original file line number Diff line number Diff line change
@@ -52,13 +52,14 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
src = ./gsd.patch;
elementary-settings-daemon = "${elementary-settings-daemon}/libexec";
elementary_settings_daemon = "${elementary-settings-daemon}/libexec/";
})
(substituteAll {
src = ./numlockx.patch;
inherit numlockx;
})
./01-sysconfdir-install.patch
./hardcode-theme.patch
];

mesonFlags = [
@@ -70,9 +71,6 @@ stdenv.mkDerivation rec {

preFixup = ''
gappsWrapperArgs+=(
# GTK+ reads default settings (such as icons and themes) from elementary's settings.ini here
--prefix XDG_CONFIG_DIRS : "${elementary-default-settings}/etc"
# dbus-launch needed in path
--prefix PATH : "${dbus}/bin"
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ index 2450c1a..a908d11 100644
conf_data.set('CONF_DIR', join_paths(get_option('sysconfdir'), 'lightdm'))
conf_data.set('GETTEXT_PACKAGE', meson.project_name())
-conf_data.set('GSD_DIR', '/usr/lib/gnome-settings-daemon/')
+conf_data.set('GSD_DIR', '@elementary-settings-daemon@')
+conf_data.set('GSD_DIR', '@elementary_settings_daemon@')
conf_data.set('VERSION', meson.project_version())
config_header = configure_file (
input: 'config.vala.in',
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/src/PantheonGreeter.vala b/src/PantheonGreeter.vala
index 11aa4c0..daf4a8a 100644
--- a/src/PantheonGreeter.vala
+++ b/src/PantheonGreeter.vala
@@ -474,6 +474,10 @@ public static int main (string [] args) {
Gdk.CursorType.LEFT_PTR);
Gdk.get_default_root_window ().set_cursor (cursor);

+ var settings = Gtk.Settings.get_default ();
+ settings.gtk_icon_theme_name = "elementary";
+ settings.gtk_theme_name = "elementary";
+
var icon_theme = Gtk.IconTheme.get_default ();
icon_theme.add_resource_path ("/io/elementary/greeter/icons");

12 changes: 6 additions & 6 deletions pkgs/development/interpreters/php/default.nix
Original file line number Diff line number Diff line change
@@ -258,24 +258,24 @@ let

in {
php71 = generic {
version = "7.1.27";
sha256 = "0jzcyilvdy05w30vz5ln46lqm9hi36h5bibiwhl1b4a1179yrmys";
version = "7.1.28";
sha256 = "1jal5kr3h9krgb4x46l7wg9czfiigax6vni6cagfdi8zzqrqg7kk";

# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php71-darwin-isfinite.patch;
};

php72 = generic {
version = "7.2.16";
sha256 = "0f3zkv803banqdrhj5ixfg973fnrsvn4hcij2k6r91nmac0d22ic";
version = "7.2.17";
sha256 = "0xag1735q92kj8p09gyydxknisgz7h56pksr44qwnykddymi3a4i";

# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php72-darwin-isfinite.patch;
};

php73 = generic {
version = "7.3.3";
sha256 = "1riw0a1mzc5ymaj02rni57l5pyfkxl0ygf1l39q7ksnz7aa9x5k1";
version = "7.3.4";
sha256 = "0y1bl4nwpr0z11wsdizrs3nvkx1xs3xzy7mn8gj4jdn82a13sb1f";

# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php73-darwin-isfinite.patch;
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libmediainfo/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, zlib }:

stdenv.mkDerivation rec {
version = "18.08.1";
version = "18.12";
name = "libmediainfo-${version}";
src = fetchurl {
url = "https://mediaarea.net/download/source/libmediainfo/${version}/libmediainfo_${version}.tar.xz";
sha256 = "1h6brg98i39xprcl54gvs1scmv8d6f3iw5h2diwz5bbz4lspy8vs";
sha256 = "0kvfhcij32jfkggbhqzy7bfiwrly5j51d5gdz5lrfdcjq113svwp";
};

nativeBuildInputs = [ autoreconfHook pkgconfig ];
15 changes: 12 additions & 3 deletions pkgs/development/python-modules/pyscard/default.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{ stdenv, fetchPypi, buildPythonPackage, swig, pcsclite, PCSC }:
{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, swig, pcsclite, PCSC }:

buildPythonPackage rec {
version = "1.9.7";
version = "1.9.8";
pname = "pyscard";

src = fetchPypi {
inherit pname version;
sha256 = "412c74c83e7401566e9d3d7b8b5ca965e74582a1f33179b3c1fabf1da73ebf80";
sha256 = "15fh00z1an6r5j7hrz3jlq0rb3jygwf3x4jcwsa008bv8vpcg7gm";
};

postPatch = ''
@@ -16,6 +16,15 @@ buildPythonPackage rec {

NIX_CFLAGS_COMPILE = "-isystem ${stdenv.lib.getDev pcsclite}/include/PCSC/";

patches = [
# Fixes darwin tests
# See: https://github.com/LudovicRousseau/pyscard/issues/77
(fetchpatch {
url = "https://github.com/LudovicRousseau/pyscard/commit/62e675028086c75656444cc21d563d9f08ebf8e7.patch";
sha256 = "1lr55npcpc8j750vf7vaisqyk18d5f00l7nii2lvawg4sssjaaf7";
})
];

propagatedBuildInputs = [ pcsclite ];
buildInputs = stdenv.lib.optional stdenv.isDarwin PCSC;
nativeBuildInputs = [ swig ];
8 changes: 4 additions & 4 deletions pkgs/shells/zsh/oh-my-zsh/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@
{ stdenv, fetchgit }:

stdenv.mkDerivation rec {
version = "2019-01-15";
version = "2019-04-04";
name = "oh-my-zsh-${version}";
rev = "4ddb2e384ab0840b1d8a6d4c95770ef8a6c25fcc";

src = fetchgit {
src = fetchgit { inherit rev;
url = "https://github.com/robbyrussell/oh-my-zsh";
rev = "586ca16902d9dae4d95d5256a824572f60219c83";
sha256 = "0hzc1fv848h9vlmrw487818l30xfw2vnv50yhkrgvw8lqaam3bs8";
sha256 = "0hvpq24qh10x3ii3j16kwpzlgas6zw9bg0sspd9dlfqb7rcmvqy2";
};

pathsToLink = [ "/share/oh-my-zsh" ];
20 changes: 20 additions & 0 deletions pkgs/shells/zsh/oh-my-zsh/update.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl common-updater-scripts jq

set -eu -o pipefail

oldVersion="$(nix-instantiate --eval -E "with import ./. {}; oh-my-zsh.version or (builtins.parseDrvName oh-my-zsh.name).version" | tr -d '"')"
latestSha="$(curl -L -s https://api.github.com/repos/robbyrussell/oh-my-zsh/commits\?sha\=master\&since\=${oldVersion} | jq -r '.[0].sha')"
url="$(nix-instantiate --eval -E "with import ./. {}; oh-my-zsh.src.url" | tr -d '"')"

if [ ! "null" = "${latestSha}" ]; then
latestDate="$(curl -L -s https://api.github.com/repos/robbyrussell/oh-my-zsh/commits/${latestSha} | jq '.commit.author.date' | sed 's|"\(.*\)T.*|\1|g')"
update-source-version oh-my-zsh "${latestSha}" --version-key=rev
update-source-version oh-my-zsh "${latestDate}" --ignore-same-hash
nixpkgs="$(git rev-parse --show-toplevel)"
default_nix="$nixpkgs/pkgs/shells/zsh/oh-my-zsh/default.nix"
git add "${default_nix}"
git commit -m "oh-my-zsh: ${oldVersion} -> ${latestDate}"
else
echo "oh-my-zsh is already up-to-date"
fi