From d6138238e3e9b1563db8cab7d9b10ac32c903f02 Mon Sep 17 00:00:00 2001 From: Simon Lackerbauer Date: Fri, 9 Jun 2017 09:21:17 +0200 Subject: [PATCH] add package for lbreakout2, a breakout clone from the popular lgames series --- lib/maintainers.nix | 1 + pkgs/games/lbreakout2/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 pkgs/games/lbreakout2/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index b9508d529a21..f83b887ba975 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -99,6 +99,7 @@ chris-martin = "Chris Martin "; chrisjefferson = "Christopher Jefferson "; christopherpoole = "Christopher Mark Poole "; + ciil = "Simon Lackerbauer "; ckampka = "Christian Kampka "; cko = "Christine Koppelt "; cleverca22 = "Michael Bishop "; diff --git a/pkgs/games/lbreakout2/default.nix b/pkgs/games/lbreakout2/default.nix new file mode 100644 index 000000000000..68af5bf5857c --- /dev/null +++ b/pkgs/games/lbreakout2/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, SDL, SDL_mixer, zlib, libpng, gcc }: + +stdenv.mkDerivation rec { + name = "lbreakout2-${version}"; + version = "2.6.5"; + buildInputs = [ SDL SDL_mixer zlib libpng gcc ]; + + src = fetchurl { + url = "http://downloads.sourceforge.net/lgames/${name}.tar.gz"; + sha256 = "0vwdlyvh7c4y80q5vp7fyfpzbqk9lq3w8pvavi139njkalbxc14i"; + }; + + meta = with stdenv.lib; { + description = "Breakout clone from the LGames series"; + homepage = http://lgames.sourceforge.net/LBreakout2/; + license = licenses.gpl; + maintainers = [ maintainers.ciil ]; + platforms = platforms.linux; + }; +} + diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 100f9f9c36fb..e2af723792f5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2644,6 +2644,8 @@ with pkgs; kytea = callPackage ../tools/text/kytea { }; + lbreakout2 = callPackage ../games/lbreakout2 { }; + leocad = callPackage ../applications/graphics/leocad { }; less = callPackage ../tools/misc/less { };