1 { lib, stdenv, fetchurl, love, makeWrapper, makeDesktopItem, copyDesktopItems }:
4 pname = "90secondportraits";
7 url = "http://tangramgames.dk/img/thumb/90secondportraits.png";
8 sha256 = "13k6cq8s7jw77j81xfa5ri41445m778q6iqbfplhwdpja03c6faw";
13 name = "90secondportraits";
16 comment = "A silly speed painting game";
17 desktopName = "90 Second Portraits";
18 genericName = "90secondportraits";
19 categories = [ "Game" ];
23 in stdenv.mkDerivation rec {
24 inherit pname desktopItems;
28 url = "https://github.com/SimonLarsen/90-Second-Portraits/releases/download/${version}/${pname}-${version}.love";
29 sha256 = "0jj3k953r6vb02212gqcgqpb4ima87gnqgls43jmylxq2mcm33h5";
32 nativeBuildInputs = [ makeWrapper copyDesktopItems ];
38 install -Dm444 $src $out/share/games/lovegames/${pname}.love
39 makeWrapper ${love}/bin/love $out/bin/${pname} \
40 --add-flags $out/share/games/lovegames/${pname}.love
45 description = "Silly speed painting game";
46 mainProgram = "90secondportraits";
47 maintainers = with maintainers; [ leenaars ];
48 platforms = platforms.linux;
49 license = with licenses; [ zlib cc-by-sa-40 cc-by-sa-30 /* vendored */ x11 mit ];
50 downloadPage = "http://tangramgames.dk/games/90secondportraits";