Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters