1{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:
2
3mkDerivation {
4 pname = "rocket";
5 version = "2018-06-09";
6
7 src = fetchFromGitHub {
8 owner = "rocket";
9 repo = "rocket";
10 rev = "7bc1e9826cad5dbc63e56371c6aa1798b2a7b50b";
11 sha256 = "13bdg2dc6ypk17sz39spqdlb3wai2y085bdb36pls2as2nf22drp";
12 };
13
14 nativeBuildInputs = [ qmake ];
15 buildInputs = [ qtbase ];
16
17 dontConfigure = true;
18
19 installPhase = ''
20 mkdir -p $out/bin
21 cp -r editor/editor $out/bin/
22 '';
23
24 meta = with lib; {
25 description = "A tool for synchronizing music and visuals in demoscene productions";
26 homepage = "https://github.com/rocket/rocket";
27 license = licenses.zlib;
28 platforms = platforms.linux;
29 maintainers = [ maintainers.dezgeg ];
30 };
31}