3
0
Fork 0
forked from mirrors/nixpkgs

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.
This commit is contained in:
Vladimír Čunát 2015-08-13 14:18:36 +02:00
parent e2e21ef320
commit 7307f5c011

View file

@ -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;
};
}