nitrokey-app: 1.3.2 -> 1.4.2

The optional argument group was removed because it is no longer used
in the udev-rules that come with the libnitrokey.

+4 -14
+2 -7
pkgs/tools/security/nitrokey-app/default.nix
··· 3 3 4 4 stdenv.mkDerivation rec { 5 5 pname = "nitrokey-app"; 6 - version = "1.3.2"; 6 + version = "1.4.2"; 7 7 8 8 src = fetchFromGitHub { 9 9 owner = "Nitrokey"; 10 10 repo = "nitrokey-app"; 11 11 rev = "v${version}"; 12 - sha256 = "193kzlz3qn9il56h78faiqkgv749hdils1nn1iw6g3wphgx5fjs2"; 12 + sha256 = "1k0w921hfrya4q2r7bqn7kgmwvwb7c15k9ymlbnksmfc9yyjyfcv"; 13 13 fetchSubmodules = true; 14 14 }; 15 - 16 - postPatch = '' 17 - substituteInPlace libnitrokey/CMakeLists.txt \ 18 - --replace '/data/41-nitrokey.rules' '/libnitrokey/data/41-nitrokey.rules' 19 - ''; 20 15 21 16 buildInputs = [ 22 17 bash-completion
+2 -7
pkgs/tools/security/nitrokey-app/udev-rules.nix
··· 1 - { lib, stdenv, nitrokey-app 2 - , group ? "nitrokey" 3 - }: 1 + { lib, stdenv, nitrokey-app }: 2 + 4 3 5 4 stdenv.mkDerivation { 6 5 name = "nitrokey-udev-rules-${lib.getVersion nitrokey-app}"; ··· 8 7 inherit (nitrokey-app) src; 9 8 10 9 dontBuild = true; 11 - 12 - patchPhase = '' 13 - substituteInPlace libnitrokey/data/41-nitrokey.rules --replace plugdev "${group}" 14 - ''; 15 10 16 11 installPhase = '' 17 12 mkdir -p $out/etc/udev/rules.d