lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #9132 from makefu/awesome-vicious-luaPackage

luaPackages: add vicious module

+26
+1
lib/maintainers.nix
··· 151 151 madjar = "Georges Dubus <georges.dubus@compiletoi.net>"; 152 152 magnetophon = "Bart Brouns <bart@magnetophon.nl>"; 153 153 mahe = "Matthias Herrmann <matthias.mh.herrmann@gmail.com>"; 154 + makefu = "Felix Richter <makefu@syntax-fehler.de>"; 154 155 malyn = "Michael Alyn Miller <malyn@strangeGizmo.com>"; 155 156 manveru = "Michael Fellinger <m.fellinger@gmail.com>"; 156 157 marcweber = "Marc Weber <marco-oweber@gmx.de>";
+25
pkgs/top-level/lua-packages.nix
··· 401 401 ''; 402 402 }; 403 403 404 + vicious = stdenv.mkDerivation rec { 405 + name = "vicious-${version}"; 406 + version = "2.1.3"; 407 + 408 + src = fetchzip { 409 + url = "http://git.sysphere.org/vicious/snapshot/vicious-${version}.tar.xz"; 410 + sha256 = "1c901siza5vpcbkgx99g1vkqiki5qgkzx2brnj4wrpbsbfzq0bcq"; 411 + }; 412 + 413 + meta = with stdenv.lib; { 414 + description = "vicious widgets for window managers"; 415 + homepage = http://git.sysphere.org/vicious/; 416 + license = licenses.gpl2; 417 + maintainers = with maintainers; [ makefu ]; 418 + platforms = platforms.linux; 419 + }; 420 + 421 + buildInputs = [ lua ]; 422 + installPhase = '' 423 + mkdir -p $out/lib/lua/${lua.luaversion}/ 424 + cp -r . $out/lib/lua/${lua.luaversion}/vicious/ 425 + printf "package.path = '$out/lib/lua/${lua.luaversion}/?/init.lua;' .. package.path\nreturn require((...) .. '.init')\n" > $out/lib/lua/${lua.luaversion}/vicious.lua 426 + ''; 427 + }; 428 + 404 429 }; in self