lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 23.11-beta 59 lines 1.2 kB view raw
1{ lib 2, mkDerivation 3, fetchFromGitHub 4, pkg-config 5, qtbase 6, qtsvg 7, qtcharts 8, wrapQtAppsHook 9, cmake 10, python3 11, stdenv 12}: 13 14mkDerivation rec { 15 pname = "ripes"; 16 version = "2.2.6"; 17 18 src = fetchFromGitHub { 19 owner = "mortbopet"; 20 repo = "Ripes"; 21 rev = "v${version}"; 22 fetchSubmodules = true; 23 sha256 = "sha256-fRkab0G2zjK1VYzH21yhL7Cr0rS4I8ir8gwH9ALy60A="; 24 }; 25 26 nativeBuildInputs = [ 27 cmake 28 pkg-config 29 python3 30 wrapQtAppsHook 31 ]; 32 33 buildInputs = [ 34 qtbase 35 qtsvg 36 qtcharts 37 ]; 38 39 installPhase = '' 40 runHook preInstall 41 '' + lib.optionalString stdenv.isDarwin '' 42 mkdir -p $out/Applications 43 cp -r Ripes.app $out/Applications/ 44 makeBinaryWrapper $out/Applications/Ripes.app/Contents/MacOS/Ripes $out/bin/Ripes 45 '' + lib.optionalString stdenv.isLinux '' 46 install -D Ripes $out/bin/Ripes 47 '' + '' 48 cp -r ${src}/appdir/usr/share $out/share 49 runHook postInstall 50 ''; 51 52 meta = with lib; { 53 description = "A graphical processor simulator and assembly editor for the RISC-V ISA"; 54 homepage = "https://github.com/mortbopet/Ripes"; 55 license = licenses.mit; 56 platforms = platforms.unix; 57 maintainers = with maintainers; [ rewine ]; 58 }; 59}