1{ stdenv, fetchurl, autoconf, automake, dbus, glib, libtool, pkgconfig, udisks2 }:
2
3stdenv.mkDerivation {
4 name = "hal-flash-0.3.0";
5
6 src = fetchurl {
7 url = "https://github.com/cshorler/hal-flash/archive/v0.3.0.tar.gz";
8 sha256 = "163pqy39cca8cnf8rm8zr63ndsnr7rki9pf9j7dl9gyxmi7sx88s";
9 };
10
11 buildInputs = [ autoconf automake dbus glib libtool pkgconfig udisks2 ];
12
13 preConfigure = "libtoolize && aclocal && autoconf && automake --add-missing";
14
15 meta = with stdenv.lib; {
16 homepage = https://github.com/cshorler/hal-flash;
17 description = "libhal stub library to satisfy the Flash Player DRM requirements";
18 longDescription =
19 ''
20 Stub library based loosely upon libhal.[ch] from the hal-0.5.14
21 package. Provides the minimum necessary functionality to enable
22 libflashplayer.so/libadobecp.so to play back DRM content.
23 '';
24 license = with licenses; [ afl21 gpl2 ];
25 maintainers = with maintainers; [ malyn ];
26 platforms = platforms.linux;
27 };
28}