summary refs log tree commit diff
path: root/pkgs/tools/X11/xkb-switch
diff options
context:
space:
mode:
authorKirill Elagin <kirelagin@gmail.com>2015-01-04 02:48:05 +0300
committerKirill Elagin <kirelagin@gmail.com>2015-01-04 02:48:05 +0300
commit75e211b102a086aca495f0448d3ffc272dfa7274 (patch)
treea238d365e6a6adce45c81bfe973990d875ce6a26 /pkgs/tools/X11/xkb-switch
parent6b8b0fd544ee7b72da7c89151f5e5cff826ebc8a (diff)
downloadnixpkgs-75e211b102a086aca495f0448d3ffc272dfa7274.tar
nixpkgs-75e211b102a086aca495f0448d3ffc272dfa7274.tar.gz
nixpkgs-75e211b102a086aca495f0448d3ffc272dfa7274.tar.bz2
nixpkgs-75e211b102a086aca495f0448d3ffc272dfa7274.tar.lz
nixpkgs-75e211b102a086aca495f0448d3ffc272dfa7274.tar.xz
nixpkgs-75e211b102a086aca495f0448d3ffc272dfa7274.tar.zst
nixpkgs-75e211b102a086aca495f0448d3ffc272dfa7274.zip
xkb-switch: Update
Diffstat (limited to 'pkgs/tools/X11/xkb-switch')
-rw-r--r--pkgs/tools/X11/xkb-switch/default.nix20
1 files changed, 11 insertions, 9 deletions
diff --git a/pkgs/tools/X11/xkb-switch/default.nix b/pkgs/tools/X11/xkb-switch/default.nix
index 0fc49038efe..4afa56f7fe2 100644
--- a/pkgs/tools/X11/xkb-switch/default.nix
+++ b/pkgs/tools/X11/xkb-switch/default.nix
@@ -1,22 +1,24 @@
 { stdenv, fetchgit, cmake, libX11 }:
 
 stdenv.mkDerivation rec {
-  name = "xkb-switch-1.2";
+  name = "xkb-switch-${version}";
+  version = "1.3.1";
 
   src = fetchgit {
     url = https://github.com/ierton/xkb-switch.git;
-    rev = "4c90511ecf2cacc040c97f034a13254c3fa9dfef";
-    sha256 = "1jxya67v1qnvbzd0cd5gj7xrwvxyfy1rpa70l8p30p9cmw3ahk41";
+    rev = "351c84370ad0fa4aaaab9a32817859b1d5fb2a11";
+    sha256 = "0ilj3amwidi7imjvi8hr62y7j8zl809r5xhs7kv816773x32gpxq";
   };
 
   buildInputs = [ cmake libX11 ];
 
-  meta = {
-    description = "Switch X layouts from the command line";
-    homepage = https://github.com/ierton/xkb-switch.git;
-    maintainers = with stdenv.lib.maintainers; [smironov];
-    platforms = stdenv.lib.platforms.gnu;
-    license = "BSD";
+  meta = with stdenv.lib; {
+    description = "Switch your X keyboard layouts from the command line";
+
+    homepage = https://github.com/ierton/xkb-switch;
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ smironov ];
+    platforms = platforms.linux;
   };
 }