quakespasm: add desktop item
This commit is contained in:
parent
246ac3167d
commit
55c21071de
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, SDL, fetchurl, gzip, libvorbis, libmad }:
|
||||
{ lib, stdenv, SDL, fetchurl, gzip, libvorbis, libmad, copyDesktopItems, makeDesktopItem }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "quakespasm";
|
||||
|
@ -12,6 +12,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
sourceRoot = "${pname}-${version}/Quake";
|
||||
|
||||
nativeBuildInputs = [ copyDesktopItems ];
|
||||
buildInputs = [
|
||||
gzip SDL libvorbis libmad
|
||||
];
|
||||
|
@ -25,6 +26,15 @@ stdenv.mkDerivation rec {
|
|||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
desktopItems = [
|
||||
(makeDesktopItem {
|
||||
name = "quakespasm";
|
||||
exec = "quake";
|
||||
desktopName = "Quakespasm";
|
||||
categories = "Game;";
|
||||
})
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An engine for iD software's Quake";
|
||||
homepage = "http://quakespasm.sourceforge.net/";
|
||||
|
|
Loading…
Reference in a new issue