git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #31996 from kierdavis/ckb-next

ckb: update to ckb-next 0.2.8

commit32169472017ac91e763cc7ff97f232c99d4db663 authorGraham Christensen <graham@grahamc.com> dateFri 24 Nov 2017, 08:42 (9 years ago) parent10b113f82b4224
2 files changed+8−8
pkgs/tools/misc/ckb/ckb-animations-location.patch+2−2 pkgs/tools/misc/ckb/default.nix+6−6
pkgs/tools/misc/ckb/ckb-animations-location.patch+2−2
@@ -1,12 +1,12 @@
11diff --git a/src/ckb/animscript.cpp b/src/ckb/animscript.cpp
2−index d0b7f46..d7a3459 100644
2+index f49a64c..d7a3459 100644
33--- a/src/ckb/animscript.cpp
44+++ b/src/ckb/animscript.cpp
55@@ -30,7 +30,7 @@ QString AnimScript::path(){
66 #ifdef __APPLE__
77 return QDir(QApplication::applicationDirPath() + "/../Resources").absoluteFilePath("ckb-animations");
88 #else
9−- return QDir(QApplication::applicationDirPath()).absoluteFilePath("ckb-animations");
9+- return QDir("/usr/lib").absoluteFilePath("ckb-animations");
1010+ return QDir(QApplication::applicationDirPath() + "/../libexec").absoluteFilePath("ckb-animations");
1111 #endif
1212 }
pkgs/tools/misc/ckb/default.nix+6−6
@@ -1,14 +1,14 @@
11{ stdenv, fetchFromGitHub, libudev, pkgconfig, qtbase, qmake, zlib }:
22
33stdenv.mkDerivation rec {
4− version = "0.2.6";
5− name = "ckb-${version}";
4+ version = "0.2.8";
5+ name = "ckb-next-${version}";
66
77 src = fetchFromGitHub {
8− owner = "ccMSC";
9− repo = "ckb";
8+ owner = "mattanger";
9+ repo = "ckb-next";
1010 rev = "v${version}";
11− sha256 = "04h50qdzsbi77mj62jghr52i35vxvmhnvsb7pdfdq95ryry8bnwm";
11+ sha256 = "0b3h1d54mdyfcx46zvsd7dfqf2656h4jjkiw044170gnfdzxjb3w";
1212 };
1313
1414 buildInputs = [
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
3939
4040 meta = with stdenv.lib; {
4141 description = "Driver and configuration tool for Corsair keyboards and mice";
42− homepage = https://github.com/ccMSC/ckb;
42+ homepage = https://github.com/mattanger/ckb-next;
4343 license = licenses.gpl2;
4444 platforms = platforms.linux;
4545 maintainers = with maintainers; [ kierdavis ];