pythonPAckages.tvdb_api: refactor move to python-modules
This commit is contained in:
parent
173793c63f
commit
97b2d6790a
25
pkgs/development/python-modules/tvdb_api/default.nix
Normal file
25
pkgs/development/python-modules/tvdb_api/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
@ -4593,24 +4593,7 @@ in {
|
|||||||
|
|
||||||
word2vec = callPackage ../development/python-modules/word2vec { };
|
word2vec = callPackage ../development/python-modules/word2vec { };
|
||||||
|
|
||||||
tvdb_api = buildPythonPackage rec {
|
tvdb_api = callPackage ../development/python-modules/tvdb_api { };
|
||||||
name = "tvdb_api-${version}";
|
|
||||||
version = "1.10";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/t/tvdb_api/${name}.tar.gz";
|
|
||||||
sha256 = "0hq887yb3rwc0rcw32lh7xdkk9bbrqy274aspzqkd6f7dyhp73ih";
|
|
||||||
};
|
|
||||||
|
|
||||||
propagatedBuildInputs = with self; [ requests-cache ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Simple to use TVDB (thetvdb.com) API in Python.";
|
|
||||||
homepage = "https://github.com/dbr/tvdb_api";
|
|
||||||
license = licenses.unlicense;
|
|
||||||
maintainers = with maintainers; [ peterhoeg ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
tvnamer = buildPythonPackage rec {
|
tvnamer = buildPythonPackage rec {
|
||||||
name = "tvnamer-${version}";
|
name = "tvnamer-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user