diff --git a/pkgs/development/python-modules/casttube/default.nix b/pkgs/development/python-modules/casttube/default.nix new file mode 100644 index 000000000000..60d9fe2aef1a --- /dev/null +++ b/pkgs/development/python-modules/casttube/default.nix @@ -0,0 +1,23 @@ +{ stdenv, buildPythonPackage, fetchPypi, requests }: + +buildPythonPackage rec { + pname = "casttube"; + version = "0.2.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "0g7mksfl341vfsxqvw8h15ci2qwd1rczg41n4fb2hw7y9rikqnzj"; + }; + + propagatedBuildInputs = [ requests ]; + + # no tests + doCheck = false; + + meta = with stdenv.lib; { + description = "Interact with the Youtube Chromecast api"; + homepage = http://github.com/ur1katz/casttube; + license = licenses.mit; + maintainers = with maintainers; [ fpletz ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 0fe295de9731..e9743481a2e4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5151,6 +5151,8 @@ in { pytado = callPackage ../development/python-modules/pytado { }; + casttube = callPackage ../development/python-modules/casttube { }; + }); in fix' (extends overrides packages)