567e8dfd8e
This commit was created by a combination of scripts and tools: - an ast-grep script to prefix things in meta with `lib.`, - a modified nixf-diagnose / nixf combination to remove unused `with lib;`, and - regular nixfmt. Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
39 lines
797 B
Nix
39 lines
797 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 = {
|
|
description = "Tool for synchronizing music and visuals in demoscene productions";
|
|
mainProgram = "editor";
|
|
homepage = "https://github.com/rocket/rocket";
|
|
license = lib.licenses.zlib;
|
|
platforms = lib.platforms.linux;
|
|
maintainers = [ lib.maintainers.dezgeg ];
|
|
};
|
|
}
|