summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pdunehd/default.nix
blob: 84cd735b913a156560ca78c89db905c128cb579d (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
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  requests,
}:

buildPythonPackage rec {
  pname = "pdunehd";
  version = "1.3.3";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "valentinalexeev";
    repo = "pdunehd";
    tag = version;
    sha256 = "sha256-8CL7ZQ+tV0CKdqWWiPDbo6Q5d1iIj/vNbYshdjUpYSw=";
  };

  propagatedBuildInputs = [ requests ];

  # no tests implemented
  doCheck = false;

  pythonImportsCheck = [ "pdunehd" ];

  meta = {
    description = "Python wrapper for Dune HD media player API";
    homepage = "https://github.com/valentinalexeev/pdunehd";
    changelog = "https://github.com/valentinalexeev/pdunehd/releases/tag/${version}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ dotlambda ];
  };
}