mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
mopidy-funkwhale: init at 1.0
This commit is contained in:
parent
c9ba1f03d5
commit
4ec3d42741
@ -45,6 +45,7 @@ let
|
|||||||
junction = callPackage ./junction.nix { };
|
junction = callPackage ./junction.nix { };
|
||||||
libcs50 = callPackage ./libcs50.nix { };
|
libcs50 = callPackage ./libcs50.nix { };
|
||||||
mopidy-beets = callPackage ./mopidy-beets.nix { };
|
mopidy-beets = callPackage ./mopidy-beets.nix { };
|
||||||
|
mopidy-funkwhale = callPackage ./mopidy-funkwhale.nix { };
|
||||||
mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { };
|
mopidy-internetarchive = callPackage ./mopidy-internetarchive.nix { };
|
||||||
pop-launcher = callPackage ./pop-launcher.nix { };
|
pop-launcher = callPackage ./pop-launcher.nix { };
|
||||||
pop-launcher-plugin-duckduckgo-bangs =
|
pop-launcher-plugin-duckduckgo-bangs =
|
||||||
|
38
pkgs/mopidy-funkwhale.nix
Normal file
38
pkgs/mopidy-funkwhale.nix
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
|
||||||
|
{ lib, fetchgit, python3, mopidy }:
|
||||||
|
|
||||||
|
python3.pkgs.buildPythonApplication rec {
|
||||||
|
pname = "mopidy-funkwhale";
|
||||||
|
version = "1.0";
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://dev.funkwhale.audio/funkwhale/mopidy.git";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-Sr6isp3Eh+XbTXh2zSiB0/UoAShQX6ZWgLQoRMvsung=";
|
||||||
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
sed -i 's/vext/pykka/' setup.cfg
|
||||||
|
'';
|
||||||
|
|
||||||
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
|
pykka
|
||||||
|
requests
|
||||||
|
requests_oauthlib
|
||||||
|
pygobject3
|
||||||
|
] ++ [ mopidy ];
|
||||||
|
|
||||||
|
checkInputs = with python3.pkgs; [
|
||||||
|
pytest
|
||||||
|
pytest-cov
|
||||||
|
pytest-mock
|
||||||
|
requests-mock
|
||||||
|
factory_boy
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Mopidy extension for streaming music from a Funkwhale server";
|
||||||
|
homepage = "https://funkwhale.audio";
|
||||||
|
license = licenses.gpl3Plus;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user