nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
fork

Configure Feed

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

at 22.05-pre 33 lines 716 B view raw
1{ lib, stdenv 2, fetchFromGitHub 3, cmake 4, sfml 5}: 6 7stdenv.mkDerivation rec { 8 pname = "simplenes"; 9 version = "unstable-2019-03-13"; 10 11 src = fetchFromGitHub { 12 owner = "amhndu"; 13 repo = "SimpleNES"; 14 rev = "4edb7117970c21a33b3bfe11a6606764fffc5173"; 15 sha256 = "1nmwj431iwqzzcykxd4xinqmg0rm14mx7zsjyhcc5skz7pihz86g"; 16 }; 17 18 nativeBuildInputs = [ cmake ]; 19 buildInputs = [ sfml ]; 20 21 installPhase = '' 22 mkdir -p $out/bin 23 cp ./SimpleNES $out/bin 24 ''; 25 26 meta = with lib; { 27 homepage = "https://github.com/amhndu/SimpleNES"; 28 description = "An NES emulator written in C++"; 29 license = licenses.gpl3; 30 maintainers = with maintainers; [ ivar ]; 31 platforms = platforms.linux; 32 }; 33}