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