summary refs log tree commit diff
path: root/pkgs/tools/graphics/rocket/default.nix
blob: 683a2c73f454a23191d17d4e5c474f2ae90f903d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{ mkDerivation, stdenv, fetchFromGitHub, qmake, qtbase }:

mkDerivation {
  pname = "rocket";
  version = "2018-06-09";

  src = fetchFromGitHub {
    owner = "rocket";
    repo = "rocket";
    rev = "7bc1e9826cad5dbc63e56371c6aa1798b2a7b50b";
    sha256 = "13bdg2dc6ypk17sz39spqdlb3wai2y085bdb36pls2as2nf22drp";
  };

  nativeBuildInputs = [ qmake ];
  buildInputs = [ qtbase ];

  dontConfigure = true;

  installPhase = ''
    mkdir -p $out/bin
    cp -r editor/editor $out/bin/
  '';

  meta = with stdenv.lib; {
    description = "A tool for synchronizing music and visuals in demoscene productions";
    homepage = "https://github.com/rocket/rocket";
    license = licenses.zlib;
    platforms = platforms.linux;
    maintainers = [ maintainers.dezgeg ];
  };
}