diff options
Diffstat (limited to 'pkgs/applications/misc/xsw/default.nix')
-rw-r--r-- | pkgs/applications/misc/xsw/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/misc/xsw/default.nix b/pkgs/applications/misc/xsw/default.nix new file mode 100644 index 000000000000..57ea8fe19218 --- /dev/null +++ b/pkgs/applications/misc/xsw/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchFromGitHub, pkgconfig, autoconf, automake, SDL, SDL_image, SDL_ttf, SDL_gfx, flex, bison }: + +stdenv.mkDerivation rec { + name = "xsw-${version}"; + version = "0.1.2"; + + src = fetchFromGitHub { + owner = "andrenho"; + repo = "xsw"; + rev = version; + sha256 = "092vp61ngd2vscsvyisi7dv6qrk5m1i81gg19hyfl5qvjq5p0p8g"; + }; + + buildInputs = [ pkgconfig autoconf automake SDL SDL_image SDL_ttf SDL_gfx flex bison ]; + + patches = [ + ./parse.patch # Fixes compilation error by avoiding redundant definitions. + ]; + + meta = with stdenv.lib; { + inherit (src.meta) homepage; + description = "A slide show presentation tool"; + + platforms = platforms.unix; + license = licenses.gpl3; + maintainers = [ maintainers.vrthra ]; + }; +} |