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