-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
mxw: init at 0.1.2 #381313
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
base: master
Are you sure you want to change the base?
mxw: init at 0.1.2 #381313
Conversation
|
||
src = fetchFromGitHub { | ||
owner = "dkbednarczyk"; | ||
repo = pname; |
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.
repo = pname; | |
repo = "mxw"; |
src = fetchFromGitHub { | ||
owner = "dkbednarczyk"; | ||
repo = pname; | ||
rev = "v${version}"; |
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.
rev = "v${version}"; | |
tag = "v${version}"; |
meta = with lib; { | ||
description = ""; | ||
homepage = "https://github.com/dkbednarczyk/mxw"; | ||
license = licenses.mit; | ||
maintainers = with maintainers; [imadnyc]; | ||
platforms = platforms.linux; | ||
}; |
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.
meta = with lib; { | |
description = ""; | |
homepage = "https://github.com/dkbednarczyk/mxw"; | |
license = licenses.mit; | |
maintainers = with maintainers; [imadnyc]; | |
platforms = platforms.linux; | |
}; | |
meta = { | |
description = "CLI for configuring Glorious wireless mice"; | |
homepage = "https://github.com/dkbednarczyk/mxw"; | |
license = lib.licenses.mit; | |
maintainers = with lib.maintainers; [imadnyc]; | |
platforms = lib.platforms.linux; | |
}; |
|
||
buildInputs = [cargo systemd]; | ||
|
||
cargoHash = "sha256-LBrWBrdY6c5U9SIQEPNC5tE3d3bffeuZndFPwxtEetA="; |
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.
cargoHash = "sha256-LBrWBrdY6c5U9SIQEPNC5tE3d3bffeuZndFPwxtEetA="; | |
useFetchCargoVendor = true; | |
cargoHash = "sha256-+7/pJfC9I+ZFhBi+X7/1EIzUVHaScvrElnuFPP+4rLM="; |
|
||
nativeBuildInputs = [pkg-config]; | ||
|
||
buildInputs = [cargo systemd]; |
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.
buildInputs = [cargo systemd]; | |
buildInputs = [ systemd ]; |
@@ -0,0 +1,36 @@ | |||
{ | |||
cargo, |
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.
cargo, |
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.
Please format with nixfmt-rfc-style
Added mxw, a neat CLI for managing Glorious mice. I just copied the flake I made a while ago to this -- totally forgot to before.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.