Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

caprice32 : init at unstable-2018-02-10 (#35008)

authored by Bignaux Ronan and committed by Joachim F 7bffe53a 9c0e9f6a

+31
+29
pkgs/misc/emulators/caprice32/default.nix
··· 1 + { stdenv, fetchFromGitHub, libpng, pkgconfig, SDL, freetype, zlib, mesa }: 2 + 3 + stdenv.mkDerivation rec { 4 + 5 + repo = "caprice32"; 6 + version = "unstable-2018-02-10"; 7 + rev = "53de69543300f81af85df32cbd21bb5c68cab61e"; 8 + name = "${repo}-${version}"; 9 + 10 + src = fetchFromGitHub { 11 + inherit rev repo; 12 + owner = "ColinPitrat"; 13 + sha256 = "12yv56blm49qmshpk4mgc802bs51wv2ra87hmcbf2wxma39c45fy"; 14 + }; 15 + 16 + postPatch = "substituteInPlace cap32.cfg --replace /usr/local $out"; 17 + 18 + meta = with stdenv.lib; { 19 + description = "A complete emulation of CPC464, CPC664 and CPC6128"; 20 + homepage = https://github.com/ColinPitrat/caprice32 ; 21 + license = licenses.gpl2; 22 + maintainers = [ maintainers.genesis ]; 23 + platforms = platforms.linux; 24 + }; 25 + 26 + nativeBuildInputs = [ pkgconfig ]; 27 + buildInputs = [ libpng SDL freetype zlib ]; 28 + makeFlags = [ "GIT_HASH=${src.rev}" "DESTDIR=$(out)" "prefix=/"]; 29 + }
+2
pkgs/top-level/all-packages.nix
··· 19609 19609 19610 19610 cryptoverif = callPackage ../applications/science/logic/cryptoverif { }; 19611 19611 19612 + caprice32 = callPackage ../misc/emulators/caprice32 { }; 19613 + 19612 19614 cubicle = callPackage ../applications/science/logic/cubicle { }; 19613 19615 19614 19616 cvc3 = callPackage ../applications/science/logic/cvc3 {