-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
btnx: init at 2019-07-11 #109554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btnx: init at 2019-07-11 #109554
Conversation
meta = with lib; { | ||
homepage = "https://github.com/cdobrich/btnx"; | ||
description = "Daemon that sniffs events from the mouse event handler"; | ||
license = licenses.gpl2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gpl2Only or gpl2Plus?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gpl2Only. Performed the change on the next commit.
pkgs/top-level/all-packages.nix
Outdated
@@ -176,6 +176,8 @@ in | |||
|
|||
buildMaven = callPackage ../build-support/build-maven.nix {}; | |||
|
|||
btnx = callPackage ../tools/inputmethods/btnx {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btnx = callPackage ../tools/inputmethods/btnx {}; | |
btnx = callPackage ../tools/inputmethods/btnx { }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Performed the change on the next commit.
1025fd0
to
992fc95
Compare
@@ -0,0 +1,39 @@ | |||
{ lib, stdenv, fetchFromGitHub, pkgconfig, libdaemon, gtk2 }: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ lib, stdenv, fetchFromGitHub, pkgconfig, libdaemon, gtk2 }: | |
{ lib, stdenv, fetchFromGitHub, pkg-config, libdaemon, gtk2 }: |
rev = "ef3f5b9aca798213427831a94ed64ed652438470"; | ||
sha256 = "1a6sl6d403bd049ds1i0hbkc0q6lh34a0hk2i3ms1jcyazca284r"; | ||
}; | ||
nativeBuildInputs = [ pkgconfig ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ pkgconfig ]; | |
nativeBuildInputs = [ pkg-config ]; |
sha256 = "1mb8dgghidsdr0nrbr3l0nm4x7lcpxbf07j35bn3kbjgvzlmbsb1"; | ||
}; | ||
|
||
nativeBuildInputs = [ pkgconfig ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ pkgconfig ]; | |
nativeBuildInputs = [ pkg-config ]; |
@@ -167,6 +167,10 @@ in | |||
deps = [ innoextract file-rename ]; } | |||
../build-support/setup-hooks/gog-unpack.sh; | |||
|
|||
btnx-config = callPackage ../applications/misc/btnx-config { | |||
inherit (gnome2) libglade; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is either just libglade or libglademm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case it is libglade. But for now I have set the PR in WIP because there has been an issue with the integration (application is looking for /etc/btnx content in a hardcoded way)
I marked this as stale due to inactivity. → More info |
Motivation for this change
Daemon necessary for detecting mouse buttons
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)