Merge pull request #167430 from OPNA2608/init/asap

asap: init at 5.2.0
This commit is contained in:
Sandro 2022-06-11 19:02:42 +02:00 committed by GitHub
commit 170a7e765d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{ stdenv
, lib
, fetchzip
, SDL
}:
stdenv.mkDerivation rec {
pname = "asap";
version = "5.2.0";
src = fetchzip {
url = "mirror://sourceforge/project/asap/asap/${version}/asap-${version}.tar.gz";
sha256 = "1riwfds5ipgh19i3ibsyqhxlh70xix9452y4wqih9xdkixmxqbqm";
};
outputs = [ "out" "dev" ];
buildInputs = [
SDL
];
enableParallelBuilding = true;
buildFlags = [
"CC=${stdenv.cc.targetPrefix}cc"
# Only targets that don't need cito transpiler
"asapconv"
"asap-sdl"
"lib"
];
installFlags = [
"prefix=${placeholder "dev"}"
"bindir=${placeholder "out"}/bin"
"install-asapconv"
"install-sdl"
"install-lib"
];
meta = with lib; {
homepage = "http://asap.sourceforge.net/";
mainProgram = "asap-sdl";
description = "Another Slight Atari Player";
longDescription = ''
ASAP (Another Slight Atari Player) plays and converts 8-bit Atari POKEY
music (*.sap, *.cmc, *.mpt, *.rmt, *.tmc, ...) on modern computers and
mobile devices.
'';
maintainers = with maintainers; [ OPNA2608 ];
license = licenses.gpl2Plus;
platforms = platforms.all;
};
}

View File

@ -25308,6 +25308,8 @@ with pkgs;
inherit (atomPackages) atom atom-beta;
asap = callPackage ../tools/audio/asap { };
aseprite = callPackage ../applications/editors/aseprite { };
aseprite-unfree = aseprite.override { unfree = true; };