Unverified Commit bfd50c95 authored by Henry-Hiles's avatar Henry-Hiles
Browse files

python3Packages.mprisify: init at 1.0.0

parent bc0aecba
Loading
Loading
Loading
Loading
+38 −0
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitLab,
  pydbus,
  pygobject3,
  setuptools,
  strenum,
}:
buildPythonPackage rec {
  pname = "mprisify";
  version = "1.0.0";
  pyproject = true;

  src = fetchFromGitLab {
    owner = "zehkira";
    repo = "mprisify";
    tag = "v${version}";
    hash = "sha256-05i3N61cqRgGaBjYOEhxeCSV2wDh9yMaXTvEZ/JGrZo=";
  };

  build-system = [ setuptools ];

  dependencies = [
    pydbus
    pygobject3
    strenum
  ];

  pythonImportsCheck = [ "mprisify" ];

  meta = {
    description = "Python MPRIS server library for Linux media player apps";
    homepage = "https://gitlab.com/zehkira/mprisify";
    license = lib.licenses.agpl3Only;
    maintainers = with lib.maintainers; [ quadradical ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -9786,6 +9786,8 @@ self: super: with self; {
  mpris-server = callPackage ../development/python-modules/mpris-server { };
  mprisify = callPackage ../development/python-modules/mprisify { };
  mpv = callPackage ../development/python-modules/mpv { inherit (pkgs) mpv; };
  mpyq = callPackage ../development/python-modules/mpyq { };