diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-08-13 14:18:36 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-08-13 14:18:36 +0200 |
commit | 7307f5c01154df0ab5448d20efb2cfa84fc3e267 (patch) | |
tree | 44d57b79c316937e25bc133601fa1f3fad8b4b05 /pkgs/tools/security/stoken | |
parent | e2e21ef3208fc1fae6139985304f4e46492ac99a (diff) |
stoken: fix evaluation (licence), refactor a little
I hope @fuuzetsu doesn't mind the refactoring. BTW, do you know about `autoreconfHook`? It might save the preConfigure and most buildInputs.
Diffstat (limited to 'pkgs/tools/security/stoken')
-rw-r--r-- | pkgs/tools/security/stoken/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/security/stoken/default.nix b/pkgs/tools/security/stoken/default.nix index 769c67991913a..17652e220da6e 100644 --- a/pkgs/tools/security/stoken/default.nix +++ b/pkgs/tools/security/stoken/default.nix @@ -23,13 +23,13 @@ stdenv.mkDerivation rec { buildInputs = [ autoconf automake libtool pkgconfig libxml2 nettle - ] ++ (if withGTK3 then [ gtk3 ] else []); + ] ++ stdenv.lib.optional withGTK3 gtk3; - meta = { + meta = with stdenv.lib; { description = "Software Token for Linux/UNIX"; homepage = https://github.com/cernekee/stoken; - license = stdenv.lib.license.lgpl21Plus; - maintainers = [ stdenv.lib.maintainers.fuuzetsu ]; - platforms = stdenv.lib.platforms.all; + license = licenses.lgpl21Plus; + maintainers = [ maintainers.fuuzetsu ]; + platforms = platforms.all; }; } |