Merge pull request #113750 from 414owen/add-cen64

This commit is contained in:
Sandro 2021-02-20 16:19:09 +01:00 committed by GitHub
commit 0bc35239cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 37 additions and 0 deletions

View file

@ -82,6 +82,12 @@
githubId = 882455;
name = "Elliot Cameron";
};
_414owen = {
email = "owen@owen.cafe";
github = "414owen";
githubId = 1714287;
name = "Owen Shepherd";
};
_6AA4FD = {
email = "f6442954@gmail.com";
github = "6AA4FD";

View file

@ -0,0 +1,29 @@
{ lib, cmake, fetchFromGitHub, libGL, libiconv, libX11, openal, stdenv }:
stdenv.mkDerivation rec {
pname = "cen64";
version = "unstable-2020-02-20";
src = fetchFromGitHub {
owner = "n64dev";
repo = "cen64";
rev = "6f9f5784bf0a720522c4ecb0915e20229c126aed";
sha256 = "08q0a3b2ilb95zlz4cw681gwz45n2wrb2gp2z414cf0bhn90vz0s";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libGL libiconv openal libX11 ];
installPhase = ''
mkdir -p $out/bin
mv cen64 $out/bin
'';
meta = with lib; {
description = "A Cycle-Accurate Nintendo 64 Emulator";
license = licenses.bsd3;
homepage = "https://github.com/n64dev/cen64";
maintainers = [ maintainers._414owen ];
platforms = [ "x86_64-linux" ];
};
}

View file

@ -192,6 +192,8 @@ in
castxml = callPackage ../development/tools/castxml { };
cen64 = callPackage ../misc/emulators/cen64 { };
cereal = callPackage ../development/libraries/cereal { };
checkov = callPackage ../development/tools/analysis/checkov {};