mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 02:14:08 +00:00
06841a64aa
Unreleased version (there have not been any updates since April 2021) contains fixes to _to_bytes issue that caused tvdb_api to fail to build.
33 lines
706 B
Nix
33 lines
706 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, requests-cache
|
|
, pytest
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tvdb_api";
|
|
version = "3.2.0-beta";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dbr";
|
|
repo = "tvdb_api";
|
|
rev = "ce0382181a9e08a5113bfee0fed2c78f8b1e613f";
|
|
sha256 = "sha256-poUuwySr6+8U9PIHhqFaR7nXzh8kSaW7mZkuKTUJKj8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests-cache ];
|
|
|
|
nativeCheckInputs = [ pytest ];
|
|
|
|
# requires network access
|
|
doCheck = false;
|
|
|
|
meta = with 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 ];
|
|
};
|
|
}
|