1 { lib, stdenv, fetchFromGitHub, mkDerivation, cmake }:
7 nativeBuildInputs = [ cmake ];
9 installPhase = lib.optionalString stdenv.hostPlatform.isDarwin ''
12 mkdir -p $out/Applications
13 mv fstl.app $out/Applications
18 src = fetchFromGitHub {
22 hash = "sha256-z2X78GW/IeiPCnwkeLBCLjILhfMe2sT3V9Gbw4TSf4c=";
26 description = "Fastest STL file viewer";
28 homepage = "https://github.com/fstl-app/fstl";
29 license = licenses.mit;
30 platforms = platforms.linux ++ platforms.darwin;
31 maintainers = with maintainers; [ tweber ];