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: 8262ecd369c4
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: 2355d9d545fe
Choose a head ref
  • 12 commits
  • 13 files changed
  • 6 contributors

Commits on Apr 15, 2020

  1. Copy the full SHA
    6f6c08a View commit details
  2. Copy the full SHA
    ef80b63 View commit details

Commits on Apr 16, 2020

  1. Copy the full SHA
    5e124e5 View commit details
  2. Copy the full SHA
    ffbf9af View commit details
  3. dkimpy: 1.0.2 -> 1.0.4

    r-ryantm authored and Jon committed Apr 16, 2020
    Copy the full SHA
    f7500ac View commit details
  4. Merge pull request #85363 from prusnak/jitsi-meet-electron

    jitsi-meet-electron: 2.0.0 -> 2.0.2
    bhipple authored Apr 16, 2020
    Copy the full SHA
    5f814bf View commit details
  5. Merge pull request #85341 from Ma27/bump-hydra

    hydra: 2020-04-07 -> 2020-04-16
    Ma27 authored Apr 16, 2020
    Copy the full SHA
    ab0a10b View commit details
  6. python27Packages.foxdot: 0.8.5 -> 0.8.7

    r-ryantm authored and Jon committed Apr 16, 2020
    Copy the full SHA
    88be9a1 View commit details
  7. grocy: 2.6.2 -> 2.7.0

    Ma27 committed Apr 16, 2020
    Copy the full SHA
    d4659de View commit details
  8. pythonPackages.configshell: 1.1.27 -> 1.1.28

    ajs124 authored and Jon committed Apr 16, 2020
    Copy the full SHA
    15e790c View commit details
  9. pythonPackages.rtslib: 2.1.71 -> 2.1.72

    ajs124 authored and Jon committed Apr 16, 2020
    Copy the full SHA
    9e34ecc View commit details
  10. eclipse-scala-sdk: 4.4.1 -> 4.7.0

    Unfortunately scala-ide is based on eclipse 4.7 (oxygen).
    Thus is requires a java SDK 8 and GTK2.
    esclear authored and rycee committed Apr 16, 2020
    Copy the full SHA
    2355d9d View commit details
12 changes: 9 additions & 3 deletions nixos/tests/hydra/db-migration.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{ system ? builtins.currentSystem, ... }:
{ system ? builtins.currentSystem
, pkgs ? import ../../.. { inherit system; }
, ...
}:

let inherit (import ./common.nix { inherit system; }) baseConfig; in

{ mig = import ../make-test-python.nix ({ pkgs, lib, ... }: {
with import ../../lib/testing-python.nix { inherit system pkgs; };
with pkgs.lib;

{ mig = makeTest {
name = "hydra-db-migration";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ma27 ];
@@ -82,5 +88,5 @@ let inherit (import ./common.nix { inherit system; }) baseConfig; in
original.shutdown()
'';
});
};
}
6 changes: 3 additions & 3 deletions pkgs/applications/editors/eclipse/build-eclipse.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender
, zlib, jdk, glib, gtk3, libXtst, gsettings-desktop-schemas, webkitgtk
, zlib, jdk, glib, gtk, libXtst, gsettings-desktop-schemas, webkitgtk
, makeWrapper, ... }:

{ name, src ? builtins.getAttr stdenv.hostPlatform.system sources, sources ? null, description }:
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
};

buildInputs = [
fontconfig freetype glib gsettings-desktop-schemas gtk3 jdk libX11
fontconfig freetype glib gsettings-desktop-schemas gtk jdk libX11
libXrender libXtst makeWrapper zlib
] ++ stdenv.lib.optional (webkitgtk != null) webkitgtk;

@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
--prefix PATH : ${jdk}/bin \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk3 libXtst ] ++ stdenv.lib.optional (webkitgtk != null) webkitgtk)} \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk libXtst ] ++ stdenv.lib.optional (webkitgtk != null) webkitgtk)} \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
--add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration"
28 changes: 12 additions & 16 deletions pkgs/applications/editors/eclipse/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeDesktopItem, makeWrapper
, freetype, fontconfig, libX11, libXrender, zlib
, glib, gtk3, libXtst, jdk, gsettings-desktop-schemas
, glib, gtk3, gtk2, libXtst, jdk, jdk8, gsettings-desktop-schemas
, webkitgtk ? null # for internal web browser
, buildEnv, runCommand
, callPackage
@@ -17,11 +17,12 @@ let
year = "2020";
month = "03";
timestamp = "${year}${month}050155";
gtk = gtk3;
in rec {

buildEclipse = import ./build-eclipse.nix {
buildEclipse = callPackage ./build-eclipse.nix {
inherit stdenv makeDesktopItem freetype fontconfig libX11 libXrender zlib
jdk glib gtk3 libXtst gsettings-desktop-schemas webkitgtk
jdk glib gtk libXtst gsettings-desktop-schemas webkitgtk
makeWrapper;
};

@@ -63,19 +64,14 @@ in rec {

### Eclipse Scala SDK

eclipse-scala-sdk = buildEclipse {
name = "eclipse-scala-sdk-4.4.1";
description = "Eclipse IDE for Scala Developers";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl { # tested
url = "https://downloads.typesafe.com/scalaide-pack/4.4.1-vfinal-luna-211-20160504/scala-SDK-4.4.1-vfinal-2.11-linux.gtk.x86_64.tar.gz";
sha256 = "4c2d1ac68384e12a11a851cf0fc7757aea087eba69329b21d539382a65340d27";
}
else
fetchurl { # untested
url = "https://downloads.typesafe.com/scalaide-pack/4.4.1-vfinal-luna-211-20160504/scala-SDK-4.4.1-vfinal-2.11-linux.gtk.x86.tar.gz";
sha256 = "35383cb09567187e14a30c15de9fd9aa0eef99e4bbb342396ce3acd11fb5cbac";
eclipse-scala-sdk =
buildEclipse.override { jdk = jdk8; gtk = gtk2; } {
name = "eclipse-scala-sdk-4.7.0";
description = "Eclipse IDE for Scala Developers";
src =
fetchurl {
url = "https://downloads.typesafe.com/scalaide-pack/4.7.0-vfinal-oxygen-212-20170929/scala-SDK-4.7.0-vfinal-2.12-linux.gtk.x86_64.tar.gz";
sha256 = "1n5w2a7mh9ajv6fxcas1gpgwb04pdxbr9v5dzr67gsz5bhahq4ya";
};
};

Original file line number Diff line number Diff line change
@@ -7,11 +7,11 @@

stdenv.mkDerivation rec {
pname = "jitsi-meet-electron";
version = "2.0.0";
version = "2.0.2";

src = fetchurl {
url = "https://github.com/jitsi/jitsi-meet-electron/releases/download/v${version}/jitsi-meet-x86_64.AppImage";
sha256 = "11ci9dqhy8hkb4fwykjvcvai20ahqhjil825n1y1xf663ch8by93";
sha256 = "04y3qn2clvsfiyp9s6ib09mfxspv3kpr9248sda8s09n1cm0jpps";
name="${pname}-${version}.AppImage";
};

6 changes: 3 additions & 3 deletions pkgs/development/python-modules/configshell/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildPythonPackage rec {
pname = "configshell";
version = "1.1.27";
version = "1.1.28";

src = fetchFromGitHub {
owner = "open-iscsi";
repo ="${pname}-fb";
repo = "${pname}-fb";
rev = "v${version}";
sha256 = "1nldzq3097xqgzd8qxv36ydvx6vj2crwanihz53k46is0myrwcnn";
sha256 = "1ym2hkvmmacgy21wnjwzyrcxyl3sx4bcx4hc51vf4lzcnj589l68";
};

propagatedBuildInputs = [ pyparsing six urwid ];
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/dkimpy/default.nix
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

buildPythonPackage rec {
pname = "dkimpy";
version = "1.0.2";
version = "1.0.4";

src = fetchPypi {
inherit pname version;
sha256 = "19rz48pzz1i5cc896khaqx2hkhcj5hwsklnyynrdgdr5818qjyff";
sha256 = "14idcs0wiyc0iyi5bz3xqimxf3x6dizcjfn92s2ka5zxp95xdyvd";
};

checkInputs = [ pytest ];
4 changes: 2 additions & 2 deletions pkgs/development/python-modules/foxdot/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

buildPythonPackage rec {
pname = "FoxDot";
version = "0.8.5";
version = "0.8.7";

src = fetchPypi {
inherit pname version;
sha256 = "1k32fjlmzhhh6hvda71xqis13c3bdn7y3f5z9qqd1q410nfpzf59";
sha256 = "0c5iqdn17ip6lkf26xb1cwjvcly0448gvqmkbkvhnqy4birc8cf5";
};

propagatedBuildInputs = [ tkinter supercollider ];
6 changes: 3 additions & 3 deletions pkgs/development/python-modules/rtslib/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

buildPythonPackage rec {
pname = "rtslib";
version = "2.1.71";
version = "2.1.72";

src = fetchFromGitHub {
owner = "open-iscsi";
repo ="${pname}-fb";
repo = "${pname}-fb";
rev = "v${version}";
sha256 = "0cn9azi44hf59mp47207igv72kjbkyz4rsvgzmwbpz0s57b0hnab";
sha256 = "13kycf9xkyxm1ik8yh3qpd96vird8y65daigyiyb4jvx0lmrd0kv";
};

propagatedBuildInputs = [ six pyudev pygobject3 ];
3 changes: 2 additions & 1 deletion pkgs/development/tools/misc/hydra/common.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
, docbook_xsl, openssh, gnused, coreutils, findutils, gzip, lzma, gnutar
, rpm, dpkg, cdrkit, pixz, lib, boost, autoreconfHook, src ? null, version ? null
, migration ? false, patches ? []
, tests ? {}
}:

with stdenv;
@@ -124,7 +125,7 @@ in stdenv.mkDerivation rec {

dontStrip = true;

passthru = { inherit perlDeps migration; };
passthru = { inherit perlDeps migration tests; };

meta = with stdenv.lib; {
description = "Nix-based continuous build system";
24 changes: 13 additions & 11 deletions pkgs/development/tools/misc/hydra/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchFromGitHub, nixStable, callPackage, nixFlakes, fetchpatch }:
{ fetchFromGitHub, nixStable, callPackage, nixFlakes, fetchpatch, nixosTests }:

{
# Package for phase-1 of the db migration for Hydra.
@@ -13,26 +13,28 @@
};
nix = nixStable;
migration = true;

tests = {
db-migration = nixosTests.hydra-db-migration.mig;
basic = nixosTests.hydra.hydra-migration;
};
};

# Hydra from latest master branch. Contains breaking changes,
# so when having an older version, `pkgs.hydra-migration` should be deployed first.

hydra-unstable = callPackage ./common.nix {
version = "2020-04-07";
version = "2020-04-16";
src = fetchFromGitHub {
owner = "NixOS";
repo = "hydra";
rev = "4cabb37ebdeade1435ad8ebf1913cdd603b9c452";
sha256 = "1ccy639x6yyrqqqqli7vlqm6pcvcq5dx1w3ckba77rl8pd5h31f7";
rev = "87837f1d82904bf48e11b5641258b6be2f663c3b";
sha256 = "1vs3lyfyafsl7wbpmycv7c3n9n2rkrswp65msb6q1iskgpvr96d5";
};
patches = [
# https://github.com/NixOS/hydra/pull/732
(fetchpatch {
url = "https://github.com/NixOS/hydra/commit/2f9d422172235297759f2b224fe0636cad07b6fb.patch";
sha256 = "0152nsqqc5d85qdygmwrsk88i9y6nk1b639fj2n042pjvr0kpz6k";
})
];
nix = nixFlakes;
tests = {
db-migration = nixosTests.hydra-db-migration.mig;
basic = nixosTests.hydra.hydra-unstable;
};
};
}
2 changes: 1 addition & 1 deletion pkgs/servers/grocy/0001-Define-configs-with-env-vars.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 931958d8f11cb55f2e88a178a3b828f3c537eba8 Mon Sep 17 00:00:00 2001
From: Maximilian Bosch <maximilian@mbosch.me>
Date: Fri, 6 Mar 2020 23:43:58 +0100
Subject: [PATCH] Define configs with env vars
Subject: [PATCH 1/2] Define configs with env vars

---
app.php | 4 ++--
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 1556489f0b475ae56e5ed3afba19cc2abb696a76 Mon Sep 17 00:00:00 2001
From: Maximilian Bosch <maximilian@mbosch.me>
Date: Thu, 16 Apr 2020 19:37:32 +0200
Subject: [PATCH 2/2] Remove check for config-file as it's stored in /etc/grocy

---
helpers/PrerequisiteChecker.php | 1 -
1 file changed, 1 deletion(-)

diff --git a/helpers/PrerequisiteChecker.php b/helpers/PrerequisiteChecker.php
index d4bf74c6..ca7686c9 100644
--- a/helpers/PrerequisiteChecker.php
+++ b/helpers/PrerequisiteChecker.php
@@ -8,7 +8,6 @@ class PrerequisiteChecker
{
public function checkRequirements()
{
- self::checkForConfigFile();
self::checkForConfigDistFile();
self::checkForComposer();
self::checkForYarn();
--
2.25.0

9 changes: 6 additions & 3 deletions pkgs/servers/grocy/default.nix
Original file line number Diff line number Diff line change
@@ -2,19 +2,22 @@

stdenv.mkDerivation rec {
pname = "grocy";
version = "2.6.2";
version = "2.7.0";

src = fetchurl {
url = "https://github.com/grocy/grocy/releases/download/v${version}/grocy_${version}.zip";
sha256 = "1cjkyv50vwx24xb1mxgy51mr4qqsqgixjww06rql77d9czmmd94k";
sha256 = "10da7s8yc3adqzd8446ksgq61zyzxb4qbnwkzj11qh64y5hyj50q";
};

nativeBuildInputs = [ unzip ];
unpackPhase = ''
unzip ${src} -d .
'';

patches = [ ./0001-Define-configs-with-env-vars.patch ];
patches = [
./0001-Define-configs-with-env-vars.patch
./0002-Remove-check-for-config-file-as-it-s-stored-in-etc-g.patch
];
patchFlags = [ "--binary" "-p1" ];

dontBuild = true;