diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-02-24 00:11:03 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-02-24 18:43:23 +0100 |
commit | 2cb88c524b9f9f6092f8ff26ef5c4ca41d7abe6d (patch) | |
tree | de66641ea50938eeba6357ab9f0cd4fce0201027 /pkgs/applications/audio/deadbeef/plugins | |
parent | 114a8f159b6226d48e04b49c180b009d272de176 (diff) |
deadbeefPlugins.opus: init at 0.8
Diffstat (limited to 'pkgs/applications/audio/deadbeef/plugins')
-rw-r--r-- | pkgs/applications/audio/deadbeef/plugins/opus.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/audio/deadbeef/plugins/opus.nix b/pkgs/applications/audio/deadbeef/plugins/opus.nix new file mode 100644 index 0000000000000..55db00c15bf63 --- /dev/null +++ b/pkgs/applications/audio/deadbeef/plugins/opus.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromBitbucket, opusfile, libopus, libogg, openssl, deadbeef }: + +stdenv.mkDerivation rec { + name = "deadbeef-opus-plugin-${version}"; + version = "0.8"; + + src = fetchFromBitbucket { + owner = "Lithopsian"; + repo = "deadbeef-opus"; + rev = "v${version}"; + sha256 = "057rgsw4563gs63k05s7zsdc0n4djxwlbyqabf7c88f23z35ryyi"; + }; + + makeFlags = [ + "PREFIX=$(out)" + ]; + + NIX_CFLAGS_COMPILE = [ + "-I${opusfile}/include/opus" + ]; + + buildInputs = [ deadbeef opusfile libopus libogg openssl ]; + + meta = with stdenv.lib; { + description = "Ogg Opus decoder plugin for the DeaDBeeF music player"; + homepage = https://bitbucket.org/Lithopsian/deadbeef-opus; + license = licenses.gpl2; # There are three files, each licensed under different license: zlib, gpl2Plus and lgpl2 + maintainers = [ maintainers.jtojnar ]; + platforms = platforms.linux; + }; +} |