depot/third_party/nixpkgs/pkgs/development/python-modules/tvdb_api/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

31 lines
636 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, requests-cache
, pytest
}:
buildPythonPackage rec {
pname = "tvdb_api";
version = "2.0";
src = fetchPypi {
inherit pname version;
sha256 = "b1de28a5100121d91b1f6a8ec7e86f2c4bdf48fb22fab3c6fe21e7fb7346bf8f";
};
propagatedBuildInputs = [ requests-cache ];
checkInputs = [ pytest ];
# requires network access
doCheck = false;
meta = with stdenv.lib; {
description = "Simple to use TVDB (thetvdb.com) API in Python";
homepage = "https://github.com/dbr/tvdb_api";
license = licenses.unlicense;
maintainers = with maintainers; [ peterhoeg ];
};
}