summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Alyn Miller <malyn@strangeGizmo.com>2015-04-20 19:37:57 -0700
committerMichael Alyn Miller <malyn@strangeGizmo.com>2015-04-23 19:56:51 -0700
commit48c8092f6dcb814b62bd9cb8e689576cec88ffaa (patch)
tree315b0ea477bf63cb580cb96ca54db6709e5c2d37
parentff6be09c2e2d7f2127f81296d812e325fd0b51fb (diff)
downloadnixpkgs-48c8092f6dcb814b62bd9cb8e689576cec88ffaa.tar
nixpkgs-48c8092f6dcb814b62bd9cb8e689576cec88ffaa.tar.gz
nixpkgs-48c8092f6dcb814b62bd9cb8e689576cec88ffaa.tar.bz2
nixpkgs-48c8092f6dcb814b62bd9cb8e689576cec88ffaa.tar.lz
nixpkgs-48c8092f6dcb814b62bd9cb8e689576cec88ffaa.tar.xz
nixpkgs-48c8092f6dcb814b62bd9cb8e689576cec88ffaa.tar.zst
nixpkgs-48c8092f6dcb814b62bd9cb8e689576cec88ffaa.zip
Add hal-flash package
-rw-r--r--pkgs/os-specific/linux/hal-flash/default.nix28
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 30 insertions, 0 deletions
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 00000000000..1ac67f19917
--- /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 45a0b8bb440..94a51f31c5d 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 { };