Loading pkgs/development/python-modules/mpegdash/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "mpegdash"; version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "sangwonl"; repo = "python-mpegdash"; rev = version; hash = "sha256-eKtJ+QzeoMog5X1r1ix9vrmGTi/9KzdJiu80vrTX14I="; }; nativeBuildInputs = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # requires network access "test_xml2mpd_from_url" ]; pythonImportsCheck = [ "mpegdash" ]; meta = { description = "MPEG-DASH MPD(Media Presentation Description) Parser"; homepage = "https://github.com/sangwonl/python-mpegdash"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ drawbu ]; }; } pkgs/development/python-modules/tidalapi/default.nix +21 −18 Original line number Diff line number Diff line { lib , stdenv , buildPythonPackage , fetchPypi , python-dateutil , poetry-core , requests { lib, buildPythonPackage, fetchPypi, python-dateutil, poetry-core, requests, isodate, ratelimit, typing-extensions, mpegdash, }: buildPythonPackage rec { pname = "tidalapi"; version = "0.7.6"; format = "pyproject"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-X6U34T1sM4P+JFpOfcI7CmULcGZ4SCXwP2fFHKi1cWE="; }; nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ requests python-dateutil mpegdash isodate ratelimit typing-extensions ]; doCheck = false; # tests require internet access pythonImportsCheck = [ "tidalapi" ]; pythonImportsCheck = [ "tidalapi" ]; meta = with lib; { meta = { changelog = "https://github.com/tamland/python-tidal/releases/tag/v${version}"; description = "Unofficial Python API for TIDAL music streaming service"; homepage = "https://github.com/tamland/python-tidal"; license = licenses.gpl3; maintainers = [ ]; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ drawbu ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7693,6 +7693,8 @@ self: super: with self; { mpd2 = callPackage ../development/python-modules/mpd2 { }; mpegdash = callPackage ../development/python-modules/mpegdash { }; mpi4py = callPackage ../development/python-modules/mpi4py { }; mpldatacursor = callPackage ../development/python-modules/mpldatacursor { }; Loading Loading
pkgs/development/python-modules/mpegdash/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchFromGitHub, pytestCheckHook, setuptools, }: buildPythonPackage rec { pname = "mpegdash"; version = "0.4.0"; pyproject = true; src = fetchFromGitHub { owner = "sangwonl"; repo = "python-mpegdash"; rev = version; hash = "sha256-eKtJ+QzeoMog5X1r1ix9vrmGTi/9KzdJiu80vrTX14I="; }; nativeBuildInputs = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; disabledTests = [ # requires network access "test_xml2mpd_from_url" ]; pythonImportsCheck = [ "mpegdash" ]; meta = { description = "MPEG-DASH MPD(Media Presentation Description) Parser"; homepage = "https://github.com/sangwonl/python-mpegdash"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ drawbu ]; }; }
pkgs/development/python-modules/tidalapi/default.nix +21 −18 Original line number Diff line number Diff line { lib , stdenv , buildPythonPackage , fetchPypi , python-dateutil , poetry-core , requests { lib, buildPythonPackage, fetchPypi, python-dateutil, poetry-core, requests, isodate, ratelimit, typing-extensions, mpegdash, }: buildPythonPackage rec { pname = "tidalapi"; version = "0.7.6"; format = "pyproject"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-X6U34T1sM4P+JFpOfcI7CmULcGZ4SCXwP2fFHKi1cWE="; }; nativeBuildInputs = [ poetry-core ]; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ requests python-dateutil mpegdash isodate ratelimit typing-extensions ]; doCheck = false; # tests require internet access pythonImportsCheck = [ "tidalapi" ]; pythonImportsCheck = [ "tidalapi" ]; meta = with lib; { meta = { changelog = "https://github.com/tamland/python-tidal/releases/tag/v${version}"; description = "Unofficial Python API for TIDAL music streaming service"; homepage = "https://github.com/tamland/python-tidal"; license = licenses.gpl3; maintainers = [ ]; license = lib.licenses.gpl3; maintainers = with lib.maintainers; [ drawbu ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -7693,6 +7693,8 @@ self: super: with self; { mpd2 = callPackage ../development/python-modules/mpd2 { }; mpegdash = callPackage ../development/python-modules/mpegdash { }; mpi4py = callPackage ../development/python-modules/mpi4py { }; mpldatacursor = callPackage ../development/python-modules/mpldatacursor { }; Loading