depot/third_party/nixpkgs/pkgs/development/libraries/libvisual/default.nix
Default email 5b567aa208 Project import generated by Copybara.
GitOrigin-RevId: 16105403bdd843540cbef9c63fc0f16c1c6eaa70
2021-07-21 09:28:18 +02:00

28 lines
772 B
Nix

{ lib, stdenv, fetchurl, pkg-config, glib }:
stdenv.mkDerivation rec {
pname = "libvisual";
version = "0.4.0";
src = fetchurl {
url = "mirror://sourceforge/libvisual/${pname}-${version}.tar.gz";
sha256 = "1my1ipd5k1ixag96kwgf07bgxkjlicy9w22jfxb2kq95f6wgsk8b";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ glib ];
hardeningDisable = [ "format" ];
configureFlags = 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 = lib.licenses.lgpl21Plus;
platforms = lib.platforms.linux;
};
}