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: 3829979d8d29
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: 595afc2c3f0d
Choose a head ref
  • 13 commits
  • 9 files changed
  • 6 contributors

Commits on Jul 15, 2020

  1. Copy the full SHA
    f0d158f View commit details
  2. Copy the full SHA
    ee036bc View commit details

Commits on Jul 17, 2020

  1. gitkraken: 7.0.1 -> 7.1.0

    r-ryantm committed Jul 17, 2020
    Copy the full SHA
    7444a7e View commit details
  2. rocm-smi: init at 3.5.0

    This utility reports information about AMD GPUs that are supported by
    the ROCm stack. It also exposes functionality for clock and
    temperature management.
    danieldk committed Jul 17, 2020
    Copy the full SHA
    a6d8e68 View commit details
  3. Merge pull request #93331 from danieldk/rocm-smi

    rocm-smi: init at 3.5.0
    danieldk authored Jul 17, 2020
    Copy the full SHA
    5e95e2e View commit details
  4. Merge pull request #93317 from r-ryantm/auto-update/gitkraken

    gitkraken: 7.0.1 -> 7.1.0
    ryantm authored Jul 17, 2020
    Copy the full SHA
    e0ed6d7 View commit details
  5. Copy the full SHA
    9cd338e View commit details
  6. androidStudioPackages.{beta,dev,canary}: Remove myself as maintainer

    See #88071.
    I'll try to maintain at least the stable channel for now and will mark
    the other channels as broken after the next major stable release.
    primeos committed Jul 17, 2020
    Copy the full SHA
    03db2c6 View commit details
  7. Merge pull request #93195 from ttuegel/krunner-deprecated-crash

    krunner: add upstream patch for deprecated virtual method
    ttuegel authored Jul 17, 2020
    Copy the full SHA
    daa6298 View commit details
  8. Copy the full SHA
    1857b27 View commit details
  9. bazel: use install for completions

    Preserving existing behavior: the bash completion was not executable,
    the zsh completion was; according to lukegb the fish completion does
    not have to be executable.
    Profpatsch committed Jul 17, 2020
    Copy the full SHA
    2ba87b6 View commit details
  10. bazel: add fish completions

    bazel 3.3 adds a first version of completions for fish shell.
    
    Tested manually whether fish is able to load the completions.
    Profpatsch committed Jul 17, 2020
    Copy the full SHA
    a06fda4 View commit details
  11. Copy the full SHA
    595afc2 View commit details
3 changes: 2 additions & 1 deletion pkgs/applications/editors/android-studio/common.nix
Original file line number Diff line number Diff line change
@@ -198,7 +198,8 @@ in runCommand
# binaries are also distributed as proprietary software (unlike the
# source-code itself).
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ primeos ];
maintainers = with maintainers; ([ ]
++ optional (channel == "stable") primeos);
};
}
''
6 changes: 3 additions & 3 deletions pkgs/applications/editors/android-studio/default.nix
Original file line number Diff line number Diff line change
@@ -8,9 +8,9 @@ let
inherit (gnome2) GConf gnome_vfs;
};
stableVersion = {
version = "4.0.0.16"; # "Android Studio 4.0"
build = "193.6514223";
sha256Hash = "1sqj64vddwfrr9821habfz7dms9csvbp7b8gf1d027188b2lvh3h";
version = "4.0.1.0"; # "Android Studio 4.0.1"
build = "193.6626763";
sha256Hash = "15vm7fvi8c286wx9f28z6ysvm8wqqda759qql0zy9simwx22gy7j";
};
betaVersion = {
version = "4.0.0.16"; # "Android Studio 4.0"
4 changes: 2 additions & 2 deletions pkgs/applications/version-management/gitkraken/default.nix
Original file line number Diff line number Diff line change
@@ -13,11 +13,11 @@ let
in
stdenv.mkDerivation rec {
pname = "gitkraken";
version = "7.0.1";
version = "7.1.0";

src = fetchzip {
url = "https://release.axocdn.com/linux/GitKraken-v${version}.tar.gz";
sha256 = "0vj2ggbm617fypl69ksbrbl048xp4v6wc46y4sp7hrk6lg0gw1b0";
sha256 = "1g7i7sq705x5jkp76z4car9na3qvklpi3a766yiv4h79kc5via48";
};

dontBuild = true;
36 changes: 18 additions & 18 deletions pkgs/applications/window-managers/cage/default.nix
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{ stdenv, fetchFromGitHub, fetchpatch
, meson, ninja, pkgconfig, makeWrapper
, wlroots, wayland, wayland-protocols, pixman, libxkbcommon
{ stdenv, fetchFromGitHub
, meson, ninja, pkg-config, wayland, scdoc, makeWrapper
, wlroots, wayland-protocols, pixman, libxkbcommon
, systemd, libGL, libX11
, xwayland ? null
, nixosTests
}:

stdenv.mkDerivation rec {
pname = "cage-unstable";
version = "2020-01-18";
# The last stable release (0.1.1) would require at least the following 3 patches:
# - https://github.com/Hjdskes/cage/commit/33bb3c818c5971777b6f09d8821e7f078d38d262.patch
# - https://github.com/Hjdskes/cage/commit/51e6c760da51e2b885737d61a61cdc965bb9269d.patch
# - https://github.com/Hjdskes/cage/commit/84216ca2a417b237ad61c11e2f3ebbcb91681ece.patch
# Which need to be adapted due to other changes. At this point it seems
# better to use the current master version until the next stable release.
pname = "cage";
version = "0.1.2.1";

src = fetchFromGitHub {
owner = "Hjdskes";
repo = "cage";
rev = "cc1f975c442ebd691b70196d76aa120ead717810";
sha256 = "1gkqx26pvlw00b3fgx6sh87yyjfzyj51jwxvbf9k117npkrf4b2g";
rev = "v${version}";
sha256 = "1i4rm3dpmk7gkl6hfs6a7vwz76ba7yqcdp63nlrdbnq81m9cy2am";
};

nativeBuildInputs = [ meson ninja pkgconfig makeWrapper wayland ];
postPatch = ''
substituteInPlace meson.build --replace \
"0.1.2" "${version}"
'';

nativeBuildInputs = [ meson ninja pkg-config wayland scdoc makeWrapper ];

buildInputs = [
wlroots wayland wayland-protocols pixman libxkbcommon
# TODO: Not specified but required:
systemd libGL libX11
];

enableParallelBuilding = true;

mesonFlags = [ "-Dxwayland=${stdenv.lib.boolToString (xwayland != null)}" ];

postFixup = stdenv.lib.optionalString (xwayland != null) ''
wrapProgram $out/bin/cage --prefix PATH : "${xwayland}/bin"
'';

# Tests Cage using the NixOS module by launching xterm:
passthru.tests.basic-nixos-module-functionality = nixosTests.cage;

meta = with stdenv.lib; {
description = "A Wayland kiosk";
description = "A Wayland kiosk that runs a single, maximized application";
homepage = "https://www.hjdskes.nl/projects/cage/";
license = licenses.mit;
platforms = platforms.linux;
2 changes: 1 addition & 1 deletion pkgs/development/libraries/kde-frameworks/default.nix
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@ let

in mkDerivation (args // {
name = "${name}-${version}";
inherit meta outputs setupHook src;
inherit meta outputs setupHook src version;
});

};
31 changes: 20 additions & 11 deletions pkgs/development/libraries/kde-frameworks/krunner.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
{
mkDerivation, lib,
mkDerivation, lib, fetchpatch,
extra-cmake-modules,
kconfig, kcoreaddons, ki18n, kio, kservice, plasma-framework, qtbase,
qtdeclarative, solid, threadweaver, kwindowsystem
}:

mkDerivation {
name = "krunner";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kconfig kcoreaddons ki18n kio kservice qtdeclarative solid
threadweaver
];
propagatedBuildInputs = [ plasma-framework qtbase kwindowsystem ];
}
let
self = mkDerivation {
name = "krunner";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
patches = [
# Un-deprecate virtual method to restore binary compatibility.
(assert !(lib.versionOlder "5.72" self.version); fetchpatch {
url = "https://invent.kde.org/frameworks/krunner/-/commit/8f7ce559b84ee0c21de0256e6591793e4b95f411.diff";
sha256 = "06h9g04syv6x3hqi0iy9wll78yf9ys95r5vm104sc25pnszvjbxv";
})
];
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kconfig kcoreaddons ki18n kio kservice qtdeclarative solid
threadweaver
];
propagatedBuildInputs = [ plasma-framework qtbase kwindowsystem ];
};
in self
15 changes: 11 additions & 4 deletions pkgs/development/tools/build-managers/bazel/bazel_3/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, callPackage, lib, fetchurl, fetchFromGitHub
{ stdenv, callPackage, lib, fetchurl, fetchFromGitHub, installShellFiles
, runCommand, runCommandCC, makeWrapper, recurseIntoAttrs
# this package (through the fixpoint glass)
, bazel_self
@@ -465,6 +465,7 @@ stdenv.mkDerivation rec {
# when a command can’t be found in a bazel build, you might also
# need to add it to `defaultShellPath`.
nativeBuildInputs = [
installShellFiles
zip
python3
unzip
@@ -507,9 +508,15 @@ stdenv.mkDerivation rec {
mv ./bazel_src/output/bazel $out/bin/bazel-${version}-${system}-${arch}
# shell completion files
mkdir -p $out/share/bash-completion/completions $out/share/zsh/site-functions
mv ./bazel_src/output/bazel-complete.bash $out/share/bash-completion/completions/bazel
cp ./bazel_src/scripts/zsh_completion/_bazel $out/share/zsh/site-functions/
installShellCompletion --bash \
--name bazel.bash \
./bazel_src/output/bazel-complete.bash
installShellCompletion --zsh \
--name _bazel \
./bazel_src/scripts/zsh_completion/_bazel
installShellCompletion --fish \
--name bazel.fish \
./bazel_src/scripts/fish/completions/bazel.fish
'';

doInstallCheck = true;
30 changes: 30 additions & 0 deletions pkgs/tools/system/rocm-smi/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{ lib, buildPythonApplication, fetchFromGitHub }:

buildPythonApplication rec {
pname = "rocm-smi";
version = "3.5.0";

src = fetchFromGitHub {
owner = "RadeonOpenCompute";
repo = "ROC-smi";
rev = "rocm-${version}";
sha256 = "189mpvmcv46nfwshyc1wla6k71kbraldik5an20g4v9s13ycrpx9";
};

format = "other";

dontConfigure = true;
dontBuild = true;

installPhase = ''
install -Dm0755 rocm_smi.py $out/bin/rocm-smi
'';

meta = with lib; {
description = "System management interface for AMD GPUs supported by ROCm";
homepage = "https://github.com/RadeonOpenCompute/ROC-smi";
license = with licenses; [ mit ];
maintainers = with maintainers; [ danieldk ];
platforms = platforms.linux;
};
}
3 changes: 3 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -9286,6 +9286,9 @@ in

rocm-runtime-ext = callPackage ../development/libraries/rocm-runtime-ext { };

# Python >= 3.8 still gives a bunch of warnings.
rocm-smi = python37.pkgs.callPackage ../tools/system/rocm-smi { };

rocm-thunk = callPackage ../development/libraries/rocm-thunk { };

rtags = callPackage ../development/tools/rtags {