1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 python-magic,
6 pythonOlder,
7 requests,
8}:
9
10buildPythonPackage rec {
11 pname = "pycketcasts";
12 version = "1.0.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchFromGitHub {
18 owner = "nwithan8";
19 repo = "pycketcasts";
20 rev = version;
21 hash = "sha256-O4j89fE7fYPthhCH8b2gGskkelEA4mU6GvSbKIl+4Mk=";
22 };
23
24 propagatedBuildInputs = [
25 python-magic
26 requests
27 ];
28
29 # Module has no tests
30 doCheck = false;
31
32 pythonImportsCheck = [ "pycketcasts" ];
33
34 meta = with lib; {
35 description = "Module to interact with PocketCast's unofficial API";
36 homepage = "https://github.com/nwithan8/pycketcasts";
37 license = licenses.gpl3Only;
38 maintainers = with maintainers; [ fab ];
39 };
40}