diff options
author | Massimo Redaelli <massimo@typish.io> | 2022-01-16 14:54:12 +0100 |
---|---|---|
committer | Massimo Redaelli <massimo@typish.io> | 2022-01-16 17:22:00 +0100 |
commit | a1ed2b8400f043effcaeeebb6c1a2065c8e09372 (patch) | |
tree | 3ecc7ee391029c8ec8d5c67e57e5015979e38900 | |
parent | 6a7da24a485051fb3286bc778b93533b7c015bfa (diff) |
kodi.packages.arrow: init at 1.0.3.1
-rw-r--r-- | pkgs/applications/video/kodi/addons/arrow/default.nix | 30 | ||||
-rw-r--r-- | pkgs/top-level/kodi-packages.nix | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/arrow/default.nix b/pkgs/applications/video/kodi/addons/arrow/default.nix new file mode 100644 index 0000000000000..bca61e902eb74 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/arrow/default.nix @@ -0,0 +1,30 @@ +{ lib, buildKodiAddon, fetchzip, addonUpdateScript, dateutil, typing_extensions }: +buildKodiAddon rec { + pname = "arrow"; + namespace = "script.module.arrow"; + version = "1.0.3.1"; + + src = fetchzip { + url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; + sha256 = "0xa16sb2hls59l4gsg1xwb1qbkhcvbykq02l05n5rcm0alg80l3l"; + }; + + propagatedBuildInputs = [ + dateutil + typing_extensions + ]; + + passthru = { + pythonPath = "lib"; + updateScript = addonUpdateScript { + attrPath = "kodi.packages.arrow"; + }; + }; + + meta = with lib; { + homepage = "https://github.com/razzeee/script.module.arrow"; + description = "Better dates & times for Python"; + license = licenses.asl20; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/top-level/kodi-packages.nix b/pkgs/top-level/kodi-packages.nix index 3dad14e2f0470..90f12a65538a8 100644 --- a/pkgs/top-level/kodi-packages.nix +++ b/pkgs/top-level/kodi-packages.nix @@ -166,4 +166,5 @@ let self = rec { typing_extensions = callPackage ../applications/video/kodi/addons/typing_extensions { }; + arrow = callPackage ../applications/video/kodi/addons/arrow { }; }; in self |