Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 72 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ lib, stdenv, fetchFromGitHub, alsa-lib, cmake, doxygen, libX11, libXcursor, libXext, libXft, libXinerama, libXrandr, pkg-config, zlib,}:
stdenv.mkDerivation (finalAttrs: { pname = "libopenshot-audio"; version = "0.4.0";
src = fetchFromGitHub { owner = "OpenShot"; repo = "libopenshot-audio"; rev = "v${finalAttrs.version}"; hash = "sha256-FTSITx6GoH1cGWeWNWtz1Ih+zozK8aA+u54Y4s0DylQ="; };
nativeBuildInputs = [ cmake doxygen pkg-config ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ alsa-lib ] ++ ( if stdenv.hostPlatform.isDarwin then [ zlib ] else [ libX11 libXcursor libXext libXft libXinerama libXrandr ] );
strictDeps = true;
doCheck = true;
meta = { homepage = "http://openshot.org/"; description = "High-quality sound editing library"; mainProgram = "openshot-audio-demo"; longDescription = '' OpenShot Audio Library (libopenshot-audio) is a program that allows the high-quality editing and playback of audio, and is based on the amazing JUCE library. ''; license = with lib.licenses; [ gpl3Plus ]; maintainers = with lib.maintainers; [ ]; platforms = lib.platforms.unix; };})