1 { lib, stdenv, fetchurl, love, makeWrapper, makeDesktopItem, copyDesktopItems }:
3 stdenv.mkDerivation rec {
8 url = "https://github.com/SimonLarsen/${pname}/releases/download/v${version}/${pname}-${version}.love";
9 sha256 = "sha256-1bFjhN7jL/PMYMJH1ete6uyHTYsTGgoP60sf/sJTLlU=";
13 url = "http://tangramgames.dk/img/thumb/sienna.png";
14 sha256 = "12q2rhk39dmb6ir50zafn8dylaad5gns8z3y21mfjabc5l5g02nn";
17 desktopItems = [ (makeDesktopItem {
21 comment = "Fast-paced one button platformer";
22 desktopName = "Sienna";
23 genericName = "sienna";
24 categories = [ "Game" ];
27 nativeBuildInputs = [ makeWrapper copyDesktopItems ];
34 mkdir -p $out/share/games/lovegames
36 cp -v $src $out/share/games/lovegames/${pname}.love
38 makeWrapper ${love}/bin/love $out/bin/${pname} --add-flags $out/share/games/lovegames/${pname}.love
43 description = "Fast-paced one button platformer";
44 homepage = "https://tangramgames.dk/games/sienna";
45 maintainers = with maintainers; [ leenaars ];
46 platforms = platforms.linux;
47 license = licenses.free;