mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
31 lines
714 B
Nix
31 lines
714 B
Nix
{
|
|
lib,
|
|
rel,
|
|
buildKodiAddon,
|
|
fetchzip,
|
|
addonUpdateScript,
|
|
}:
|
|
buildKodiAddon rec {
|
|
pname = "myconnpy";
|
|
namespace = "script.module.myconnpy";
|
|
version = "8.0.33";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "sha256-NlLMq9RAdWu8rVsMc0FDe1HmQiVp5T7iBXbIH7HB5bI=";
|
|
};
|
|
|
|
passthru = {
|
|
pythonPath = "lib";
|
|
updateScript = addonUpdateScript {
|
|
attrPath = "kodi.packages.myconnpy";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "http://dev.mysql.com/doc/connector-python/en/index.html";
|
|
description = "MySQL Connector/Python";
|
|
license = licenses.gpl2Only;
|
|
teams = [ teams.kodi ];
|
|
};
|
|
}
|