caprice32 : init at unstable-2018-02-10 (#35008)
This commit is contained in:
parent
9c0e9f6a30
commit
7bffe53aea
29
pkgs/misc/emulators/caprice32/default.nix
Normal file
29
pkgs/misc/emulators/caprice32/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ stdenv, fetchFromGitHub, libpng, pkgconfig, SDL, freetype, zlib, mesa }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
repo = "caprice32";
|
||||
version = "unstable-2018-02-10";
|
||||
rev = "53de69543300f81af85df32cbd21bb5c68cab61e";
|
||||
name = "${repo}-${version}";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev repo;
|
||||
owner = "ColinPitrat";
|
||||
sha256 = "12yv56blm49qmshpk4mgc802bs51wv2ra87hmcbf2wxma39c45fy";
|
||||
};
|
||||
|
||||
postPatch = "substituteInPlace cap32.cfg --replace /usr/local $out";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A complete emulation of CPC464, CPC664 and CPC6128";
|
||||
homepage = https://github.com/ColinPitrat/caprice32 ;
|
||||
license = licenses.gpl2;
|
||||
maintainers = [ maintainers.genesis ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ libpng SDL freetype zlib ];
|
||||
makeFlags = [ "GIT_HASH=${src.rev}" "DESTDIR=$(out)" "prefix=/"];
|
||||
}
|
|
@ -19609,6 +19609,8 @@ with pkgs;
|
|||
|
||||
cryptoverif = callPackage ../applications/science/logic/cryptoverif { };
|
||||
|
||||
caprice32 = callPackage ../misc/emulators/caprice32 { };
|
||||
|
||||
cubicle = callPackage ../applications/science/logic/cubicle { };
|
||||
|
||||
cvc3 = callPackage ../applications/science/logic/cvc3 {
|
||||
|
|
Loading…
Reference in a new issue