mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
pythonPackages.tmdb3: move expression
This commit is contained in:
parent
c5d6e665c9
commit
9e29b4b269
18
pkgs/development/python-modules/tmdb3/default.nix
Normal file
18
pkgs/development/python-modules/tmdb3/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tmdb3";
|
||||
version = "0.6.17";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
extension = "zip";
|
||||
sha256 = "64a6c3f1a60a9d8bf18f96a5403f3735b334040345ac3646064931c209720972";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information";
|
||||
homepage = https://pypi.python.org/pypi/tmdb3;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -16915,21 +16915,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
tmdb3 = buildPythonPackage rec {
|
||||
name = "tmdb3-${version}";
|
||||
version = "0.6.17";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/t/tmdb3/${name}.zip";
|
||||
sha256 = "64a6c3f1a60a9d8bf18f96a5403f3735b334040345ac3646064931c209720972";
|
||||
};
|
||||
|
||||
meta = {
|
||||
description = "Python implementation of the v3 API for TheMovieDB.org, allowing access to movie and cast information";
|
||||
homepage = https://pypi.python.org/pypi/tmdb3;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
};
|
||||
tmdb3 = callPackage ../development/python-modules/tmdb3 { };
|
||||
|
||||
toolz = callPackage ../development/python-modules/toolz { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue