summary refs log tree commit diff
path: root/pkgs/tools/inputmethods
diff options
context:
space:
mode:
authorJustin Lovinger <git@justinlovinger.com>2020-07-10 14:14:23 -0400
committerJustin Lovinger <git@justinlovinger.com>2020-07-10 14:14:23 -0400
commit97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc (patch)
tree7780496ec3a0c7c1bd59784687d7f1c16afd8b40 /pkgs/tools/inputmethods
parent01f0aef50194039ec41ca9996559805c64a6138c (diff)
downloadnixpkgs-97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc.tar
nixpkgs-97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc.tar.gz
nixpkgs-97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc.tar.bz2
nixpkgs-97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc.tar.lz
nixpkgs-97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc.tar.xz
nixpkgs-97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc.tar.zst
nixpkgs-97a2dbdce5d7293e8c50e2b74435dd8f08d2d5fc.zip
caps2esc: 0.1.0 -> 0.1.3
Diffstat (limited to 'pkgs/tools/inputmethods')
-rw-r--r--pkgs/tools/inputmethods/interception-tools/caps2esc.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/tools/inputmethods/interception-tools/caps2esc.nix b/pkgs/tools/inputmethods/interception-tools/caps2esc.nix
index 994e9da3e43..7e6206eb1f3 100644
--- a/pkgs/tools/inputmethods/interception-tools/caps2esc.nix
+++ b/pkgs/tools/inputmethods/interception-tools/caps2esc.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchurl, cmake }:
+{ stdenv, fetchFromGitLab, cmake }:
 
-let
-  version = "0.1.0";
-  pname = "interception-tools-caps2esc";
-in stdenv.mkDerivation {
-  name = "${pname}-${version}";
+stdenv.mkDerivation rec {
+  pname = "caps2esc";
+  version = "0.1.3";
 
-  src = fetchurl {
-    url = "https://gitlab.com/interception/linux/plugins/caps2esc/repository/v${version}/archive.tar.gz";
-    sha256 = "1fdxqp54gwsrm2c63168l256nfwdk4mvgr7nlwdv62wd3l7zzrg8";
+  src = fetchFromGitLab {
+    owner = "interception/linux/plugins";
+    repo = pname;
+    rev = "v${version}";
+    sha256 = "10xv56vh5h3lxyii3ni166ddv1sz2pylrjmdwxhb4gd2p5zgl1ji";
   };
 
-  buildInputs = [ cmake ];
+  nativeBuildInputs = [ cmake ];
 
   meta = with stdenv.lib; {
     homepage = "https://gitlab.com/interception/linux/plugins/caps2esc";