git.iko.soy/typeable/nixpkgs
on master help sign in
deadbeefPlugins.opus: init at 0.8
commit2cb88c524b9f9f6092f8ff26ef5c4ca41d7abe6d authorJan Tojnar <jtojnar@gmail.com> dateSat 24 Feb 2018, 00:11 (9 years ago) parent114a8f1
3 files changed+36−1
pkgs/applications/audio/deadbeef/plugins/opus.nix+31 pkgs/top-level/aliases.nix+1 pkgs/top-level/all-packages.nix+4−1
pkgs/applications/audio/deadbeef/plugins/opus.nixnew file+31
@@ -0,0 +1,31 @@
1+{ stdenv, fetchFromBitbucket, opusfile, libopus, libogg, openssl, deadbeef }:
2+
3+stdenv.mkDerivation rec {
4+ name = "deadbeef-opus-plugin-${version}";
5+ version = "0.8";
6+
7+ src = fetchFromBitbucket {
8+ owner = "Lithopsian";
9+ repo = "deadbeef-opus";
10+ rev = "v${version}";
11+ sha256 = "057rgsw4563gs63k05s7zsdc0n4djxwlbyqabf7c88f23z35ryyi";
12+ };
13+
14+ makeFlags = [
15+ "PREFIX=$(out)"
16+ ];
17+
18+ NIX_CFLAGS_COMPILE = [
19+ "-I${opusfile}/include/opus"
20+ ];
21+
22+ buildInputs = [ deadbeef opusfile libopus libogg openssl ];
23+
24+ meta = with stdenv.lib; {
25+ description = "Ogg Opus decoder plugin for the DeaDBeeF music player";
26+ homepage = https://bitbucket.org/Lithopsian/deadbeef-opus;
27+ license = licenses.gpl2; # There are three files, each licensed under different license: zlib, gpl2Plus and lgpl2
28+ maintainers = [ maintainers.jtojnar ];
29+ platforms = platforms.linux;
30+ };
31+}
pkgs/top-level/aliases.nix+1
@@ -49,6 +49,7 @@ mapAliases (rec {
4949 cupsBjnp = cups-bjnp; # added 2016-01-02
5050 cups_filters = cups-filters; # added 2016-08
5151 cv = progress; # added 2015-09-06
52+ deadbeef-mpris2-plugin = deadbeefPlugins.mpris2; # added 2018-02-23
5253 debian_devscripts = debian-devscripts; # added 2016-03-23
5354 digikam5 = digikam; # added 2017-02-18
5455 double_conversion = double-conversion; # 2017-11-22
pkgs/top-level/all-packages.nix+4−1
@@ -14872,7 +14872,10 @@ with pkgs;
1487214872 pulseSupport = config.pulseaudio or true;
1487314873 };
1487414874
14875− deadbeef-mpris2-plugin = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
14875+ deadbeefPlugins = {
14876+ mpris2 = callPackage ../applications/audio/deadbeef/plugins/mpris2.nix { };
14877+ opus = callPackage ../applications/audio/deadbeef/plugins/opus.nix { };
14878+ };
1487614879
1487714880 deadbeef-with-plugins = callPackage ../applications/audio/deadbeef/wrapper.nix {
1487814881 plugins = [];