My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/libraries/libvisual/default.nix

28 lines
772 B

{ 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;
};
}