From ed42095b6bb364e5b6f8957129b8e137c030887f Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Mon, 24 Feb 2020 14:36:11 +0200 Subject: [PATCH] Add mopidy-mpd --- pkgs/default.nix | 2 ++ pkgs/mopidy-mpd/default.nix | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 pkgs/mopidy-mpd/default.nix diff --git a/pkgs/default.nix b/pkgs/default.nix index 7e3f1e9..4966177 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -32,6 +32,8 @@ self: super: reaper-samae = super.callPackage ./reaper {}; + mopidy-mpd-samae = super.callPackage ./mopidy-mpd {}; + scientifica-font = super.callPackage ./scientifica-font {}; curie-font = super.callPackage ./curie-font {}; victor-mono = super.callPackage ./victor-mono {}; diff --git a/pkgs/mopidy-mpd/default.nix b/pkgs/mopidy-mpd/default.nix new file mode 100644 index 0000000..cbf6d25 --- /dev/null +++ b/pkgs/mopidy-mpd/default.nix @@ -0,0 +1,23 @@ +{ stdenv, python3Packages, mopidy }: + +python3Packages.buildPythonApplication rec { + pname = "Mopidy-MPD"; + version = "3.0.0"; + + src = python3Packages.fetchPypi { + inherit pname version; + sha256 = "0prjli4352521igcsfcgmk97jmzgbfy4ik8hnli37wgvv252wiac"; + }; + + propagatedBuildInputs = [mopidy]; + + # no tests implemented + doCheck = false; + + meta = with stdenv.lib; { + homepage = https://github.com/mopidy/mopidy-mpd; + description = "Mopidy extension for controlling playback from MPD clients"; + license = licenses.asl20; + maintainers = [ maintainers.jpotier ]; + }; +}