Skip to content
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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2f410841b89b
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ed5bee941570
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Mar 16, 2019

  1. wmfocus: 1.0.2 -> 1.1.2

    dywedir committed Mar 16, 2019
    Copy the full SHA
    bca34cf View commit details

Commits on Mar 19, 2019

  1. Merge pull request #57772 from dywedir/wmfocus

    wmfocus: 1.0.2 -> 1.1.2
    pSub authored Mar 19, 2019
    Copy the full SHA
    ed5bee9 View commit details
Showing with 14 additions and 20 deletions.
  1. +14 −20 pkgs/applications/window-managers/i3/wmfocus.nix
34 changes: 14 additions & 20 deletions pkgs/applications/window-managers/i3/wmfocus.nix
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
{ stdenv, fetchFromGitHub, rustPlatform,
xorg, python3, pkgconfig, cairo, libxkbcommon }:
let
pname = "wmfocus";
version = "1.0.2";
in
rustPlatform.buildRustPackage {
inherit pname version;
name = "${pname}-${version}";

nativeBuildInputs = [ python3 pkgconfig ];
buildInputs = [ cairo libxkbcommon xorg.xcbutilkeysyms ];

# For now, this is the only available featureset. This is also why the file is
# in the i3 folder, even though it might be useful for more than just i3
# users.
cargoBuildFlags = ["--features i3"];
rustPlatform.buildRustPackage rec {
pname = "wmfocus";
version = "1.1.2";

src = fetchFromGitHub {
owner = "svenstaro";
repo = pname;
rev = version;
sha256 = "14yxg2jiqx7gng677sbmvv0a0msb9wpvp3qh8h3nkq0vi17ds668";
sha256 = "0jx0h2zyghs3bp4sg8f3vk5rkyprz2dqfqs0v72vmkp3cvgzxbvs";
};

cargoSha256 = "0lwzw8gf970ybblaxxkwn3pxrncxp0hhvykffbzirs7fic4fnvsg";
cargoSha256 = "01ifrk6whvckys1kbj65cdwh976yn7dy9vpf4jybnlqripknab43";

nativeBuildInputs = [ python3 pkgconfig ];
buildInputs = [ cairo libxkbcommon xorg.xcbutilkeysyms ];

# For now, this is the only available featureset. This is also why the file is
# in the i3 folder, even though it might be useful for more than just i3
# users.
cargoBuildFlags = [ "--features i3" ];

meta = with stdenv.lib; {
description = ''
Tool that allows you to rapidly choose a specific window directly
without having to use the mouse or directional keyboard navigation.
'';
description = "Visually focus windows by label";
maintainers = with maintainers; [ synthetica ];
platforms = platforms.linux;
license = licenses.mit;