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: e79b1e6a9a21
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: ba163623ec4c
Choose a head ref
  • 12 commits
  • 9 files changed
  • 6 contributors

Commits on Jul 18, 2020

  1. Copy the full SHA
    b28d329 View commit details

Commits on Jul 21, 2020

  1. cm-rgb: init at 0.3.4

    This is a set of utilities to control AMD Wraith Prism RGB LEDs.
    danieldk committed Jul 21, 2020
    Copy the full SHA
    031cc88 View commit details

Commits on Jul 26, 2020

  1. Copy the full SHA
    9749e2f View commit details
  2. Merge pull request #93896 from danieldk/rocm-opencl-runtime-stdenv

    rocm-opencl-runtime: use unaltered stdenv
    danieldk authored Jul 26, 2020
    Copy the full SHA
    b5e1dc1 View commit details
  3. Merge pull request #92832 from danieldk/cm-rgb

    cm-rgb: init at 0.3.4
    danieldk authored Jul 26, 2020
    Copy the full SHA
    fbd4164 View commit details
  4. Copy the full SHA
    f84ee80 View commit details
  5. Copy the full SHA
    d0c08cf View commit details
  6. Copy the full SHA
    6df7a93 View commit details
  7. Copy the full SHA
    1e084a8 View commit details
  8. Merge pull request #90424 from kini/drat-trim/bump

    drat-trim: 2017-08-31 -> 2020-06-05
    dywedir authored Jul 26, 2020
    Copy the full SHA
    77d6eeb View commit details
  9. Copy the full SHA
    c28df99 View commit details
  10. kapacitor: 1.5.5 -> 1.5.6

    r-ryantm authored and FRidh committed Jul 26, 2020
    Copy the full SHA
    ba16362 View commit details
5 changes: 5 additions & 0 deletions nixos/release.nix
Original file line number Diff line number Diff line change
@@ -310,6 +310,11 @@ in rec {
services.xserver.desktopManager.gnome3.enable = true;
});

pantheon = makeClosure ({ ... }:
{ services.xserver.enable = true;
services.xserver.desktopManager.pantheon.enable = true;
});

# Linux/Apache/PostgreSQL/PHP stack.
lapp = makeClosure ({ pkgs, ... }:
{ services.httpd.enable = true;
13 changes: 9 additions & 4 deletions pkgs/applications/science/logic/drat-trim/default.nix
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation {
name = "drat-trim-2017-08-31";
pname = "drat-trim-unstable";
version = "2020-06-05";

src = fetchFromGitHub {
owner = "marijnheule";
repo = "drat-trim";
rev = "37ac8f874826ffa3500a00698910e137498defac";
sha256 = "1m9q47dfnvdli1z3kb1jvvbm0dgaw725k1aw6h9w00bggqb91bqh";
rev = "9afad0f7156a1e9c6ce19dce5d72cf1cb9a3ef27";
sha256 = "1zq585igfaknwqbvv2cji744016zxadbvr0ifr5l6yq13m0vvn3b";
};

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

installPhase = ''
install -Dt $out/bin drat-trim
install -Dt $out/bin drat-trim lrat-check
'';

meta = with stdenv.lib; {
@@ -31,6 +32,10 @@ stdenv.mkDerivation {
annual SAT Competition in recent years, in order to check
competing SAT solvers' work when they claim that a SAT instance
is unsatisfiable.
This package also contains the related tool LRAT-check, which checks a
proof format called LRAT which extends DRAT with hint statements to speed
up the checking process.
'';
homepage = "https://www.cs.utexas.edu/~marijn/drat-trim/";
license = licenses.mit;
4 changes: 2 additions & 2 deletions pkgs/desktops/pantheon/default.nix
Original file line number Diff line number Diff line change
@@ -198,12 +198,12 @@ lib.makeScope pkgs.newScope (self: with self; {

elementary-wallpapers = callPackage ./artwork/elementary-wallpapers { };

vala = pkgs.vala_0_46; # multiple pantheon packages have issues with vala 0.48.7

} // lib.optionalAttrs (config.allowAliases or true) {

### ALIASES

inherit (pkgs) vala; # added 2019-10-10

cerbere = throw "Cerbere is now obsolete https://github.com/elementary/cerbere/releases/tag/2.5.1.";

})
8 changes: 8 additions & 0 deletions pkgs/desktops/pantheon/desktop/gala/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, pantheon
, pkgconfig
, meson
@@ -69,6 +70,13 @@ stdenv.mkDerivation rec {
];

patches = [
# https://github.com/elementary/gala/pull/869
# build failure in vala 0.48.7
# https://github.com/elementary/gala/pull/869#issuecomment-657147695
(fetchpatch {
url = "https://github.com/elementary/gala/commit/85d290c75eaa147b704ad34e6c67498071707ee8.patch";
sha256 = "19jkvmxidf453qfrxkvi35igxzfz2cm8srwkabvyn9wyd1yhiw0l";
})
./plugins-dir.patch
./use-new-notifications-default.patch
];
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, pantheon
, pkgconfig
, meson
@@ -23,6 +24,19 @@ stdenv.mkDerivation rec {
sha256 = "02inp8xdxfx8qxjdf2nazw46ahp1gv3skd922ma6kgx5w4wxh5l8";
};

patches = [
# build failure in vala 0.48.7
# https://github.com/elementary/gala/pull/869#issuecomment-657147695
(fetchpatch {
url = "https://github.com/elementary/wingpanel-indicator-session/commit/ead6971c708eed8b844bd9acd7eed2ab8a97e803.patch";
sha256 = "1v7w7zdia82d38ycr5zhckaxgf7gr15hsv05cv5khlki8frryn2x";
})
(fetchpatch {
url = "https://github.com/elementary/wingpanel-indicator-session/commit/85347e676054635ac878fc542bd057398ca70d3e.patch";
sha256 = "1vw4zx0qbhxmfzqhdcmwdp4fxvij7n3f5lwcplf5v3k9qsr3wm0n";
})
];

passthru = {
updateScript = pantheon.updateScript {
attrPath = "pantheon.${pname}";
4 changes: 3 additions & 1 deletion pkgs/development/python-modules/recommonmark/default.nix
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
, CommonMark
, docutils
, sphinx
, isPy3k
}:

buildPythonPackage rec {
@@ -30,11 +31,12 @@ buildPythonPackage rec {
"test_integration"
];

disabled = isPy3k; # Not yet compatible with latest Sphinx.

meta = {
description = "A docutils-compatibility bridge to CommonMark";
homepage = "https://github.com/rtfd/recommonmark";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fridh ];
broken = true; #broke until it works with sphinx 3
};
}
4 changes: 2 additions & 2 deletions pkgs/servers/monitoring/kapacitor/default.nix
Original file line number Diff line number Diff line change
@@ -2,15 +2,15 @@

buildGoPackage rec {
pname = "kapacitor";
version = "1.5.5";
version = "1.5.6";

goPackagePath = "github.com/influxdata/kapacitor";

src = fetchFromGitHub {
owner = "influxdata";
repo = "kapacitor";
rev = "v${version}";
sha256 = "17zk7fs6yl5hmhr3inwkafwmg2ihaicj43gdi5888dinhpa9bij1";
sha256 = "1jb04lnxjrms7x5nlrsd1s465rramm9z4zkqpfw1vfdsqa2dd8rc";
};

meta = with lib; {
63 changes: 63 additions & 0 deletions pkgs/tools/system/cm-rgb/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{ stdenv
, buildPythonApplication
, fetchFromGitHub
, atk
, gobject-introspection
, wrapGAppsHook
, click
, hidapi
, psutil
, pygobject3
}:

buildPythonApplication rec {
pname = "cm-rgb";
version = "0.3.4";

src = fetchFromGitHub {
owner = "gfduszynski";
repo = pname;
rev = "v${version}";
sha256 = "04brldaa2zpvzkcg43i5hpbj03d1nqrgiplm5nh4shn12cif19ag";
};

nativeBuildInputs = [
atk

# Populate GI_TYPELIB_PATH
gobject-introspection
wrapGAppsHook
];

propagatedBuildInputs = [
click
hidapi
psutil
pygobject3
];

postInstall = ''
# Remove this line when/if this PR gets merged:
# https://github.com/gfduszynski/cm-rgb/pull/43
install -m0755 scripts/cm-rgb-gui $out/bin/cm-rgb-gui
mkdir -p $out/etc/udev/rules.d
echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="2516", ATTR{idProduct}=="0051", TAG+="uaccess"' \
> $out/etc/udev/rules.d/60-cm-rgb.rules
'';

meta = with stdenv.lib; {
description = "Control AMD Wraith Prism RGB LEDs";
longDescription = ''
cm-rgb controls AMD Wraith Prism RGB LEDS.
To permit non-root accounts to change use this utility on
NixOS, add this package to <literal>services.udev.packages</literal>
in <filename>configuration.nix</filename>.
'';
homepage = "https://github.com/gfduszynski/cm-rgb";
license = licenses.mit;
platforms = platforms.all;
maintainers = with maintainers; [ danieldk ];
};
}
3 changes: 2 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
@@ -9295,7 +9295,6 @@ in
rocm-opencl-icd = callPackage ../development/libraries/rocm-opencl-icd { };

rocm-opencl-runtime = callPackage ../development/libraries/rocm-opencl-runtime {
stdenv = overrideCC stdenv llvmPackages_rocm.clang;
inherit (llvmPackages_rocm) clang clang-unwrapped lld llvm;
};

@@ -16875,6 +16874,8 @@ in

cifs-utils = callPackage ../os-specific/linux/cifs-utils { };

cm-rgb = python3Packages.callPackage ../tools/system/cm-rgb { };

cpustat = callPackage ../os-specific/linux/cpustat { };

cockroachdb = callPackage ../servers/sql/cockroachdb { };