depot/pkgs/tools/graphics/rocket/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

32 lines
784 B
Nix

{ mkDerivation, lib, 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 lib; {
description = "Tool for synchronizing music and visuals in demoscene productions";
mainProgram = "editor";
homepage = "https://github.com/rocket/rocket";
license = licenses.zlib;
platforms = platforms.linux;
maintainers = [ maintainers.dezgeg ];
};
}