3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/tvdb_api/default.nix
2019-03-05 13:34:37 +01:00

32 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 ];
};
}