summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycmus/default.nix
blob: 66fbba7eafa3cb3e30590cbf2d863f2e8096b478 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pbr,
  setuptools,
  six,
}:

buildPythonPackage rec {
  pname = "pycmus";
  version = "0.1.1";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Wk9J/XjKZB13o8QmdByVWHcAdfNOicwLaH2Sh4qJcIw=";
  };

  build-system = [
    pbr
    setuptools
  ];

  dependencies = [
    six
  ];

  # No tests available
  doCheck = false;

  pythonImportsCheck = [
    "pycmus"
  ];

  meta = {
    description = "Python library for sending commands to the cmus music player";
    homepage = "https://github.com/mtreinish/pycmus";
    license = lib.licenses.gpl3Only;
    maintainers = [ lib.maintainers.jamiemagee ];
  };
}