eb019b5a6b
and drop package maintainership for removed maintainers. PlayerNameHere is now known on github as dixslyf. Editing maintainer-list.nix… Borlaag likely deleted their github account bhootjb is now known on github as jyssh. Editing maintainer-list.nix… IvanMalison is now known on github as colonelpanic8. Editing maintainer-list.nix… jonnybolton is now known on github as jonnynightingale. Editing maintainer-list.nix… ee2500 likely deleted their github account lethalman is now known on github as lucabrunox. Editing maintainer-list.nix… theHedgehog0 is now known on github as pyrox0. Editing maintainer-list.nix… maddiethecafebabe likely deleted their github account nebulka1 likely deleted their github account christianharke is now known on github as rake5k. Editing maintainer-list.nix… razvan-flavius-panda is now known on github as freeman42x. Editing maintainer-list.nix… joscha has no github handle RichterOliver is now known on github as ORichterSec. Editing maintainer-list.nix… DomesticMoth is now known on github as asciimoth. Editing maintainer-list.nix… pjbarnoy is now known on github as waaamb. Editing maintainer-list.nix…
29 lines
858 B
Nix
29 lines
858 B
Nix
{ lib, stdenv, fetchFromGitHub, SDL_compat, libX11, libXext }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "rvvm";
|
|
version = "0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LekKit";
|
|
repo = "RVVM";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-1wAKijRYB0FGBe4cSHUynkO4ePVG4QvVIgSoWzNbqtE=";
|
|
};
|
|
|
|
buildInputs = if stdenv.isDarwin then [ SDL_compat ] else [ libX11 libXext ];
|
|
|
|
buildFlags = [ "all" "lib" ];
|
|
|
|
makeFlags = [ "PREFIX=$(out)" ]
|
|
# work around https://github.com/NixOS/nixpkgs/issues/19098
|
|
++ lib.optional (stdenv.cc.isClang && stdenv.isDarwin) "CFLAGS=-fno-lto";
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/LekKit/RVVM";
|
|
description = "The RISC-V Virtual Machine";
|
|
license = with licenses; [ gpl3 /* or */ mpl20 ];
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|