keepalived add meta.mainProgram (#380296)
[NixPkgs.git] / pkgs / development / python-modules / tvdb-api / default.nix
blob31877a0e58d90ed6a69120500b33855922a1fc81
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   requests-cache,
6   pytest,
7 }:
9 buildPythonPackage rec {
10   pname = "tvdb-api";
11   version = "3.2.0-beta";
12   format = "setuptools";
14   src = fetchFromGitHub {
15     owner = "dbr";
16     repo = "tvdb_api";
17     rev = "ce0382181a9e08a5113bfee0fed2c78f8b1e613f";
18     hash = "sha256-poUuwySr6+8U9PIHhqFaR7nXzh8kSaW7mZkuKTUJKj8=";
19   };
21   propagatedBuildInputs = [ requests-cache ];
23   nativeCheckInputs = [ pytest ];
25   # requires network access
26   doCheck = false;
28   meta = with lib; {
29     description = "Simple to use TVDB (thetvdb.com) API in Python";
30     homepage = "https://github.com/dbr/tvdb_api";
31     license = licenses.unlicense;
32     maintainers = with maintainers; [ peterhoeg ];
33   };