summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pylibrespot-java/default.nix
blob: 80c955d3f7dace43041e609de9b9c43ac00333d7 (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  aiohttp,
  setuptools,
}:

buildPythonPackage rec {
  pname = "pylibrespot-java";
  version = "0.1.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "uvjustin";
    repo = "pylibrespot-java";
    tag = "v${version}";
    hash = "sha256-aPmyYsO8yBrlPEQXOGNjZvuO8QZr13SOH09gqjW4WPA=";
  };

  build-system = [ setuptools ];

  dependencies = [ aiohttp ];

  pythonImportsCheck = [
    "pylibrespot_java"
  ];

  meta = {
    description = "Simple library to interface with a librespot-java server";
    homepage = "https://github.com/uvjustin/pylibrespot-java";
    changelog = "https://github.com/uvjustin/pylibrespot-java/releases/tag/v${version}";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [
      hensoko
    ];
  };
}