From 48c8092f6dcb814b62bd9cb8e689576cec88ffaa Mon Sep 17 00:00:00 2001 From: Michael Alyn Miller Date: Mon, 20 Apr 2015 19:37:57 -0700 Subject: [PATCH] Add hal-flash package --- pkgs/os-specific/linux/hal-flash/default.nix | 28 ++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 30 insertions(+) create mode 100644 pkgs/os-specific/linux/hal-flash/default.nix diff --git a/pkgs/os-specific/linux/hal-flash/default.nix b/pkgs/os-specific/linux/hal-flash/default.nix new file mode 100644 index 000000000000..1ac67f199172 --- /dev/null +++ b/pkgs/os-specific/linux/hal-flash/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchurl, autoconf, automake, dbus, glib, libtool, pkgconfig, udisks2 }: + +stdenv.mkDerivation { + name = "hal-flash-0.3.0"; + + src = fetchurl { + url = "https://github.com/cshorler/hal-flash/archive/v0.3.0.tar.gz"; + sha256 = "163pqy39cca8cnf8rm8zr63ndsnr7rki9pf9j7dl9gyxmi7sx88s"; + }; + + buildInputs = [ autoconf automake dbus glib libtool pkgconfig udisks2 ]; + + preConfigure = "libtoolize && aclocal && autoconf && automake --add-missing"; + + meta = with stdenv.lib; { + homepage = https://github.com/cshorler/hal-flash; + description = "libhal stub library to satisfy the Flash Player DRM requirements."; + longDescription = + '' + Stub library based loosely upon libhal.[ch] from the hal-0.5.14 + package. Provides the minimum necessary functionality to enable + libflashplayer.so/libadobecp.so to play back DRM content. + ''; + license = "afl21 gpl2"; + maintainers = with maintainers; [ malyn ]; + platforms = platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 45a0b8bb440d..94a51f31c5dc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1636,6 +1636,8 @@ let hashcat = callPackage ../tools/security/hashcat { }; + hal-flash = callPackage ../os-specific/linux/hal-flash { }; + halibut = callPackage ../tools/typesetting/halibut { }; hddtemp = callPackage ../tools/misc/hddtemp { };