mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
25 lines
677 B
Nix
25 lines
677 B
Nix
{ lib, fetchFromGitHub, pythonPackages, mopidy }:
|
|
|
|
pythonPackages.buildPythonApplication rec {
|
|
pname = "mopidy-subidy";
|
|
version = "1.0.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Prior99";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0c5ghhhrj5v3yp4zmll9ari6r5c6ha8c1izwqshvadn40b02q7xz";
|
|
};
|
|
|
|
propagatedBuildInputs = [ mopidy pythonPackages.py-sonic ];
|
|
|
|
nativeCheckInputs = with pythonPackages; [ pytestCheckHook ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://www.mopidy.com/";
|
|
description = "Mopidy extension for playing music from a Subsonic-compatible Music Server";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ wenngle ];
|
|
};
|
|
}
|