Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 795 B view raw
1{ 2 mkDerivation, 3 lib, 4 fetchFromGitHub, 5 qmake, 6 qtbase, 7}: 8 9mkDerivation { 10 pname = "rocket"; 11 version = "2018-06-09"; 12 13 src = fetchFromGitHub { 14 owner = "rocket"; 15 repo = "rocket"; 16 rev = "7bc1e9826cad5dbc63e56371c6aa1798b2a7b50b"; 17 sha256 = "13bdg2dc6ypk17sz39spqdlb3wai2y085bdb36pls2as2nf22drp"; 18 }; 19 20 nativeBuildInputs = [ qmake ]; 21 buildInputs = [ qtbase ]; 22 23 dontConfigure = true; 24 25 installPhase = '' 26 mkdir -p $out/bin 27 cp -r editor/editor $out/bin/ 28 ''; 29 30 meta = with lib; { 31 description = "Tool for synchronizing music and visuals in demoscene productions"; 32 mainProgram = "editor"; 33 homepage = "https://github.com/rocket/rocket"; 34 license = licenses.zlib; 35 platforms = platforms.linux; 36 maintainers = [ maintainers.dezgeg ]; 37 }; 38}