11 stdenv.mkDerivation rec {
15 src = fetchFromGitHub {
16 owner = "libsidplayfp";
17 repo = "exsid-driver";
19 sha256 = "1qbiri549fma8c72nmj3cpz3sn1vc256kfafnygkmkzg7wdmgi7r";
23 ++ lib.optional docSupport "doc";
25 nativeBuildInputs = [ autoreconfHook pkg-config ]
26 ++ lib.optional docSupport doxygen;
28 buildInputs = [ libftdi1 ];
30 enableParallelBuilding = true;
32 installTargets = [ "install" ]
33 ++ lib.optional docSupport "doc";
35 postInstall = lib.optionalString docSupport ''
36 mkdir -p $doc/share/libexsid/doc
37 cp -r docs/html $doc/share/libexsid/doc/
41 description = "Driver for exSID USB";
42 homepage = "http://hacks.slashdirt.org/hw/exsid/";
43 license = licenses.gpl2Plus;
44 maintainers = with maintainers; [ OPNA2608 ];
45 platforms = platforms.all;