Skip to content

Commit 5b727d6

Browse files
committed
python3Packages.pycmus: init at 0.1.1
1 parent b8e538e commit 5b727d6

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchPypi,
5+
pbr,
6+
setuptools,
7+
six,
8+
}:
9+
10+
buildPythonPackage rec {
11+
pname = "pycmus";
12+
version = "0.1.1";
13+
pyproject = true;
14+
15+
src = fetchPypi {
16+
inherit pname version;
17+
hash = "sha256-Wk9J/XjKZB13o8QmdByVWHcAdfNOicwLaH2Sh4qJcIw=";
18+
};
19+
20+
build-system = [
21+
pbr
22+
setuptools
23+
];
24+
25+
dependencies = [
26+
six
27+
];
28+
29+
# No tests available
30+
doCheck = false;
31+
32+
pythonImportsCheck = [
33+
"pycmus"
34+
];
35+
36+
meta = {
37+
description = "Python library for sending commands to the cmus music player";
38+
homepage = "https://github.com/mtreinish/pycmus";
39+
license = lib.licenses.gpl3Only;
40+
maintainers = [ lib.maintainers.jamiemagee ];
41+
};
42+
}

pkgs/top-level/python-packages.nix

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

1259812598
pycmarkgfm = callPackage ../development/python-modules/pycmarkgfm { };
1259912599

12600+
pycmus = callPackage ../development/python-modules/pycmus { };
12601+
1260012602
pycocotools = callPackage ../development/python-modules/pycocotools { };
1260112603

1260212604
pycodestyle = callPackage ../development/python-modules/pycodestyle { };

0 commit comments

Comments
 (0)