mini-calc: 3.3.3 -> 3.3.5 (#372274)
[NixPkgs.git] / pkgs / applications / video / kodi / addons / arrow / default.nix
blob16c736aab009ff8a9e8f5f739bb4f0819cc4e75f
2   lib,
3   rel,
4   buildKodiAddon,
5   fetchzip,
6   addonUpdateScript,
7   dateutil,
8   typing_extensions,
9 }:
10 buildKodiAddon rec {
11   pname = "arrow";
12   namespace = "script.module.arrow";
13   version = "1.2.3";
15   src = fetchzip {
16     url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/script.module.arrow/script.module.arrow-${version}.zip";
17     sha256 = "sha256-Et+9FJT1dRE1dFOrAQ70HJJcfylyLsiyay9wPJcSOXs=";
18   };
20   propagatedBuildInputs = [
21     dateutil
22     typing_extensions
23   ];
25   passthru = {
26     pythonPath = "lib";
27     updateScript = addonUpdateScript {
28       attrPath = "kodi.packages.arrow";
29     };
30   };
32   meta = with lib; {
33     homepage = "https://github.com/razzeee/script.module.arrow";
34     description = "Better dates & times for Python";
35     license = licenses.asl20;
36     maintainers = teams.kodi.members;
37   };