diff options
author | Owen Shepherd <owen@owen.cafe> | 2021-02-20 03:16:46 +0000 |
---|---|---|
committer | Owen Shepherd <owen@owen.cafe> | 2021-02-20 14:40:54 +0000 |
commit | ed08ba414e2a324ae24b33fc379a6f4c10c412f7 (patch) | |
tree | 61da6b44325baa04b6cea7678c2037718c6acf63 /pkgs/misc/emulators | |
parent | b0d4b68b44b6730ef3e2bcc3d4575b66e2e38d95 (diff) |
cen64: init at unstable-2020-02-20
Diffstat (limited to 'pkgs/misc/emulators')
-rw-r--r-- | pkgs/misc/emulators/cen64/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/misc/emulators/cen64/default.nix b/pkgs/misc/emulators/cen64/default.nix new file mode 100644 index 000000000000..0153ed11cd2d --- /dev/null +++ b/pkgs/misc/emulators/cen64/default.nix @@ -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" ]; + }; +} |