depot/third_party/nixpkgs/pkgs/development/libraries/libvisual/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
758 B
Nix

{ stdenv, fetchurl, pkgconfig, glib }:
stdenv.mkDerivation rec {
name = "libvisual-0.4.0";
src = fetchurl {
url = "mirror://sourceforge/libvisual/${name}.tar.gz";
sha256 = "1my1ipd5k1ixag96kwgf07bgxkjlicy9w22jfxb2kq95f6wgsk8b";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib ];
hardeningDisable = [ "format" ];
configureFlags = stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
meta = {
description = "An abstraction library for audio visualisations";
homepage = "https://sourceforge.net/projects/libvisual/";
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.linux;
};
}