about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/deemix/default.nix
blob: ac0e0a9d469b10ea50336c7d2ac9794ea17c3b38 (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
37
38
39
40
41
42
43
44
45
46
47
{ lib
, buildPythonPackage
, fetchPypi
, spotipy
, click
, pycryptodomex
, mutagen
, requests
, deezer-py
, pythonOlder
}:

buildPythonPackage rec {
  pname = "deemix";
  version = "3.6.6";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-xEahzA1PIrGPfnnOcuXQLVQpSVOUFk6/0v9ViLgWCwk=";
  };

  propagatedBuildInputs = [
    spotipy
    click
    pycryptodomex
    mutagen
    requests
    deezer-py
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "deezer"
  ];

  meta = with lib; {
    description = "Deezer downloader built from the ashes of Deezloader Remix";
    homepage = "https://git.freezerapp.xyz/RemixDev/deemix-py";
    license = licenses.gpl3Plus;
    maintainers = with maintainers; [ natto1784 ];
  };
}