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: 4f8bc8e10bfe
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: ebc9620c3f62
Choose a head ref
  • 19 commits
  • 15 files changed
  • 9 contributors

Commits on Feb 26, 2020

  1. p11-kit: 0.23.19 -> 0.23.20

    Small bug fix release. Fixes a bunch of flatpak issues (eg. no playback
    on spotify).
    
    news: https://github.com/p11-glue/p11-kit/releases/tag/0.23.20
    (cherry picked from commit bbbb49c)
    hedning authored and worldofpeace committed Feb 26, 2020
    Copy the full SHA
    ac5c544 View commit details
  2. Merge pull request #81080 from worldofpeace/backport-80698

    [20.03] p11-kit: 0.23.19 -> 0.23.20
    worldofpeace authored Feb 26, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    8bcc32a View commit details
  3. nixos/git-daemon: only create git user if it will be used

    (cherry picked from commit 6df119a)
    tilpner committed Feb 26, 2020

    Verified

    This commit was signed with the committer’s verified signature.
    tilpner Till Höppner
    Copy the full SHA
    ee4421d View commit details

Commits on Feb 29, 2020

  1. Copy the full SHA
    d8e6050 View commit details
  2. libyamlcpp: don't use multiple outputs

    This package uses CMake's install(EXPORT ...) command which assumes that
    libraries are installed in the same location as the CMake files.
    
    (cherry picked from commit bdbbe6f)
    lopsided98 authored and veprbl committed Feb 29, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    7f4770a View commit details
  3. libyamlcpp: actually build shared libraries (#81051)

    (cherry picked from commit be41f70)
    lopsided98 authored and veprbl committed Feb 29, 2020

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    veprbl Dmitry Kalinkin
    Copy the full SHA
    4f5c577 View commit details
  4. pythonPackages.astroquery 0.3.10 -> 0.4

    Tests are disabled until pytest-astropy is updated with
    pytest-astropy-header.
    
    (cherry picked from commit a5e82af)
    xbreak authored and smaret committed Feb 29, 2020

    Unverified

    The key that signed this doesn't have usage flags that allow signing.
    Copy the full SHA
    aa11950 View commit details

Commits on Mar 1, 2020

  1. nixos/rngd: fix clean shutdown

    It seems disabling DefaultDependencies
    removes these implicit dependencies [0] that
    we needed for shutdown to happen cleanly.
    
    Fixes #80871
    
    [0]: https://www.freedesktop.org/software/systemd/man/systemd.service.html#Default%20Dependencies
    
    (cherry picked from commit fa76150)
    worldofpeace committed Mar 1, 2020
    Copy the full SHA
    f8601cc View commit details
  2. Merge pull request #81409 from smaret/release-20.03

    [ZHF] pythonPackages.astroquery 0.3.10 -> 0.4
    worldofpeace authored Mar 1, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    78414b6 View commit details
  3. Merge pull request #81119 from tilpner/gitdaemon-usercreation-backport

    [20.03] nixos/git-daemon: only create git user if it will be used
    worldofpeace authored Mar 1, 2020

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    43115eb View commit details
  4. aesop: 1.2.3 -> 1.2.4

    (cherry picked from commit 5668479)
    r-ryantm authored and worldofpeace committed Mar 1, 2020
    Copy the full SHA
    93137b1 View commit details
  5. ipmitool: migrate to openssl 1.1

    This adds a patch from debian to switch ipmitool to openssl 1.1.
    Upstream seems to already carry a version of this but that is yet to be
    part of a release.
    
    (cherry picked from commit ad19bb5)
    andir authored and worldofpeace committed Mar 1, 2020
    Copy the full SHA
    26f4dec View commit details
  6. ipmitool: cleanup expression

    * remove no-op substitution of s6_addr16 -> s6_addr
    
    This string doesn't exist anymore in that file.
    
    * clean up configureFlags
    
    (cherry picked from commit 43ec75d)
    flokli authored and worldofpeace committed Mar 1, 2020
    Copy the full SHA
    5c025bc View commit details
  7. ipmitool: fix compile on darwin

    (cherry picked from commit 8221755)
    worldofpeace committed Mar 1, 2020
    Copy the full SHA
    a5e2304 View commit details
  8. Copy the full SHA
    a39dfc1 View commit details
  9. Copy the full SHA
    a345d00 View commit details
  10. ideogram: 1.3.2 -> 1.3.3

    worldofpeace committed Mar 1, 2020
    Copy the full SHA
    550d6af View commit details
  11. libgpod: also remove mutagen

    I think this was my mistake. This is also a python2 dependency
    that should have been removed with pygobject.
    
    (cherry picked from commit e50306d)
    worldofpeace committed Mar 1, 2020
    Copy the full SHA
    699a8d4 View commit details
  12. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    Ma27 Maximilian Bosch
    Copy the full SHA
    ebc9620 View commit details
7 changes: 7 additions & 0 deletions nixos/modules/security/rngd.nix
Original file line number Diff line number Diff line change
@@ -37,6 +37,13 @@ in

after = [ "dev-random.device" ];

# Clean shutdown without DefaultDependencies
conflicts = [ "shutdown.target" ];
before = [
"sysinit.target"
"shutdown.target"
];

description = "Hardware RNG Entropy Gatherer Daemon";

# rngd may have to start early to avoid entropy starvation during boot with encrypted swap
4 changes: 2 additions & 2 deletions nixos/modules/services/networking/git-daemon.nix
Original file line number Diff line number Diff line change
@@ -104,14 +104,14 @@ in

config = mkIf cfg.enable {

users.users = optionalAttrs (cfg.user != "git") {
users.users = optionalAttrs (cfg.user == "git") {
git = {
uid = config.ids.uids.git;
description = "Git daemon user";
};
};

users.groups = optionalAttrs (cfg.group != "git") {
users.groups = optionalAttrs (cfg.group == "git") {
git.gid = config.ids.gids.git;
};

1 change: 1 addition & 0 deletions nixos/tests/all-tests.nix
Original file line number Diff line number Diff line change
@@ -98,6 +98,7 @@ in
fsck = handleTest ./fsck.nix {};
gotify-server = handleTest ./gotify-server.nix {};
grocy = handleTest ./grocy.nix {};
gitdaemon = handleTest ./gitdaemon.nix {};
gitea = handleTest ./gitea.nix {};
gitlab = handleTest ./gitlab.nix {};
gitolite = handleTest ./gitolite.nix {};
64 changes: 64 additions & 0 deletions nixos/tests/gitdaemon.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
import ./make-test-python.nix ({ pkgs, ... }:

let
hashes = pkgs.writeText "hashes" ''
b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c /project/bar
'';
in {
name = "gitdaemon";

meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ tilpner ];
};

nodes = {
server =
{ config, ... }: {
networking.firewall.allowedTCPPorts = [ config.services.gitDaemon.port ];

environment.systemPackages = [ pkgs.git ];

services.gitDaemon = {
enable = true;
basePath = "/git";
};
};

client =
{ pkgs, ... }: {
environment.systemPackages = [ pkgs.git ];
};
};

testScript = ''
start_all()
with subtest("create project.git"):
server.succeed(
"mkdir /git",
"git init --bare /git/project.git",
"touch /git/project.git/git-daemon-export-ok",
)
with subtest("add file to project.git"):
server.succeed(
"git clone /git/project.git /project",
"echo foo > /project/bar",
"git config --global user.email 'you@example.com'",
"git config --global user.name 'Your Name'",
"git -C /project add bar",
"git -C /project commit -m 'quux'",
"git -C /project push",
"rm -r /project",
)
with subtest("git daemon starts"):
server.wait_for_unit("git-daemon.service")
with subtest("client can clone project.git"):
client.succeed(
"git clone git://server/project.git /project",
"sha256sum -c ${hashes}",
)
'';
})
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/ideogram/default.nix
Original file line number Diff line number Diff line change
@@ -17,13 +17,13 @@

stdenv.mkDerivation rec {
pname = "ideogram";
version = "1.3.2";
version = "1.3.3";

src = fetchFromGitHub {
owner = "cassidyjames";
repo = pname;
rev = version;
sha256 = "08nl11gj3234nrqyigqkq3yiyrqf2hha24x5jkl78ypj2xhcnhw8";
sha256 = "1zkr7x022khn5g3sq2dkxzy1hiiz66vl81s3i5sb9qr88znh79p1";
};

nativeBuildInputs = [
6 changes: 3 additions & 3 deletions pkgs/applications/office/aesop/default.nix
Original file line number Diff line number Diff line change
@@ -3,13 +3,13 @@

stdenv.mkDerivation rec {
pname = "aesop";
version = "1.2.3";
version = "1.2.4";

src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
sha256 = "1aa1kp1rndi2dj1d9sf8zhssn5dw183yx1fm2xccdy9zjf9wi4jk";
sha256 = "1bqykr1mwanfm55w1v9ipqcqgzj8kbjvlm4d5b2swvhng77gnf3d";
};

nativeBuildInputs = [
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {

meta = with stdenv.lib; {
description = "The simplest PDF viewer around";
homepage = https://github.com/lainsce/aesop;
homepage = "https://github.com/lainsce/aesop";
license = licenses.gpl2Plus;
maintainers = pantheon.maintainers;
platforms = platforms.linux;
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/apps/elementary-code/default.nix
Original file line number Diff line number Diff line change
@@ -27,15 +27,15 @@

stdenv.mkDerivation rec {
pname = "elementary-code";
version = "3.2.0";
version = "3.3.0";

repoName = "code";

src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "0sdh22dc38qikak9iyrw402ap6zxckg9vkfppvv526jg88cckibd";
sha256 = "0v544zw99wjcy0bflaci9fssx4sibz4b05bxs3a7j8hrpl102r4w";
};

passthru = {
Original file line number Diff line number Diff line change
@@ -8,15 +8,15 @@

stdenv.mkDerivation rec {
pname = "elementary-gtk-theme";
version = "5.4.1";
version = "5.4.2";

repoName = "stylesheet";

src = fetchFromGitHub {
owner = "elementary";
repo = repoName;
rev = version;
sha256 = "0fnh08wqlhvigkxp69xkdha19ny9j0hg4ycwhhwvyr0d0z47kilw";
sha256 = "0aqq0d21mqgrfiyhpfa8k51wxw2pia0qlsgp0sli79v7nwn3ykbq";
};

passthru = {
4 changes: 2 additions & 2 deletions pkgs/development/libraries/libgpod/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib,
libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib,
libimobiledevice, mutagen,
libimobiledevice,
monoSupport ? false, mono, gtk-sharp-2_0
}:

@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
dontStrip = true;

propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
gdk-pixbuf taglib libimobiledevice mutagen ];
gdk-pixbuf taglib libimobiledevice ];

nativeBuildInputs = [ gettext intltool pkgconfig ]
++ (with perlPackages; [ perl XMLParser ])
7 changes: 6 additions & 1 deletion pkgs/development/libraries/libyaml-cpp/default.nix
Original file line number Diff line number Diff line change
@@ -11,7 +11,12 @@ stdenv.mkDerivation rec {
sha256 = "0ykkxzxcwwiv8l8r697gyqh1nl582krpvi7m7l6b40ijnk4pw30s";
};

outputs = [ "out" "dev" ];
# implement https://github.com/jbeder/yaml-cpp/commit/52a1378e48e15d42a0b755af7146394c6eff998c
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace 'option(YAML_BUILD_SHARED_LIBS "Build Shared Libraries" OFF)' \
'option(YAML_BUILD_SHARED_LIBS "Build yaml-cpp shared library" ''${BUILD_SHARED_LIBS})'
'';

nativeBuildInputs = [ cmake ];

4 changes: 2 additions & 2 deletions pkgs/development/libraries/p11-kit/default.nix
Original file line number Diff line number Diff line change
@@ -4,13 +4,13 @@

stdenv.mkDerivation rec {
pname = "p11-kit";
version = "0.23.19";
version = "0.23.20";

src = fetchFromGitHub {
owner = "p11-glue";
repo = pname;
rev = version;
sha256 = "0hsg06mqsd90a0nxj5484b40cbfq7vna4w0sv6y5ihbj5l2hz06b";
sha256 = "00xxhzgd7cpin9nzwrrzykvhjwqg5l45p0cq2gv68y3sxq2p9q6y";
};

outputs = [ "out" "dev"];
9 changes: 7 additions & 2 deletions pkgs/development/python-modules/astroquery/default.nix
Original file line number Diff line number Diff line change
@@ -9,21 +9,26 @@
, pytest
, pytest-astropy
, astropy-helpers
, isPy3k
}:

buildPythonPackage rec {
pname = "astroquery";
version = "0.3.10";
version = "0.4";

src = fetchPypi {
inherit pname version;
sha256 = "1ce57a8792c7d5d74206d797d379de6da35d56be433ea5840c41a49f202e2fab";
sha256 = "1ddwnj9vpvxkrfb45c4pwv5f5za9kn2q0040dpw2ymj2bwlpl61h";
};

disabled = !isPy3k;

propagatedBuildInputs = [ astropy requests keyring beautifulsoup4 html5lib ];

nativeBuildInputs = [ astropy-helpers ];

# Tests disabled until pytest-astropy has been updated to include pytest-astropy-header
doCheck = false;
checkInputs = [ pytest pytest-astropy ];

# Disable automatic update of the astropy-helper module
4 changes: 2 additions & 2 deletions pkgs/tools/networking/bandwhich/default.nix
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@

rustPlatform.buildRustPackage rec {
pname = "bandwhich";
version = "0.11.0";
version = "0.12.0";

src = fetchFromGitHub {
owner = "imsnif";
repo = pname;
rev = version;
sha256 = "1c4lndrr7xndgp60zcdjqpciwibm9sjwwrd3921fyz4jg44g76zy";
sha256 = "0vg2fkjksjysm5ckdlfswg8w7f52wkh417l7k96hghg9ni4yz575";
};

cargoSha256 = "1sa81570cvvpqgdcpnb08b0q4c6ap8a2wxfp2z336jzbv0zgv8a6";
36 changes: 24 additions & 12 deletions pkgs/tools/system/ipmitool/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, openssl, static ? false }:
{ stdenv, lib, fetchurl, openssl, fetchpatch, static ? false }:

let
pkgname = "ipmitool";
@@ -12,27 +12,39 @@ stdenv.mkDerivation {
sha256 = "0kfh8ny35rvwxwah4yv91a05qwpx74b5slq2lhrh71wz572va93m";
};

patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace src/plugins/ipmi_intf.c --replace "s6_addr16" "s6_addr"
'';
patches = [
(fetchpatch {
url = "https://sources.debian.org/data/main/i/ipmitool/1.8.18-6/debian/patches/0120-openssl1.1.patch";
sha256 = "1xvsjxb782lzy72bnqqnsk3r5h4zl3na95s4pqn2qg7cic2mnbfk";
})
# Fix build on non-linux systems
(fetchpatch {
url = "https://github.com/ipmitool/ipmitool/commit/5db314f694f75c575cd7c9ffe9ee57aaf3a88866.patch";
sha256 = "01niwrgajhrdhl441gzmw6v1r1yc3i8kn98db4b6smfn5fwdp1pa";
})
];

buildInputs = [ openssl ];

preConfigure = ''
configureFlagsArray=(
--infodir=$out/share/info
--mandir=$out/share/man
${if static then "LDFLAGS=-static --enable-static --disable-shared" else "--enable-shared"}
)
'';
configureFlags = [
"--infodir=${placeholder "out"}/share/info"
"--mandir=${placeholder "out"}/share/man"
] ++ stdenv.lib.optionals static [
"LDFLAGS=-static"
"--enable-static"
"--disable-shared"
] ++ stdenv.lib.optionals (!static) [
"--enable-shared"
];

makeFlags = stdenv.lib.optional static "AM_LDFLAGS=-all-static";
dontDisableStatic = static;

meta = with lib; {
description = ''Command-line interface to IPMI-enabled devices'';
license = licenses.bsd3;
homepage = https://sourceforge.net/projects/ipmitool/;
platforms = platforms.linux;
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
};
}
8 changes: 2 additions & 6 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -4239,9 +4239,7 @@ in

ipget = callPackage ../applications/networking/ipget { };

ipmitool = callPackage ../tools/system/ipmitool {
openssl = openssl_1_0_2;
};
ipmitool = callPackage ../tools/system/ipmitool {};

ipmiutil = callPackage ../tools/system/ipmiutil {};

@@ -12560,9 +12558,7 @@ in

libgpiod = callPackage ../development/libraries/libgpiod { };

libgpod = callPackage ../development/libraries/libgpod {
inherit (pkgs.pythonPackages) mutagen;
};
libgpod = callPackage ../development/libraries/libgpod { };

libgssglue = callPackage ../development/libraries/libgssglue { };