Skip to content

Commit f5bf808

Browse files
authored
python3Packages.python-clementine-remote: init at 1.0.3 (#436247)
2 parents 9485c96 + d0c2c91 commit f5bf808

File tree

3 files changed

+45
-1
lines changed

3 files changed

+45
-1
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
setuptools,
6+
protobuf,
7+
}:
8+
9+
buildPythonPackage rec {
10+
pname = "python-clementine-remote";
11+
version = "1.0.3";
12+
pyproject = true;
13+
14+
src = fetchFromGitHub {
15+
owner = "jjmontesl";
16+
repo = "python-clementine-remote";
17+
tag = version;
18+
hash = "sha256-tPaxRBvt+tW4yV5Ap3YxMQxK3o7BJF3nP/wzBJeDgic=";
19+
};
20+
21+
build-system = [ setuptools ];
22+
23+
dependencies = [ protobuf ];
24+
25+
# Project has no tests
26+
doCheck = false;
27+
28+
env = {
29+
# https://github.com/jjmontesl/python-clementine-remote/pull/7
30+
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION = "python";
31+
};
32+
33+
pythonImportsCheck = [ "clementineremote" ];
34+
35+
meta = {
36+
description = "Python library and CLI for the Clementine Music Player remote protocol";
37+
homepage = "https://github.com/jjmontesl/python-clementine-remote";
38+
license = lib.licenses.asl20;
39+
maintainers = [ lib.maintainers.jamiemagee ];
40+
};
41+
}

pkgs/servers/home-assistant/component-packages.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,8 @@
900900
];
901901
"clementine" =
902902
ps: with ps; [
903-
]; # missing inputs: python-clementine-remote
903+
python-clementine-remote
904+
];
904905
"clickatell" =
905906
ps: with ps; [
906907
];

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14603,6 +14603,8 @@ self: super: with self; {
1460314603

1460414604
python-cinderclient = callPackage ../development/python-modules/python-cinderclient { };
1460514605

14606+
python-clementine-remote = callPackage ../development/python-modules/python-clementine-remote { };
14607+
1460614608
python-codon-tables = callPackage ../development/python-modules/python-codon-tables { };
1460714609

1460814610
python-coinmarketcap = callPackage ../development/python-modules/python-coinmarketcap { };

0 commit comments

Comments
 (0)