diff options
| author | 2026-01-10 01:04:48 +0000 | |
|---|---|---|
| committer | 2026-01-10 01:04:48 +0000 | |
| commit | c57ce3c8e69a301f67f105641d26b3cf9b4bb9e3 (patch) | |
| tree | 1d4036ae7476dc84ce367c3567501be22c9a974c /pkgs/pywikibot-scripts | |
| parent | pkgs: i don't need inherit (diff) | |
pkgs: move pywikibot to it's own pywikibotPackages
Diffstat (limited to 'pkgs/pywikibot-scripts')
| -rw-r--r-- | pkgs/pywikibot-scripts/default.nix | 40 | ||||
| -rw-r--r-- | pkgs/pywikibot-scripts/setup.py | 19 |
2 files changed, 0 insertions, 59 deletions
diff --git a/pkgs/pywikibot-scripts/default.nix b/pkgs/pywikibot-scripts/default.nix deleted file mode 100644 index 1d12d42..0000000 --- a/pkgs/pywikibot-scripts/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - fetchgit, - python3, - python3Packages, - stdenv, -}: - -python3Packages.buildPythonPackage rec { - pname = "scripts"; - version = "10.7.0"; - pyproject = true; - build-system = [ python3Packages.setuptools ]; - - disabled = python3Packages.pythonOlder "3.8"; - - src = fetchgit { - url = "https://gerrit.wikimedia.org/r/pywikibot/core"; - rev = "f1b4b4d0cfbc199c36fb72570425328daa93b067"; - fetchSubmodules = true; - hash = "sha256-L/Yz9yidpTV7WCqHs2L6lFw/CpQyZ1UNd+NpMLJT0Hs="; - }; - - postPatch = '' - rm pyproject.toml setup.py - cp ${./setup.py} ./setup.py - ''; - - doCheck = false; - - pythonImportsCheck = [ "scripts" "scripts.i18n" ]; - - meta = { - description = "Python MediaWiki bot framework scripts"; - homepage = "https://www.mediawiki.org/wiki/Manual:Pywikibot"; - changelog = "https://doc.wikimedia.org/pywikibot/master/changelog.html"; - license = lib.licenses.mit; - #maintainers = with lib.maintainers; [ ]; - }; -} diff --git a/pkgs/pywikibot-scripts/setup.py b/pkgs/pywikibot-scripts/setup.py deleted file mode 100644 index b37eb2e..0000000 --- a/pkgs/pywikibot-scripts/setup.py +++ /dev/null @@ -1,19 +0,0 @@ -from setuptools import setup - -setup(**{ - 'name': 'scripts', - 'version': '0.0.0', - 'description': 'Scripts from pywikibot', - 'long_description': None, - 'author': None, - 'author_email': None, - 'maintainer': None, - 'maintainer_email': None, - 'url': None, - 'packages': ['scripts', 'scripts.i18n'], - 'package_data': {'': ['*'], 'scripts.i18n': ['*.json', '*/*.json']}, - 'install_requires': [], - 'entry_points': {}, - 'python_requires': '', - 'include_package_data': True, -}) |
