nixpkgs/pkgs/development/python-modules/tvdb-api/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

34 lines
729 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, requests-cache
, pytest
}:
buildPythonPackage rec {
pname = "tvdb-api";
version = "3.2.0-beta";
format = "setuptools";
src = fetchFromGitHub {
owner = "dbr";
repo = "tvdb_api";
rev = "ce0382181a9e08a5113bfee0fed2c78f8b1e613f";
hash = "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 ];
};
}