diff options
author | OPNA2608 <christoph.neidahl@gmail.com> | 2022-04-05 23:47:27 +0200 |
---|---|---|
committer | OPNA2608 <christoph.neidahl@gmail.com> | 2022-04-05 23:47:27 +0200 |
commit | e67e81d8e383591c9375c26ddf2bcfaa2f74f74d (patch) | |
tree | c7c2b74139df887608464ca785bca92ac97f79d9 /pkgs/tools/audio/asap | |
parent | 651a8e878226b7d3cace0592cae93f004afa713b (diff) | |
download | nixlib-e67e81d8e383591c9375c26ddf2bcfaa2f74f74d.tar nixlib-e67e81d8e383591c9375c26ddf2bcfaa2f74f74d.tar.gz nixlib-e67e81d8e383591c9375c26ddf2bcfaa2f74f74d.tar.bz2 nixlib-e67e81d8e383591c9375c26ddf2bcfaa2f74f74d.tar.lz nixlib-e67e81d8e383591c9375c26ddf2bcfaa2f74f74d.tar.xz nixlib-e67e81d8e383591c9375c26ddf2bcfaa2f74f74d.tar.zst nixlib-e67e81d8e383591c9375c26ddf2bcfaa2f74f74d.zip |
asap: init at 5.2.0
Diffstat (limited to 'pkgs/tools/audio/asap')
-rw-r--r-- | pkgs/tools/audio/asap/default.nix | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/pkgs/tools/audio/asap/default.nix b/pkgs/tools/audio/asap/default.nix new file mode 100644 index 000000000000..5ce3a80bd737 --- /dev/null +++ b/pkgs/tools/audio/asap/default.nix @@ -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; + }; +} |