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

buildPythonPackage rec {
  pname = "pycketcasts";
  version = "1.0.1";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "nwithan8";
    repo = "pycketcasts";
    rev = version;
    hash = "sha256-O4j89fE7fYPthhCH8b2gGskkelEA4mU6GvSbKIl+4Mk=";
  };

  propagatedBuildInputs = [
    python-magic
    requests
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "pycketcasts" ];

  meta = {
    description = "Module to interact with PocketCast's unofficial API";
    homepage = "https://github.com/nwithan8/pycketcasts";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ fab ];
  };
}