mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #219608 from apfelkuchen6/mpd-sima
mpd-sima: init at 0.18.2
This commit is contained in:
commit
3be1b471ed
@ -1096,6 +1096,12 @@
|
||||
githubId = 1078530;
|
||||
name = "Alexandre Peyroux";
|
||||
};
|
||||
apfelkuchen6 = {
|
||||
email = "apfelkuchen6@hrnz.li";
|
||||
github = "apfelkuchen6";
|
||||
githubId = 73002165;
|
||||
name = "apfelkuchen6";
|
||||
};
|
||||
applePrincess = {
|
||||
email = "appleprincess@appleprincess.io";
|
||||
github = "applePrincess";
|
||||
|
26
pkgs/development/python-modules/python-musicpd/default.nix
Normal file
26
pkgs/development/python-modules/python-musicpd/default.nix
Normal file
@ -0,0 +1,26 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-musicpd";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname;
|
||||
inherit version;
|
||||
sha256 = "sha256-5Br4rZO1c/pPmAZ/UecYjuVLttR8R+xeReKsc/xnaeI=";
|
||||
};
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
doCheck = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An MPD (Music Player Daemon) client library written in pure Python.";
|
||||
homepage = "https://gitlab.com/kaliko/python-musicpd";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with lib.maintainers; [ apfelkuchen6 ];
|
||||
};
|
||||
}
|
38
pkgs/tools/audio/mpd-sima/default.nix
Normal file
38
pkgs/tools/audio/mpd-sima/default.nix
Normal file
@ -0,0 +1,38 @@
|
||||
{ lib
|
||||
, buildPythonApplication
|
||||
, fetchFromGitLab
|
||||
, python-musicpd
|
||||
, requests}:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "mpd-sima";
|
||||
version = "0.18.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "kaliko";
|
||||
repo = "sima";
|
||||
rev = version;
|
||||
sha256 = "sha256-lMvM1EqS1govhv4B2hJzIg5DFQYgEr4yJJtgOQxnVlY=";
|
||||
};
|
||||
|
||||
format = "setuptools";
|
||||
|
||||
propagatedBuildInputs = [
|
||||
requests
|
||||
python-musicpd
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
preCheck = ''
|
||||
export HOME="$(mktemp -d)"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "An autoqueuing mpd client";
|
||||
homepage = "https://kaliko.me/mpd-sima/";
|
||||
license = licenses.gpl3Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with lib.maintainers; [ apfelkuchen6 ];
|
||||
};
|
||||
}
|
@ -5301,6 +5301,8 @@ with pkgs;
|
||||
|
||||
mpd-mpris = callPackage ../tools/audio/mpd-mpris { };
|
||||
|
||||
mpd-sima = python3Packages.callPackage ../tools/audio/mpd-sima { };
|
||||
|
||||
mpris-scrobbler = callPackage ../tools/audio/mpris-scrobbler { };
|
||||
|
||||
mq-cli = callPackage ../tools/system/mq-cli { };
|
||||
|
@ -9463,6 +9463,8 @@ self: super: with self; {
|
||||
|
||||
python-multipart = callPackage ../development/python-modules/python-multipart { };
|
||||
|
||||
python-musicpd = callPackage ../development/python-modules/python-musicpd { };
|
||||
|
||||
python-mystrom = callPackage ../development/python-modules/python-mystrom { };
|
||||
|
||||
python-nest = callPackage ../development/python-modules/python-nest { };
|
||||
|
Loading…
Reference in New Issue
Block a user