python3Packages.mpris-api: init at 1.3.0
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
dbus-next,
|
||||
fetchFromBitbucket,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
tunit,
|
||||
unidecode,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "mpris-api";
|
||||
version = "1.3.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromBitbucket {
|
||||
owner = "massultidev";
|
||||
repo = "mpris-api";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-tr1McOBGTKUVLFToFmb6j8NUzl5bCH8XsNgzZT9Jv7s=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
dbus-next
|
||||
unidecode
|
||||
tunit
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "mpris_api" ];
|
||||
|
||||
meta = {
|
||||
description = "Module provides an implementation of MPRIS DBus interface";
|
||||
homepage = "https://bitbucket.org/massultidev/mpris-api/src/master/";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -10274,6 +10274,8 @@ self: super: with self; {
|
||||
|
||||
mpmath = callPackage ../development/python-modules/mpmath { };
|
||||
|
||||
mpris-api = callPackage ../development/python-modules/mpris-api { };
|
||||
|
||||
mprisify = callPackage ../development/python-modules/mprisify { };
|
||||
|
||||
mpv = callPackage ../development/python-modules/mpv { inherit (pkgs) mpv; };
|
||||
|
||||
Reference in New Issue
Block a user