mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
e102dc716d
before squashing was: "disable pic hardening on i686, else tests will fail"
23 lines
627 B
Nix
23 lines
627 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "a52dec-0.7.4p4";
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/files/a52dec-0.7.4.tar.gz";
|
|
sha256 = "0czccp4fcpf2ykp16xcrzdfmnircz1ynhls334q374xknd5747d2";
|
|
};
|
|
|
|
# fails 1 out of 1 tests with "BAD GLOBAL SYMBOLS" on i686
|
|
# which can also be fixed with
|
|
# hardeningDisable = stdenv.lib.optional stdenv.isi686 "pic";
|
|
# but it's better to disable tests than loose ASLR on i686
|
|
doCheck = !stdenv.isi686;
|
|
|
|
meta = {
|
|
description = "ATSC A/52 stream decoder";
|
|
homepage = http://liba52.sourceforge.net/;
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|