nixpkgs/pkgs/applications/audio/sc68/default.nix
Sergei Trofimovich 1aa48d7fd6 sc68: unstable-2020-05-18 -> unstable-2021-08-23
Contains a single change to fix build on -fno-common toolchains:

    $ nix-build -E 'with import ./. {}; sc68.override { stdenv = clang12Stdenv; }'
    ...
    ld: as68-opcode.o:/build/code-r693/as68/opcode.c:2418:
      multiple definition of `opcode_table';
        as68-as68.o:/build/code-r693/as68/as68.c:72: first defined here
2021-09-30 08:12:42 +01:00

40 lines
796 B
Nix

{ lib, stdenv
, fetchsvn
, pkg-config
, which
, autoconf
, automake
, libtool
, hexdump
, libao
, zlib
, curl
}:
stdenv.mkDerivation rec {
pname = "sc68";
version = "unstable-2021-08-23";
src = fetchsvn {
url = "svn://svn.code.sf.net/p/sc68/code/";
rev = "694";
sha256 = "1yycnr4ndzfhbmki41c30zskwyizpb9wb8sf0gxcprllmbq6a421";
};
preConfigure = "tools/svn-bootstrap.sh";
enableParallelBuilding = true;
nativeBuildInputs = [ pkg-config which autoconf automake libtool hexdump ];
buildInputs = [ libao zlib curl ];
meta = with lib; {
description = "Atari ST and Amiga music player";
homepage = "http://sc68.atari.org/project.html";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.all;
};
}