summary refs log tree commit diff
path: root/pkgs/development/python-modules/pdunehd/default.nix
blob: 63eca0dab8253dca0518e65b795f08c7dfdc91a9 (plain) (blame)
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
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, requests
}:

buildPythonPackage rec {
  pname = "pdunehd";
  version = "1.3.2";

  disabled = pythonOlder "3.6";

  src = fetchFromGitHub {
    owner = "valentinalexeev";
    repo = "pdunehd";
    rev = version;
    sha256 = "06p0k82nf89rsakr8d2hdb19dp1wqp9bsf54lwb0qma47iakljjh";
  };

  propagatedBuildInputs = [
    requests
  ];

  # no tests implemented
  doCheck = false;

  pythonImportsCheck = [ "pdunehd" ];

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