pythonPAckages.tvdb_api: refactor move to python-modules

This commit is contained in:
Chris Ostrouchov
2018-10-29 17:20:17 -04:00
parent 173793c63f
commit 97b2d6790a
2 changed files with 26 additions and 18 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, requests-cache
}:
buildPythonPackage rec {
pname = "tvdb_api";
version = "1.10";
src = fetchPypi {
inherit pname version;
sha256 = "0hq887yb3rwc0rcw32lh7xdkk9bbrqy274aspzqkd6f7dyhp73ih";
};
propagatedBuildInputs = [ requests-cache ];
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 ];
};
}