nixpkgs/pkgs/development/libraries/libvisual/default.nix

28 lines
744 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, pkg-config, glib }:
2013-08-11 04:15:07 +01:00
stdenv.mkDerivation rec {
name = "libvisual-0.4.0";
src = fetchurl {
url = "mirror://sourceforge/libvisual/${name}.tar.gz";
sha256 = "1my1ipd5k1ixag96kwgf07bgxkjlicy9w22jfxb2kq95f6wgsk8b";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib ];
2013-08-11 04:15:07 +01:00
hardeningDisable = [ "format" ];
2015-12-23 01:59:47 +00:00
configureFlags = lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_func_malloc_0_nonnull=yes"
"ac_cv_func_realloc_0_nonnull=yes"
];
2013-08-11 04:15:07 +01:00
meta = {
description = "An abstraction library for audio visualisations";
homepage = "https://sourceforge.net/projects/libvisual/";
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
2013-08-11 04:15:07 +01:00
};
}